Rank: Newbie Groups: Member
Joined: 12/25/2008 Posts: 8
|
HI,
In a page with a Splitter and 2 splitter Panel if you place a grid inside the splitter Panel the grid get resize with the panel but if you put the same grid in an Update Panel inside the splitter panel only the Update Panel got resize. The is no client on resize event on the Update Panel that we can attach to so how do we resize the children control inside an update panel?
Thanks.
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi, You can handle the Splitter's ClientSideOnResized event to resize the Grid using the Grid's client side API. You can find sample code here: http://demo.essentialobjects.com/Demos/Splitter/Features/Auto%20Resize%20Contents/Demo.aspxThe above sample automatically resizes the TreeView. But the code for resizing the Grid should be the same. Thanks!
|