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
60
Controls not shown on Webtab after changing Tab in Codebehind
posted

Hello

I have a problem with Webtab:

The User can select attributes on my Site an on some attributes I want to show an addition Tab (it is hidden on Pageload) and jump to the firstcontrol by set the focus to this.

 

my Code:

         uwt_study_new.Tabs.Item(0).Hidden =False

         uwt_study_new.Tabs.Item(1).Hidden =True

         Me.btn_formblatt.Focus()

the Problem ist, that Tab(1) opened but it is empty. After I cklick manually on the Tab-Header, all Controlls will be shown...

 

can someone tell me how I can actived this "Refresh" of the Tab in codebehind?

thx and regards

Robert

 

 

Parents
No Data
Reply
  • 60
    Verified Answer
    posted

    Resolved...

     

    I forgott to set the Tab to Selected...

     

             uwt_study_new.Tabs.Item(0).Hidden =False

             uwt_study_new.Tabs.Item(1).Hidden =True

             uwt_study_new.SelectedIndex = 1

     

    regards Robert

Children
No Data