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

RadGrid layout breaks on postback in Q1 2014 release.

2 Answers 37 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Kimberly
Top achievements
Rank 1
Kimberly asked on 29 Apr 2015, 06:00 PM

I am using version 2014.2.724.45.

I have a grid binded in a panel and the panel is not visible. On postback, the panel is then set to visible and the grid no longer has the default layout when displayed. 

Here is the mark up:



Any ideas?

Thanks! 

 

2 Answers, 1 is accepted

Sort by
0
Kimberly
Top achievements
Rank 1
answered on 30 Apr 2015, 05:09 PM

Mark up was deleted.

                        <asp:Panel ID="PanelSearchResults" runat="server" Visible="false">
                                <div id="grid">
                                <telerik:RadGrid runat="server" ID="gridSearchResults" AllowSorting="True" AllowPaging="True" PageSize="50" Height="565px"
                                    OnNeedDataSource="gridSearchResults_NeedDataSource" OnSelectedCellChanged="gridSearchResults_SelectedCellChanged" OnItemDataBound="gridSearchResults_ItemDataBound" >
                                    <MasterTableView ClientDataKeyNames="MRN">
                                    </MasterTableView>
                                    <ClientSettings Selecting-AllowRowSelect="true" EnablePostBackOnRowClick="true"     AllowDragToGroup="false" >
                                        <Selecting CellSelectionMode="SingleCell"/>
                                        <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True"></Scrolling>
                                    </ClientSettings>
                                    <EditItemStyle Font-Underline="True" />
                                </telerik:RadGrid>
                            </div>
                        </asp:Panel>

0
Viktor Tachev
Telerik team
answered on 01 May 2015, 12:17 PM
Hello Kimberly,

Please upgrade the controls to the latest version and see how the behavior changes. The current version is 2015.1.401.

In case the behavior persists please elaborate in more details on what is your scenario. Is the issue observed in all browsers? When are you changing the Visible property of the Panel control? What is the incorrect appearance? Please send a screenshot or a video of the issue.


Regards,
Viktor Tachev
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
Tags
Grid
Asked by
Kimberly
Top achievements
Rank 1
Answers by
Kimberly
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or