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

Radgrid resize not working in updatepanel

1 Answer 98 Views
Grid
This is a migrated thread and some comments may be shown as answers.
sudheer
Top achievements
Rank 2
sudheer asked on 17 Jan 2009, 04:06 PM
Hi

In my application top pane and bottom pane available using radsplitbar.
In toppane i have radgrid with pagesize=8 and bottom pane with common controls .if user collapse/expand  bottom pane it get hide,shows white space and in top pane radgrid with 8 records showing. but instead of 8 records it should auto increase 8-15 records .again if collapse/expand top pane radgrid pagesize should become 8.

i found an example with resize without updatepanel. but my scenario in collapse mode and with updatepanel
could anybody help with an example  .


1 Answer, 1 is accepted

Sort by
0
Dimo
Telerik team
answered on 19 Jan 2009, 12:32 PM
Hello sudheer,

I suppose that you are using RadGrid with scrolling enabled. If I understand you correctly, you need to do the following:

1) Set Height="100%" to RadGrid

2) Set a 100% height style with a CSS rule to the UpdatePanel's <div> element by using its client ID. For a related scenario with Telerik AjaxManager, please refer to the following example, which contains an ajaxified RadGrid and a Splitter:

How to Set 100% Height and Random Styles to a RadAjaxManager Update Panel


Regards,
Dimo
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Grid
Asked by
sudheer
Top achievements
Rank 2
Answers by
Dimo
Telerik team
Share this question
or