New to Telerik UI for ASP.NET AJAXStart a free 30-day trial

Scroll RadGrid to Specific item

The example below shows how you can scroll RadGrid to show a specific item first.

All the user needs to do is enter an ID in the numeric input and click the Button.

ASP.NET
<telerik:RadNumericTextBox RenderMode="Lightweight" runat="server" ID="ActiveItemID" MinValue="0" MaxValue="50" NumberFormat-DecimalDigits="0" />
<asp:Button ID="Button1" Text="Go To Item" runat="server" OnClientClick="clientClick(); return false;" />

<telerik:RadGrid RenderMode="Lightweight" runat="server" ID="RadGrid1" OnNeedDataSource="RadGrid1_NeedDataSource" MasterTableView-ClientDataKeyNames="ID">
    <ClientSettings>
        <Scrolling AllowScroll="true" ScrollHeight="300px" UseStaticHeaders="true" />
    </ClientSettings>
</telerik:RadGrid>
Not finding the help you need?
Contact Support