New to Telerik UI for ASP.NET AJAX? Download free 30-day trial


Returns HTML table which represents the respective table for the GridTableView object rendered on the client. Can be used in cases when the DOM element of the object is required.

<telerik:RadGrid RenderMode="Lightweight" ID="RadGrid1" runat="server" AllowPaging="True"
    <MasterTableView DataKeyNames="OrderID" CommandItemDisplay="Top">
            <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox>
            <telerik:RadTextBox RenderMode="Lightweight" ID="RadTextBox1" runat="server"></telerik:RadTextBox>
<br />
<asp:Button ID="Button1" runat="server" Text="Click"
    OnClientClick="buttonClick(); return false;" />
function buttonClick() {
    var grid = $find('<%= RadGrid1.ClientID %>');
    var masterTableView = grid.get_masterTableView();

    var tableEl = masterTableView.get_element();

    var textBox = $telerik.findElement(tableEl, "TextBox1");
    textBox.value = "Success";

    var radTextBox = $telerik.findControl(tableEl, "RadTextBox1");
In this article