<%@ Control Language="C#" AutoEventWireup="true" CodeFile="GridUC.ascx.cs" Inherits="GridUC" %>

<%@ Register Assembly="Telerik.Web.UI"  Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
        <telerik:RadGrid ID="RadGrid1" runat="server" AllowSorting="true" 
        OnItemDataBound="RadGrid1_ItemDataBound" OnNeedDataSource="RadGrid1_NeedDataSource">
        </telerik:RadGrid>
        <asp:Button ID="Button1" runat="server" Text="Rebind" OnClick="Button1_Click" />
        <asp:Button ID="Button2" runat="server" Text="PostBack"/>