Protected
Sub RadColorPicker1_ColorChanged(ByVal sender As Object, ByVal e As System.EventArgs)
Dim Convertidor As New System.Drawing.ColorConverter
Dim ColorPick As Telerik.Web.UI.RadColorPicker = DetailsView1.FindControl("RadColorPicker1")
Dim txtSchedColor As TextBox = DetailsView1.FindControl("TextBox9")
txtSchedColor.Text = Convertidor.ConvertToString(ColorPick.SelectedColor)
End Sub
I reference this sub in the source with OnColorChange
What am I doing wrong?
Thanks
List
<DateTime> selectedDateList = new List<DateTime>();
/*Retrieving from RadCalender Selected Dates and saving to Database*/
for (int i = 0; i <RadCalendar1.SelectedDates.Count; i++)
{
selectedDateList[i].Date= RadCalendar1.SelectedDates[i].Date; // Getting error at this statement saying "Index was out of range. Must be non-negative and less than the size of the collection."
Saveto DataBase(selectedDateList);
}
/*Retrieving Data from Sql and loading into RadCalender*/
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{
RadCalendar1.SelectedDates[i].Date =
Convert.ToDateTime(ds.Tables[0].Rows[i]["START_DATE"]); // Getting error at this statement saying "Index was out of range. Must be non-negative and less than the size of the collection."
}
Can anybody check and send me the solution please ASAP.
Dim
sScript As String = "<script for='window' event='onload' type=""text/javascript"">"
sScript +=
" var oWnd = window.radopen(""WFTaskTrack.aspx"", ""RadWindow1"");"
sScript +=
" oWnd.Minimize(); "
'sScript += " var w = oWnd.ClassicWindow; "
'sScript += " w.minimize();" 'moveTo(parseInt(oWnd.Left), parseInt(oWnd.Top));"
sScript +=
"</Script>"
Page.ClientScript.RegisterClientScriptBlock(
Me.GetType, "", sScript)
The design time setting are as follows
<radW:RadWindowManager ID="RadWindowManager1" Width="850px" Height="205px" runat="server">
<windows>
<radW:RadWindow NavigateUrl="WFTaskTrack.aspx" Top="20px" Left="100px" Runat="server" Id="Radwindow1">
</radW:RadWindow>
</windows>
</radW:RadWindowManager>
I keep changing the "Top" and "Left" properties to different values and then run the application. But the Radwindow always appears on the same position. which is the initial setting position.
Thanks
Madhu
Thanks in advance
Bhavani A
im using the radwindowmanager to show a dialog and when the dialog shows up, it sits behind a flash object on the calling page. in the dialog, there is a radtabstrip and this shows above the flash fine. i added the following with no luck:
<
telerik:RadWindowManager ID="RadWindowManager1" runat="server" Skin="Vista" Width="600px" Height="400px" CssClass="modal" Modal="true">
-- in my style sheet
.modal
{
z-index:7000;
}
Hi,
Is there anyway I can hide/disable some toolbar options? like inserting flash, print, font styles or any other thing?
Also is there anyway I can add custom options to the tool bar? like a dropdown list whose value can be dragged into the editor.
One more thing, the editor doesn't seem to work with treeview when using the drag and drop, is there anyway this can be done?
Thanks
Atiq
