tabstrip usercontrol viewstate problem?

2 posts, 0 answers
  1. Lasly
    Lasly avatar
    115 posts
    Member since:
    Nov 2009

    Posted 25 Nov 2011 Link to this post

    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 

  2. Dimitar Terziev
    Admin
    Dimitar Terziev avatar
    1266 posts

    Posted 28 Nov 2011 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top