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:


                    <cc3:C1TabControl ID="ctlTab" runat="server" height="558px"
                        UseEmbeddedVisualStyles="True" VisualStyle="ArcticFox"
                        VisualStylePath="~/C1WebControls/VisualStyles" width="1115px">


                        <TabPages>


                            <cc3:C1TabPage runat="server" Text="Item List" ID="tbItemList">


                                <cc4:C1DateInput ID="C1DateInput1" runat="server" Culture="(Default)" Date=""

                                    Height="22px" VisualStylePath="~/C1WebControls/VisualStyles" Width="155px" />
                            </cc3:C1TabPage>



                            <cc3:C1TabPage runat="server" Text="QA Items" ID="tbQAItems">
                                <cc4:C1DateInput ID="C1DateInput2" runat="server" Culture="(Default)" Date=""
                                    Height="22px" VisualStylePath="~/C1WebControls/VisualStyles" Width="155px" />
                            </cc3:C1TabPage>


                        </TabPages>


                    </cc3:C1TabControl>


     


     -- 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