Hi,
Ok. I want to collapse a pane with a button in much the same way the splitbar does. On the old splitter you could achieve this with JavaScript, as I just found out here: http://www.telerik.com/community/forums/thread/b311D-bbdkbm.aspx
The above doesn't work with the prometheus splitter. So instead I am using a link button to call this code server side:
// Hide the pane containing the treeview
protected void lbHidePane_Click(object sender, EventArgs e)
{
rpTopicSubMenuPane.Collapsed = true;
}
The problem is this produces a postback and the rest of my page and splitter are using Ajax to dynamically update the content. So on postback the pane collapses but all my other content is lost. I need to update the pane and/or splitter using the Ajax manager when the asp link button is clicked.
I have tried telling the Ajax manager to update the pane and the splitter directly which doesn't work and wrapping the splitter in an update panel and then updating this which also doesn't work. Any ideas?
All I want to do is duplicate the function from the splitbar on another button.
Thanks,
Michael
Ok. I want to collapse a pane with a button in much the same way the splitbar does. On the old splitter you could achieve this with JavaScript, as I just found out here: http://www.telerik.com/community/forums/thread/b311D-bbdkbm.aspx
The above doesn't work with the prometheus splitter. So instead I am using a link button to call this code server side:
// Hide the pane containing the treeview
protected void lbHidePane_Click(object sender, EventArgs e)
{
rpTopicSubMenuPane.Collapsed = true;
}
The problem is this produces a postback and the rest of my page and splitter are using Ajax to dynamically update the content. So on postback the pane collapses but all my other content is lost. I need to update the pane and/or splitter using the Ajax manager when the asp link button is clicked.
I have tried telling the Ajax manager to update the pane and the splitter directly which doesn't work and wrapping the splitter in an update panel and then updating this which also doesn't work. Any ideas?
All I want to do is duplicate the function from the splitbar on another button.
Thanks,
Michael