This is a migrated thread and some comments may be shown as answers.

TabStrip and PageLoad events

2 Answers 34 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Kurt Kluth
Top achievements
Rank 1
Kurt Kluth asked on 04 Sep 2013, 08:51 PM
I have been using the following example as my guide in trying to utilize the TabStrip in a wizard type application.
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/application-scenarios/wizard/defaultvb.aspx

Each tab will load a user control and allow the user to submit the information.  When the user clicks the next button it will load the data into our database and continue to step them through.  If they however leave the application the next time they log in they can pick up where they left off.  The problem is the Page_Load event with the 2nd tab and others down the line.  It will not get to the point where it loads the data.
Should I be trying to call the GetData from the button control from the first tab? 

Code below is used on each of my user control page.  How might I fix this?
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
    If Not IsPostBack Then
        GetData()
    End If
End Sub

2 Answers, 1 is accepted

Sort by
0
Kurt Kluth
Top achievements
Rank 1
answered on 05 Sep 2013, 03:05 PM
Also, why is that if I move onto tabs 3 and beyond it goes to the Page_Load of tab #2, then Page_Load of tab #3?
0
Kurt Kluth
Top achievements
Rank 1
answered on 10 Sep 2013, 02:07 PM
Still encountering the issues with loading my data and page_load events. 
Tags
TabStrip
Asked by
Kurt Kluth
Top achievements
Rank 1
Answers by
Kurt Kluth
Top achievements
Rank 1
Share this question
or