<AdvancedEditTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedEditForm1" Mode="Edit" Subject='<%# Bind("Subject") %>' Description='<%# Bind("Description") %>' Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' AllUsers='<%# Bind("AllUsers") %>'/> </AdvancedEditTemplate> <AdvancedInsertTemplate> <scheduler:AdvancedForm runat="server" ID="AdvancedInsertForm1" Mode="Insert" Subject='<%# Bind("Subject") %>' Start='<%# Bind("Start") %>' End='<%# Bind("End") %>' Description='<%# Bind("Description") %>' AllUsers='<%# Bind("AllUsers") %>' /> </AdvancedInsertTemplate>[Bindable(BindableSupport.Yes, BindingDirection.TwoWay)] public bool AllUsers { get { return cboxAllUsers.Checked; } set { cboxAllUsers.Checked = value; } }
Type 'Telerik.Web.UI.GridPagerStyle' does not have a public property named 'PageSizeControlType'.
Content ('</PagerStyle>') does not match any properties within a 'Telerik.Web.UI.GridTableView', make sure it is well-formed.
<PagerStyle PageSizeControlType="RadComboBox"></PagerStyle><telerik:RadGrid runat="server" ID="radProductsGrid" Skin="Default" AllowSorting="true" AllowPaging="true"
OnSortCommand="radProductsGrid_SortCommand" OnNeedDataSource="radProductsGrid_NeedDataSource" AutoGenerateColumns= "false" GridLines="None" ShowGroupPanel="false" PageSize="100"> <MasterTableView Width="100%" AllowMultiColumnSorting="false" AllowNaturalSort="false" AllowCustomSorting="true" AllowSorting="true" AutoGenerateColumns="false"> <Columns> <telerik:GridBoundColumn ReadOnly="true" AllowFiltering="true" SortExpression="ItemNumber" DataField="ItemNumber" HeaderText="Item Number" UniqueName="ItemNumber"> </telerik:GridBoundColumn> <telerik:GridBoundColumn ReadOnly="true" AllowFiltering="true" SortExpression="ProductName" DataField="ProductName" HeaderText="Product Name" UniqueName="ProductName"> </telerik:GridBoundColumn> <telerik:GridBoundColumn ReadOnly="true" AllowFiltering="true" SortExpression="CategoryName" DataField="CategoryName" HeaderText="Category Name" UniqueName="CategoryName"> </telerik:GridBoundColumn> </Columns> </MasterTableView></telerik:RadGrid>protected void radProductsGrid_SortCommand(object sender, GridSortCommandEventArgs e) { GridTableView tableView = e.Item.OwnerTableView; if (e.SortExpression == "ItemNumber") { e.Canceled = true; GridSortExpression expression = new GridSortExpression(); expression.FieldName = "ItemNumber"; if (tableView.SortExpressions.Count == 0 || tableView.SortExpressions[0].FieldName
!= "ItemNumber") { expression.SortOrder = GridSortOrder.Descending; } else if (tableView.SortExpressions[0].SortOrder == GridSortOrder.Descending) { expression.SortOrder = GridSortOrder.Ascending; } else if (tableView.SortExpressions[0].SortOrder == GridSortOrder.Ascending) { expression.SortOrder = GridSortOrder.None; } tableView.SortExpressions.AddSortExpression(expression); tableView.Rebind(); } }
Some countries use the Daylight saving time (DST) /summer time/ which is the practice of advancing or adjusting backward clocks one hour near the start of a temperate mid-season (spring or autumn). Unfortunately, this adjusting is error-prone to software components and leads to unwanted behavior when using a RadDatePicker.
For instance, let’s assume that you have a web site for renting out various halls or principal rooms for meetings and social affairs, and you use a RadDatePicker to schedule the event date. I am a user from Brazil and with meu amor decided our wedding date to be on October the 20th. However, every time I select this date, the picker re-selects it to be the 19th. I contact you, the web administrator, and ask you “Does destiny want to prevent me from making a big mistake or is this a bug? What is happening, amigo?”
Here is the explanation:
Most probably, I have a Brazilian culture set on my computer:

As noticed in the image, the clocks will be advanced by 1 hour on that date. And since the RadDatePicker takes the zero hour by default, it is actually still on the previous day, because the 20th starts at 01:00 o’clock. To work around this issue, you can use the client side events of the picker:
<telerik:RadDatePicker ID="RadDatePicker1" runat="server"> <DateInput runat="server"> <ClientEvents OnValueChanging="valueChanging" OnValueChanged="valueChanged" /> </DateInput></telerik:RadDatePicker>var selectedValue = null;var isDST = false;function valueChanging(sender, args) { if (isDST) { args.set_newValue(selectedValue + " 01:00 AM"); isDST = false; } selectedValue = args.get_newValue();}function valueChanged(sender, args) { if (selectedValue) { if (selectedValue.indexOf(args.get_newValue()) < 0) { isDST = true; sender.get_owner().set_selectedDate(); // used only to trigger selecting event } }}<telerik:GridBoundColumn UniqueName="FULLNAME" CurrentFilterFunction="Contains" ShowFilterIcon="false" AutoPostBackOnFilter="true" />protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e){ if (e.Item is GridFilteringItem) { GridFilteringItem filterItem = (GridFilteringItem )e.Item; (filterItem["FULLNAME"].Controls[0] as TextBox).Attributes.Add("onchange", "CharacterCheck(this, event)"); }}function CharacterCheck(text, e) { text.value = text.value.replace(/[^0-9a-zA-Z]/gi, '');}