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
280
WebTab stops working
posted

 Ok, here is my scenario, I am hoping it makes sense enoughfor someone to help.

I have a web user control that has a

    webasyncrefreshpanel that contains

        1 databound dropdownlist

        and 1 Webpanel which contains

           a webtab which has 4 tabs, and on each tab is an ultrawebgrid

the datasource for each of the 4 webgrids(one is a webheirarchical) passes a parameter to the sp that is recieved from the dropdownlist.  I placed this all inthe refresh panel so no postback occurs when changing the ddl value (was this a mistake?)  the webtab does have loadondemand turned on.

the problem is that the tabs stop working after i switch from  one tab to another (specifically the first tab, which uses the webheirarchical data)...the other tabs no longer work, i can't leave the current tab.

 

also, if I add code to the prerender for the grid to automatically group by a column, the tabs will not work from the beginning, and the data on the initial load is wrong, it will only return one of the groupings, and it only has 17 rows(the max per page that I set), however, if i change the dropdownlist to a specific value, it will update, and if i change back to all, the grouping works fine, just not on the initial load.  But again, the tabs will not work when this code  uwg_PreviousNoShow.Bands[0].Columns[7].IsGroupByColumn = true; is in the uwg_PreviousNoShow_PreRender.  Any thoughts or tips on what I may have done wrong would be greatly appreciated.  I have NO code, other htan the4 prerenders for the grids.

 

Thank you,


BJ