Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
1140
Setting WebSplitter.ContentURL only works on Not IsPostback
posted

When the page first loads up, I use code-behind to send the URL to a document viewer using the chunk of code below:

Me.igSplitMain.Panes(1).ContentUrl = displayURL.

Later, the user may select other documents from a list which forces a postback where I use the same chunk of code to construct a new displayURL.  But, the SplitterPane will not show the new URL and leaves the original URL loaded.

Any ideas?

  • 1140
    Verified Answer
    posted

    I  found the problem.  The grid the user clicks from was on a WebTab with a Postbackoption-EnableAjax=true, which was causing the issue.