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

tabstrip usercontrol viewstate problem?

1 Answer 58 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Lasly
Top achievements
Rank 1
Lasly asked on 25 Nov 2011, 10:28 AM
hello all,
I have a problem that I can not fix.
I have a aspx page with a radtabstripeach tab loads a different UserControl.

menus call the same tab (and the same UserControl), but putting  different 
 value in session type operation. (insert, update, find,delete).

From masterpage get the value of the menu and set the session and call the tab.

The tab invoke the method SetFormatRadGrid (session ["tipooperazione"]. ToString ())

and I see the value of the session properly updated.
  but the RadGridthe screen is still shown as the first
(step back)


So the fisrt time it works, then the second time since the UserControl is already present in the viewstate on the client doesn't update.

while on the server (whith debugging) I see the correct values ​​in the code of the UserControl tab.

P.S.

if I add,in the ascx, override OnInit event and  invoke the radgrid.Rebind() method  it works... but this is not good solution.

Please
Help
 me 

1 Answer, 1 is accepted

Sort by
0
Dimitar Terziev
Telerik team
answered on 28 Nov 2011, 12:24 PM
Hi Lasly,

The provided information is insufficient to determine what is causing the experienced behavior. Please open a support ticket and provide a runnable sample demonstrating the implementation that you are using.

Kind regards,
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
Tags
TabStrip
Asked by
Lasly
Top achievements
Rank 1
Answers by
Dimitar Terziev
Telerik team
Share this question
or