An error has occurred because a control with id 'ctl00$ContentPlaceHolder1$pnlStatesInfo$i0$i0$ctl01$rgClassCode$ctl00$ctl02$ctl00$ctl01' could not be located or a different control is assigned to the same ID after postback. If the ID is not assigned, explicitly set the ID property of controls that raise postback events to avoid this error.<telerik:GridBoundColumn DataField="Data.SubCategoryName" DataType="System.String" UniqueName="SubCategoryName" HeaderText="IMDIS Category" ReadOnly="true" ItemStyle-Width="250" HeaderStyle-HorizontalAlign="Center"> <FilterTemplate> <telerik:RadComboBox ID="RC1" runat="server" DataValueField="SubCategoryName" AppendDataBoundItems="true" DataTextField="SubCategoryName" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("SubCategoryName").CurrentFilterValue %>' OnClientSelectedIndexChanged="categoryIndexChanged" DataSourceID="EntityDataSource1" Width="310"> <Items> <telerik:RadComboBoxItem Text="All" /> </Items> </telerik:RadComboBox> <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server"> <script type="text/javascript"> function categoryIndexChanged(sender, args) { var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>"); tableView.filter("SubCategoryName", args.get_item().get_value(), "EqualTo"); } </script> </telerik:RadScriptBlock> </FilterTemplate> </telerik:GridBoundColumn>protected void RadGrid1_NeedDataSource(object sender, GridNeedDataSourceEventArgs e) { if (!Page.IsPostBack && InitialFilter != null) { RadGrid1.MasterTableView.FilterExpression = "([" + InitialFilter.ColumnName + "])=\"" + InitialFilter.Value + "\") "; GridColumn col = RadGrid1.MasterTableView.GetColumnSafe(InitialFilter.ColumnName); col.CurrentFilterFunction = InitialFilter.Operator; col.CurrentFilterValue = InitialFilter.Value; } RadGrid1.DataSource = DataSource; }public OnLoadFilter InitialFilter { get; set; } public class OnLoadFilter { public string ColumnName { get; set; } public GridKnownFunction Operator { get; set; } public string Value { get; set; } }RadGrid1.MasterTableView.FilterExpression = "([SubCategoryName]=\"Cars\") ";Hi,
I'm on the lookout for a tool that can help me lay out forms in a professional, quick and consistent manner.
This DevExpress tool does what I am looking for here.
Does Telerik have any plans to make something similar for the RadControls?
Anyone know any other tool that does the same?
I have the below code to attempt to ajaxify my grid and subsequent detail panel. It works but the trouble is when I click my "select" link on a row, the style doesn't change to selected row as I have not re-drawn the grid (grid not part of the updated controls list). I do this intentionally because I don't want to reload the entire grid if no data has changed (it is simply a row selection). The grid also has sorting enabled which does not function unless I add the grid to the updated control list. So the question is, how to I retain server sorting control but also allow simple row selection without having to pull the whole grid down again?
Thanks
<AjaxSettings> <telerik:AjaxSetting AjaxControlID="rgMemberList"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="pnlMemberDetail" /> </UpdatedControls> </telerik:AjaxSetting> </AjaxSettings>
