I've got one page with four grids, wrapped in a user control. The client side filtering has been tough because the javascript methods I had were stepping on each other. The rest of it works, I just can't get the filter value typed in the textbox when they click on the filter icon. In the code below I've got the code to target the correct grid, I just need to get the filter value. tableView.get_filterExpressions(); is coming up dry.
Telerik.Web.UI.dll = 2017.3.913.45
<telerik:GridBoundColumn DataField="COMPM_ADDRESS" FilterControlAltText="Filter Name column" AutoPostBackOnFilter="true" HeaderText="ADDRESS" SortExpression="COMPM_ADDRESS " UniqueName="COMPM_ADDRESS" AllowFiltering="true"> <ItemStyle HorizontalAlign="Left" Width="130px" /> <HeaderStyle HorizontalAlign="Left" Width="130px" /> <FilterTemplate> <telerik:RadTextBox ID="txtFilterCompAddress" runat="server" Width="100px" onkeyup="CompAddressOnKeyUp(this, event)" Text='<%# Container.OwnerTableView.GetColumn("COMPM_ADDRESS").CurrentFilterValue %>'> <ClientEvents OnKeyPress="CompAddressKeyPress" /> </telerik:RadTextBox> <asp:ImageButton ImageUrl="/images/filter2.png" runat="server" ID="ImageButton1" Value="<%#((GridItem)Container).OwnerTableView.ClientID%>" OnClientClick="ApplyFilterIcon(this); return false;" /> <telerik:RadScriptBlock ID="radScriptAddress" runat="server"> <script type="text/javascript"> var _columnNameAddress = "COMPM_ADDRESS"; // filter icon clicked function ApplyFilterIcon(sender) { var masterTableId = $(sender).attr('Value'); var tableView = $find(masterTableId); debugger; var filters = tableView.get_filterExpressions(); // EMPTY var filterValue = "553"; // <<< I NEED THIS VALUE, WHAT THEY TYPED IN TEXTBOX tableView.filter(_columnNameAddress, filterValue, Telerik.Web.UI.GridFilterFunction.Contains, true); } // just checks for an empty filter textbox on backspace and return to clear the filter function CompAddressOnKeyUp(sender, evt) { onKeyUpFilterGridClear(sender, evt, "<%#((GridItem)Container).OwnerTableView.ClientID%>", _columnNameAddress); } // on a keypress; check for return to fire the filter function CompAddressKeyPress(sender, evt) { onKeyPressReturnTrigger(sender, evt, "<%#((GridItem)Container).OwnerTableView.ClientID%>", _columnNameAddress); } </script> </telerik:RadScriptBlock> </FilterTemplate></telerik:GridBoundColumn>Dear All,
i have created Telerik Hierarchy Rad Gridview.
>> first level Employee Name
>> second level Employee Role
>> third level Employee Designation
but i am using single table. EmployeeMaster(only one table)
i want out put:
Employee Name
(expand) Employee role
(expand) Employee Designation



<asp:Panel ID="pagerContainer" CssClass="pagercontainer" runat="server"> <table border="0" width="100%" cellpadding="2" cellspacing="2"> <tr> <td valign="middle" width="105px" nowrap="nowrap"> <asp:Panel ID="LeftContainer" runat="server" CssClass="pagerCommand"> <asp:ImageButton AlternateText="First Page" CommandName="First" ID="firstPageButton" ImageAlign="AbsMiddle" ImageUrl="~/Images/first.gif" runat="server" ToolTip="First Page" /> <asp:ImageButton AlternateText="Previous Page" CommandName="Previous" ID="previousPageButton" ImageAlign="AbsMiddle" ImageUrl="~/Images/prev.gif" runat="server" ToolTip="Previous Page" /> </asp:Panel> </td> <td valign="middle" width="175px"> <asp:Panel ID="sliderPanel" CssClass="pagerCommand" runat="server"> <telerik:RadSlider ID="slider" runat="server" AnimationDuration="0" Orientation="Horizontal" EnableViewState="true" SmallChange="1" ShowDecreaseHandle="false" ShowIncreaseHandle="false" Width="175px" Skin="Web20" AutoPostBack="true" EnableEmbeddedSkins="true"> </telerik:RadSlider> </asp:Panel> </td> <td valign="middle" width="105px"> <asp:Panel ID="rightContainer" runat="server" CssClass="pagerCommand"> <asp:ImageButton AlternateText="Next Page" CommandName="Next" ID="nextPageButton" ImageAlign="AbsMiddle" ImageUrl="~/Images/next.gif" runat="server" ToolTip="Next Page" /> <asp:ImageButton AlternateText="Last Page" CommandName="Last" ID="lastPageButton" ImageAlign="AbsMiddle" ImageUrl="~/Images/last.gif" runat="server" ToolTip="Last Page" /> </asp:Panel> </td> <td align="right"> <asp:Label ID="positionLabel" runat="server" CssClass="pagerinfo" /> </td> </tr> </table><asp:HiddenField ID="SliderHiddenField" runat="server" /></asp:Panel>
Hello,
I have a question regarding paging in RadGrid when the grid is already filtered.
I am using NeedDataSource event for binding the grid.
My datasource query is rather slow so I implemented custom paging and it is working fast as expected when paging the RadGrid when no filter is active.
But when I filter the RadGrid, the paging is very slow. Changing the page number lasts like when the grid is fetching the data when filtering.
I understand that the process of filtering cannot be faster because of my datasource query, but is there a way that I can make paging faster when my grid is filtered?
Thank You for your help.

<asp:Repeater ID="rptSection" runat="server" ClientIDMode="AutoID"> <ItemTemplate> <details> <summary> <h4>Title section</h4> <div> <asp:repeater id=rptGrpRubrique... ... <telerik:RadNumericTextBox ID="rnt" ClientIDMode="AutoID" ...<telerik:AjaxSetting AjaxControlID="GlobalPanel"> <UpdatedControls> <telerik:AjaxUpdatedControl ControlID="GlobalPanel" /> </UpdatedControls></telerik:AjaxSetting>Dim ctrl As New Telerik.Web.UI.AjaxUpdatedControlctrl.ControlID = radTextBox.ID'ctrl.ControlID = radTextBox.UniqueID'ctrl.ControlID = radTextBox.ClientIDram.AjaxSettings.Item(0).UpdatedControls.Add(ctrl)
i've got no solution since many days...
Thanks for your help.


Hello Telerik,
I have created a sample project with a RadListBox and a button.
When the page loads, the list is populated using some query from the Northwind database.
After scrolling the list at a random item, and pressing the button to reload the list,
I would like to position the list at the top, not at an arbitrary place in the list.
This functionality should not depend if I have and item selected or not in the list.
Thanks,
Alex
