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

Radgrid layout problem in pageview using tabstrip

4 Answers 140 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Qamar uz Zaman Cheema
Top achievements
Rank 1
Qamar uz Zaman Cheema asked on 24 Dec 2009, 01:59 PM
Greetings,

 
 <telerik:RadTabStrip ID="RadTabStrip1" runat="server"   
SelectedIndex="0" MultiPageID="TabContainer1" Width="800px" >  
    <Tabs>  
    <telerik:RadTab runat="server" Text="tab1" PageViewID="tbpnl1" Selected="True" >  
    </telerik:RadTab>  
    <telerik:RadTab runat="server" Text="tab2" PageViewID="tbpnl2" >   
    </telerik:RadTab>  
    <telerik:RadTab runat="server" Text="tab3" PageViewID="tbpnl3" >  
    </telerik:RadTab>  
                                   
    </Tabs>  
</telerik:RadTabStrip>  
  
    <telerik:RadMultiPage ID="TabContainer1" runat="server" SelectedIndex="0"   
    Width="800px" Height="180px" >  
                              
    <telerik:RadPageView ID="tbpnl1" runat="server" Width="800px" Height="180px" >  
                                   
       <telerik:RadGrid ID="radgrid1" runat="server"  Width="800px" Height="180px"   
 
 
 

I'm using simple binding for radgrid, there is one grid in each pageview, as 1st load the page everything looking fine but  I am facing a problem when I click my asp:button to bind radgrids again, only the selected tab grid looks fine and other two grids are behaving like in img file
before(bfr.jpg) and after(aftr.jpg) clicking refresh button


4 Answers, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 28 Dec 2009, 09:58 AM
Hi,

Could you make sure you have not turned off the Viewstate of the grids? When using simple data-binding, you do not need to call the DataBind method when loading the page on postbacks; after postback RadGrid uses the ViewState to recreate the data. You do, however, need to assign the data source and rebind the grid after any data operation such as paging, sorting, editing, and so on.

Thanks,
Princy
0
Dimo
Telerik team
answered on 28 Dec 2009, 02:58 PM
Hello Qamar,

Please refer to:

http://www.telerik.com/community/forums/aspnet-ajax/grid/column-values-cut-off-clipped-off.aspx#1042384


Kind regards,
Dimo
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Qamar uz Zaman Cheema
Top achievements
Rank 1
answered on 11 Jan 2010, 11:11 AM
I have fixed it
problem was in radpanel use
0
Rony
Top achievements
Rank 1
answered on 05 Apr 2011, 04:14 PM
HI,
  I am facing the same issue. Please specify how you solved it with an example. Please its urgent.
Tags
Grid
Asked by
Qamar uz Zaman Cheema
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Dimo
Telerik team
Qamar uz Zaman Cheema
Top achievements
Rank 1
Rony
Top achievements
Rank 1
Share this question
or