This is a migrated thread and some comments may be shown as answers.

RadGrid UI Problem!!!

2 Answers 78 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Nahid
Top achievements
Rank 1
Nahid asked on 16 May 2011, 02:22 PM
Hello, I am developing a web application with asp.net and Telerik RadAjax control. I found a problem.That is RadGrid UI is not load correctly. The grid is show the image bellow. How can i solve this type of error.


#NB: This Grid Code is Copy from other Page.


Thanks
Nahid

2 Answers, 1 is accepted

Sort by
0
Accepted
Princy
Top achievements
Rank 2
answered on 16 May 2011, 03:14 PM
Hello Nahid,

I suppose you have some global CSS styles which may override the default style of the RadGrid. Here is the sample page that I tried. Try the same as a separate page.Hope this will work as expected.
aspx:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="groupBy.aspx.cs" Inherits="Grid_groupBy" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <telerik:RadGrid ID="rad" runat="server" Width="600px" HorizontalAlign="NotSet" DataSourceID="SqlDataSource1"
           Skin="Sunset" AutoGenerateColumns="true" >
            <MasterTableView>
            <Columns>
             </Columns>
            </MasterTableView>
        </telerik:RadGrid>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString2 %>"
            SelectCommand="SELECT  * FROM [Employees]"></asp:SqlDataSource>
    </div>
    </form>
</body>
</html>

Thanks,
Princy.
0
Nahid
Top achievements
Rank 1
answered on 19 May 2011, 06:28 AM
Hello Princy,
Thanks for reply. Its May be CSS Problem. I clean the all unused css from the page and Its works fine.


Thanks
Nahid
Tags
Grid
Asked by
Nahid
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Nahid
Top achievements
Rank 1
Share this question
or