Dim i As Integer
For i = 23 To 25
Dim NewDay As New Telerik.Web.UI.RadCalendarDay(RadCalendar1)
NewDay.Date =
New DateTime(2009, 7, i)
RadCalendar1.RangeMinDate = DateTime.Now
RadCalendar1.SpecialDays.Add(NewDay)
RadCalendar1.SpecialDays(NewDay).IsSelectable =
True
RadCalendar1.SpecialDays(NewDay).IsSelected =
True
RadCalendar1.SpecialDays(NewDay).ItemStyle.BackColor = Drawing.Color.Red
Next
When I do this, the calendar actually highlights the special days in red. But for some reason the IsSelected=True property is ignored. I do however think that the days are selected because when I run the mouse over them they change color to the mouse-over color. However, when I submit the calendar, NO DATES are coming up in my list of selected dates. I have to physically click each day myself and then submit before they come up.
How would I automatically select several dates and highlight them in the radcalendar and then allow the user to de-select or select more dates. I then want to a) clear all previously stored special days in the database and b) post all selected dates to the database table.
Thanks
D.
Paso 1
- Desinstalar el Q1 2009
- Eliminar la carpeta de RadControls for ASP.NET AJAX Q1 2009 dentro de C:\Program Files\Telerik\RadControls for ASP.NET AJAX Q1 2009
- Eliminar en el Regedit la carpeta de Telerik / RadControls for ASP.NET AJAX Q1 2009 dentro de Equipo/HKEY_LOCAL_MACHINE/SOFTWARE/TELERIK/RadControlsForASPNETAJAX
Paso 2
- Instalar el RadControls for ASP.NET AJAX Q2 2009.
- Abrir el Visual Studio en mi caso 2005
- Abrir un Proyecto que tengas componentes de Telerik
- ir a Telerik / RadControls for ASP.NET AJAX -> Upgrade Wizard
- Seleccionas la Versión v.2009.2.701.20 [Installation Folder]
- le das Finish
- Esperas a que se aplique la actualización
- En mi caso reinicie la maquina varias veces para que aplicara los cambios (no se por qué no me Pregunten)
- y tambien el Visual Studio lo abri y cerre varias veces.
Listo!.
Continúa Trabajando

<
asp:ImageButton ID="ImageButton1" runat="server" ImageUrl='http://xyz.com'
Width="128px" Height="128px" Visible='true'
onmouseover="OpenRadWindow(); return false;" onmouseout="CloseRadWindow()" />
<
telerik:RadWindowManager VisibleStatusbar="false"
ID="RadWindowManager1" runat="server" ShowContentDuringLoad="false" Behavior="Close" AutoSize="true" >
<Windows>
<telerik:RadWindow ID="Popup" runat="server" AutoSize="true" Behavior="Close"/>
</Windows>
</
telerik:RadWindowManager>
function
OpenRadWindow(UrlString) {
radopen(UrlString, "Popup");
}
function CloseRadWindow()
{
// Get hold of "Popup" and close it
}
I am facing 2 issues:
- The AutoSize is not working. The size it's taking is, 300 by 300px.
- The "PopUp" is not the same as what's opened. When radopen is called, it's not the "PopUp" that's made visible, instead a different instance is created.
Could you help with these 2 issues?
Thank you.
}