MasterTableView.HierarchyLoadMode = GridChildLoadMode.Client;MasterTableView.HierarchyDefaultExpanded = false;MasterTableView.SelfHierarchySettings.KeyName = "xxx";MasterTableView.SelfHierarchySettings.ParentKeyName = "yyy";ClientSettings.AllowExpandCollapse = true;ClientSettings.AllowColumnsReorder = false;ClientSettings.ReorderColumnsOnClient = true;| Source | Telerik.Web.UI |
| Function | Telerik.Web.UI.GridDataItem get_Item(System.String) |
| Stack | Telerik.Web.UI.GridDataItemCollection.get_Item(String
hierarchicalIndex) Telerik.Web.UI.RadGrid.LoadClientState(Dictionary`2 clientState) System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) |
| myGrid_ClientState | {"selectedIndexes":[],"reorderedColumns":[],"expandedItems":["1","1","0","0","1","1","0","0","1","1","0","0","0:0_10","0"],"expandedGroupItems":[],"expandedFilterItems":[],"deletedItems":[],"hidedColumns":[],"showedColumns":[],"popUpLocations":{},"draggedItemsIndexes":[]} |
protected override bool LoadClientState(Dictionary<string, object> clientState) { if (clientState.ContainsKey("expandedItems")) clientState["expandedItems"] = new object[] { }; return base.LoadClientState(clientState); }
I use radajax to my page. When button click everything working fine. But when enter key press raise follwing error
Unhandled exception at line 19979, column 1 in http://localhost:39853/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=;;System.Web.Extensions,+Version=4.0.0.0,+Culture=neutral,+PublicKeyToken=31bf3856ad364e35:en-US:4ae4914f-8c8e-4123-9d05-414d87b48357:ea597d4b:b25378d2;Telerik.Web.UI:en-US:42f3bd03-686e-4514-94d4-9dc03944a160:16e4e7cd:f7645509:86526ba7:7c926187:8674cba1:b7778d6c:c08e9f8a:59462f1:a51ee93e:24ee1bba:f46195d3:1e771326:6b3f73b3:78b9daca:7165f74:58366029:2003d0b8:aa288e2d:ed16cbdc0x800a138f -
JavaScript runtime error: Unable to get property 'id' of undefined or null reference
I'd like to configure RadGrid as follows:
- if there are no records to display, the grid should display only the header-row and maybe "no records to display" . Consuming no other space.
-if there are records to display, just show all records.
No fixed heiht, no paging.
Is this possible with RadGrid ??
Thanks for any help.

<telerik:RadComboBox ID="cmbNotificationUsers" runat="server" CheckBoxes="true" EnableCheckAllItemsCheckBox="true" Width="100%" OnClientItemsRequesting="OnClientItemsRequestingForUser" EmptyMessage="Select" MarkFirstMatch="true" EnableLoadOnDemand="true"> <WebServiceSettings Path="../../WebServices/ControlObjects/ComboBoxes.asmx" Method="GetUsersByCompany" /> </telerik:RadComboBox>foreach (Telerik.Web.UI.RadComboBoxItem item in cmbNotificationUsers.CheckedItems) { messageUsers.Add(item.Value); }
We are using Telerik Grid control in our application.
The Grid is getting constructed dynamically, i.e the columns to be shown in the grid is dynamic so we have created custom ItemTemplate and CustomFilterTemplate to implement this.
We have also implemented Column filtering in the Grid with combo box option.
Now, we need to make the filtering to have multiselect option. i.e. the Filter dropdown will show check box items so that user can choose multiple items to filter the Grid.
Could you please assist in this regard.
Attached file contains the screen shot of what we are trying to achieve.
Appreciate your assitance here.
