Ver Mensaje Individual
  #10 (permalink)  
Antiguo 15/07/2011, 10:57
mrprogman
 
Fecha de Ingreso: junio-2011
Mensajes: 329
Antigüedad: 13 años, 4 meses
Puntos: 2
Respuesta: Refrescar pagina al cambiar dropdown

Negativo.............este es el codigo del load....pregunta..tengo q meter el ddl en el load.?..me parece q si no..?

If Not Page.IsPostBack Then
Image1.Visible = False
Image2.Visible = False
'DropDownList10.Text = Format(DropDownList8.Text + DropDownList4.Text, "currency")
'Dim tempfechas As Date
'tempfechas = CDate(ASPxDateEdit1.Value).AddMonths(1)
'TextBox1.Text = CDate(tempfechas.AddDays( _
'Date.DaysInMonth(tempfechas.Year, tempfechas.Month) - _
'tempfechas.Day)).ToShortDateString
Dim NextTime As Date = Now
NextTime = NextTime.AddDays(-1)
ASPxDateEdit2.Date = NextTime

'----------------------Funciones de Fecha
Dim d As Single
'Single(d = DateTime.Today().Day)
Response.Write(d)

DateTime.DaysInMonth(2008, 2).ToString()

Dim daysLeftInMonth As TimeSpan = ASPxDateEdit2.Value.Subtract(ASPxDateEdit1.Value)
Dim x As Double
Me.TextBox61.Text = daysLeftInMonth.Days.ToString + 1

Dim iDiaMes As DateTime = CDate(ASPxDateEdit1.Text)
Dim daysinmonth As Integer = DateTime.DaysInMonth(iDiaMes.Year, iDiaMes.Month)
TextBox65.Text = daysinmonth

TextBox60.Text = (TextBox65.Text - TextBox61.Text)
End If