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
350
WebGrid does not work in Web User Control nested in WebSplitter
posted

Problem: Update command on SqlDataSource never gets called in a Web User Control nested inside of a WebSplitter Pane. 

For testing purposes I have created 2 projects.

One project with a single regular asp page (Non Ajax Enabled Site) and another project (AJAX Enabled Site) using WebSplitter with one its panes containing the WebGrid placed in Web User Control.

The exact same grid with exact same SqlDataSource is used in both projects.

1 simple button is added to cause a postback.

 Results:

WebGrid when placed directly on the standard asp page works (Updates Work), however when the WebGrid is placed in Web User Control and it is inside of WebSplitter does not work (Updates Do not Work).

Did another test where WebGrid is placed in a Web User Control in a non Ajax enabled site and not inside of a Web Splitter pane and it works. Looks like a pontial bug between WebSplitter and WebGrid controls or with Ajax enabled sites.

Please help