<%@ Control Language="C#" AutoEventWireup="true" CodeFile="WebUserControl.ascx.cs"
    Inherits="WebUserControl" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" OnItemDataBound="OnItemDataBound"
    OnNeedDataSource="OnNeedDAtaSource">
    <MasterTableView CommandItemDisplay="Top">
        <Columns>
            <telerik:GridTemplateColumn HeaderText="name">
                <ItemTemplate>
                    <asp:Label ID="lValue" Text='<%# Eval("Name") %>' runat="server"></asp:Label>
                </ItemTemplate>
            </telerik:GridTemplateColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
<asp:Button ID="Button2" runat="server" Text="Rebind from user control" OnClick="Button2_Click" />
