<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default"
    Culture="auto" %>

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Untitled Page</title>
    <style type="text/css">

.RadGrid .rfdRoundedWrapper{width:75%}

    </style>
</head>
<body>
    <form id="form1" runat="server">
        <div>
            <asp:ScriptManager runat="server" ID="ScriptManager1">
            </asp:ScriptManager>
            <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">

                <script type="text/javascript">
                    
              
                        
                </script>

            </telerik:RadCodeBlock>
            
            
            <telerik:RadAjaxManager runat="server" ID="Manager1">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="grdSliderPOC">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="grdSliderPOC" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>
        <h1>  
            POC for Telerik Grid</h1>  
        <h2>  
            Grid with Slider paging</h2>  
        <table cellpadding="0" cellspacing="0" border="0" width="100%">   
            <tr>  
                <td>  
                    <telerik:RadGrid ID="grdSliderPOC" runat="server" Width="100%" AutoGenerateColumns="False"  
                        GridLines="None" AllowSorting="true" AllowPaging="true" PageSize="5" OnNeedDataSource="grdSliderPOC_NeedDataSource1">   
                        <mastertableview>  
                            <Columns>  
                                <telerik:GridBoundColumn UniqueName="DueDate" ReadOnly="True" DataField="DueDate" HeaderText="Due Date">   
                                </telerik:GridBoundColumn>  
                                <telerik:GridBoundColumn UniqueName="Action" ReadOnly="True" DataField="Action" HeaderText="Action">   
                                </telerik:GridBoundColumn>  
                                <telerik:GridBoundColumn UniqueName="Description" ReadOnly="True" DataField="Description"  
                                    HeaderText="Description">   
                                </telerik:GridBoundColumn>  
                                <telerik:GridBoundColumn UniqueName="Customer" ReadOnly="True" DataField="Customer"  
                                    HeaderText="Customer">   
                                </telerik:GridBoundColumn>  
                                <telerik:GridBoundColumn UniqueName="Contact" ReadOnly="True" DataField="Contact" HeaderText="Contact">   
                                </telerik:GridBoundColumn>  
                                <telerik:GridBoundColumn UniqueName="SalesRep" ReadOnly="True" DataField="SalesRep"  
                                    HeaderText="Sales Rep">   
                                </telerik:GridBoundColumn>  
                                <telerik:GridBoundColumn UniqueName="Status" ReadOnly="True" DataField="Status" HeaderText="Status">   
                                </telerik:GridBoundColumn>  
                            </Columns>  
                            <RowIndicatorColumn Visible="False">   
                            </RowIndicatorColumn>  
                            <ExpandCollapseColumn Visible="False">   
                            </ExpandCollapseColumn>  
                        </mastertableview>  
                        <pagerstyle cssclass="pagingControls" mode="Slider" />  
                    </telerik:RadGrid>  
                </td>  
            </tr>  
        </table>  

    </form>
</body>
</html>
