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

Width of radGrid not set in IE8

1 Answer 33 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Imran
Top achievements
Rank 1
Imran asked on 10 Dec 2012, 12:47 PM
When i set width of radgrid and set property AllowScroll="true" so it works Fine in Firefox and Chrome but in IE8 width is not set.
Code is below :

<telerik:RadGrid ID="grdAssetsIn" runat="server" OnLoad="grdAssetsIn_OnLoad" OnNeedDataSource="grdAssetsIn_NeedDataSource"
                                    SkinID="CR" GridLines="None" AllowPaging="True" EnableViewState="false" AutoGenerateColumns="False" OnItemDataBound="grdAssetsIn_ItemDataBound"
                                    AllowMultiRowSelection="true" Width="600px">
                                    <MasterTableView EnableViewState="true" Width="600px"  PageSize="10" EnableNoRecordsTemplate="true"
                                        DataKeyNames="AssetID" ClientDataKeyNames="AssetID" >
                                        <NoRecordsTemplate>
                                            <div style="text-align: left; >
                                                <asp:Label ID="lblEmptyMsg" runat="server" meta:resourcekey="lblEmptyMsg2Resource1"></asp:Label></div>
                                        </NoRecordsTemplate>
                                    </MasterTableView>
                                    <PagerStyle AlwaysVisible="True" />
                                    <ClientSettings EnableRowHoverStyle="true">
                                        <Selecting AllowRowSelect="True" />
                                        <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
                                        <ClientEvents OnGridCreated="GridCreated" />
                                        <ClientEvents OnRowSelected="RowSelected" OnRowDeselected="RowDeselected" />
                                    </ClientSettings>
                                </telerik:RadGrid>

1 Answer, 1 is accepted

Sort by
0
Pavlina
Telerik team
answered on 12 Dec 2012, 02:58 PM
Hello,

I took the provided code and put it in a sample page following a similar scenario. However, I was not able to replicate the described problem. I am attaching my test page for your reference. Give it a try and see what is the difference in your case.

Greetings,
Pavlina
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Imran
Top achievements
Rank 1
Answers by
Pavlina
Telerik team
Share this question
or