.RadGrid_Office2007
.rgHeader,
.RadGrid_Office2007
th.rgResizeCol
{
border:solid #5d8cc9;
border-width:0 0 0 0;
background:0 -1900px repeat-x url('/Images/Telerik/Office2007/Grid/sprite.gif');
}

Hi.
I want to know if exist a simple way to add a custom check box field to a RadScheduler in the creating/editing form.
I know the option to use an Advanced Template, but I only want to add a checkbox and use the rest of the standard mechanism to create/edit Appointment, using "custom field" an "resources".
Finally that I want is have a check box to decide if show or hide the "More Details" area, where I have resource's combos and custom field's texbox.
In other words I want to have the same way of works taht exist to show/hide the recurrence area, but with the "More Details" area.
Is posible to doit in a simple way? How can I do it?
Thanks
Regards
Daniel
| RadEditor htmlEditor = new RadEditor(); |
| htmlEditor.ExternalDialogsPath = "~/EditorDialogs/"; |
| htmlEditor.ToolsFile = "~/EditorDialogs/ToolsDefault.xml"; |
| htmlEditor.CssFiles.Add("~/EditorDialogs/Test.css"); |
| this.form1.Controls.Add(htmlEditor); |
| function resetInkColor() { |
| var colorPicker = $find('<%= rcpInkColor.ClientID%>'); |
| colorPicker.set_preset="Default"; colorPicker.set_preset("Default"); |
| } |
| function nodeClicking(sender, args) |
| { |
| var comboBox = $find("<%= RadComboBox1.ClientID %>"); |
| var node = args.get_node() |
| comboBox.set_text(node.get_text()); |
| comboBox.trackChanges(); |
| comboBox.get_items().getItem(0).set_value(node.get_text()); |
| comboBox.commitChanges(); |
| comboBox.hideDropDown(); |
| } |
<
asp:DropDownList ID="ddlSite" runat="server" AutoPostBack="true" SelectedIndexChanged="UpdateLocation"></asp:DropDownList>
On ther server I get the UpdateLocation event
| Protected Sub UpdateLocation(ByVal sender As Object, ByVal e As System.EventArgs) |
| Dim ddlLocation As DropDownList = DirectCast(FindControl("ddlLocation"), DropDownList) |
| Dim mw As New CoreData |
| Dim mw_dt As DataTable = mw.LocationByParent(sender.selectedvalue) |
| If mw_dt.Rows.Count > 0 Then |
| With ddlLocation |
| .Items.Add(New ListItem("", 0)) |
| .DataSource = mw_dt |
| .DataValueField = "LocationId" |
| .DataTextField = "LocationName" |
| End With |
| End If |
| End Sub |
Dim editedItem As GridEditableItem = CType(CType(sender, DropDownList).NamingContainer, GridEditableItem)
Dim ddlLocationt As DropDownList = CType(editedItem("ddlLocation").Controls(0), DropDownList)
How do I get a handle on the second DropdownList?
Andy