Even if AutoPostback is set to false on a RADTabstrip ASP.Net AJAX control, the post back is not prevented and the control does a postback. Stepping thru the code, the Tabstrip client side javascript code looks for a property named "postback" and because it does not find it, forces a postback.
The previous version of RADTabStrip control did not do this.
Any ideas?
The previous version of RADTabStrip control did not do this.
Any ideas?
5 Answers, 1 is accepted
0
Hello Ramesh,
RadTabStrip will postback in two cases:
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
RadTabStrip will postback in two cases:
- The AutoPostBack property is set to true
- You have subscribed to the TabClick event
Regards,
Albert
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0

Ramesh
Top achievements
Rank 1
answered on 10 Sep 2008, 12:16 PM
Albert,
Thank you for the quick response.
Yes I had subscribed to the TabClick event in the code behind and once that was removed TabStrip does not do a postback if Autopostback=false
However, this behavior is different from the previous version of the control (RADTabStrip). I upgraded my page from RADTabStrip to ASP.NET AJAX RadTabStrip (Q2 2008 version) and the postbacks started happening.
HTH
Thank you for the quick response.
Yes I had subscribed to the TabClick event in the code behind and once that was removed TabStrip does not do a postback if Autopostback=false
However, this behavior is different from the previous version of the control (RADTabStrip). I upgraded my page from RADTabStrip to ASP.NET AJAX RadTabStrip (Q2 2008 version) and the postbacks started happening.
HTH
0

r00tsecurity
Top achievements
Rank 1
answered on 19 Mar 2009, 08:47 AM
Thanks for the answer. Solved my problem too
0

Yaniv
Top achievements
Rank 1
answered on 25 Mar 2012, 04:50 PM
Hi
I wont to implement 2 modes for my TabStrip/MultiPage
ReadOnly - with no postback in TabClick.
Edit/Insert - with postback in TabClick.
but TabStrip will allways postback if i set the OnTabClick property
and this property is not accessible from code behind.
how whould you do that?
Thanks
I wont to implement 2 modes for my TabStrip/MultiPage
ReadOnly - with no postback in TabClick.
Edit/Insert - with postback in TabClick.
but TabStrip will allways postback if i set the OnTabClick property
and this property is not accessible from code behind.
how whould you do that?
Thanks
0
Hello,
You could add and remove event handler function from code behind in the following manner:
All the best,
Dimitar Terziev
the Telerik team
You could add and remove event handler function from code behind in the following manner:
RadTabStrip1.TabClick +=
new
RadTabStripEventHandler(RadTabStrip1_TabClick);
RadTabStrip1.TabClick -=
new
RadTabStripEventHandler(RadTabStrip1_TabClick);
All the best,
Dimitar Terziev
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.