Welcome Guest Search | Active Topics | Sign In | Register

Tab is not reloading Multipage Options
Grenzer
Posted: Friday, August 17, 2007 1:38:08 PM
Rank: Newbie
Groups: Member

Joined: 8/17/2007
Posts: 2
Following Situation:
TabStrip and a Mulitpage
The Tabstrip have two tabs, ONE and TWO. TabStrip RaisesServerEvent is set to "true"
Multipage has two page, page A and page B

page A is just static stuff that's why Tab ONE has set RaisesServerEvent = "false"
page B is dynamic stuff that's why Tab TWO has set RaisesServerEvent = "true"

In my codebehind I am assigning the event to MultiPage_mpage1_PageSelected(object sender, MultiPageEventArgs e). The only thing this method is doing is calling another method called DoSomethingMethod():

The Scenario
We set a brakepoint into MultiPage_mpage1_PageSelected and we set a brakepoint into DoSomethingMethod().
We hit the page the first time. Everything is working as expected. We get a response from the brakepoint in MultiPage_mpage1_PageSelected and in DoSomethingMethod. Now we click on Tab ONE, which doesnt raise a server Event and page A is displayed fine. We click back on Tab Two and expect the brakepoints to repond again. But this wont happen. We get a response from DoSomethingMethod but not from MultiPage_mpage1_PageSelected. Even though the DoSomethingMethod is called from MultiPage_mpage1_PageSelected its brake point is not responding. You can easily test it and add some Label Manipulation into the MultiPage_mpage1_PageSelected method and you will see that the Label wont change. It will change the first time you enter the page or when just simply move the label manipulation into DoSomethingMethod. You also can fix the issue if you execute any other callback before you get back to Tab TWO. For example if you set RaisesServerEvent = true on Tab ONE, so that the callback is executed each time you click on one of the tabs, the code lines in MultiPage_mpage1_PageSelected will be executed correctly.
In fact, you need to raise a new callback before the MultiPage_Pageselected event will be fired again. Seems like too much javascript is cached on the browser....
eo_support
Posted: Friday, August 17, 2007 2:34:10 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,217
Hi Grenzer,

It would be much easier if you can make a sample project that demonstrates this problem. We are not exactly sure how your code/page is organized. A sample project would help us tremendously.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.