C1TabControl - SelectedIndexChanged Not Firing

Posted by: trawatsunrisegrowers-com on 10 September 2017, 11:34 am EST

  • Posted 10 September 2017, 11:34 am EST

     


    App not firing Selected Index Changed Event


    It is a simple form two two tabs.


     


    Tab Control Code:


                                        UseEmbeddedVisualStyles="True" VisualStyle="ArcticFox"
                        VisualStylePath="~/C1WebControls/VisualStyles" width="1115px">


                       


                           


                               
                                    Height="22px" VisualStylePath="~/C1WebControls/VisualStyles" Width="155px" />
                           



                           
                                                                Height="22px" VisualStylePath="~/C1WebControls/VisualStyles" Width="155px" />
                           


                       


                   


     


     -- Event Trigger Code:


        Private Sub ctlTab_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles ctlTab.SelectedIndexChanged

            Try
                TextBox1.Text = ctlTab.TabPages(ctlTab.SelectedIndex).ID
            Catch ex As Exception
                TextBox1.Text = "NA"
            End Try

        End Sub


     


     


    This event is not getting triggered - any help?


     


     


     


     

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels