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
1615
Reloading controls in webtab
posted

I have a webtab with 3 tabs. A webdatatree in the first tab, a dropdownlist in the second tab that are preloaded. In the third tab I allow the user to change or add data that thfirst two controls have populated. After saving the data on the third tab I call the routines to reload the Tree and the dropdownlist. Each routine clears out the control and re binds. Stepping through the code it does go through each of the routines correctly but when i go to either of the first two tabs the controls were not updated with the new data. I do not want to do a postback on the webtab tab change (unless there is a way to do a conditional postback based on which tab I select).

Everything works ok if I have postbacks allowed on the WebTab and reload the controls as I click on the tab.

Is the WebTab not refreshing my controls or am  doing something else wrong?

Thanks! 

Parents
  • 37874
    posted

    Hi jcom39201,

    I am not sure I understand your issue. Could you please clarify your question? If you don't want a postback on tab change, I would suggest that you try setting the AutoPostBackFlags-SelectedIndexChanged property to 'Off'. If set to 'Async', changing active tab will initiate an asynchronous postback.

    Please let me know if you have any other questions.

Reply Children