Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > TabStrip > add tab from client side after ajaxrequest

Not answered add tab from client side after ajaxrequest

Feed from this thread
  • Oscar avatar

    Posted on Jan 27, 2012 (permalink)

    Hi there. First, sorry about my english.

    We have a project on Visual Studio 2010 and we had implement the demo of the MDI application and works great but when we implement an ajax request to get the url of the window to be open, everything go fine until the tabstrip call the repaint method and because of this, the minimize window doesn't work. The question is How can a fix this situation??



    Thanks in Advance

    Reply

  • Oscar avatar

    Posted on Jan 31, 2012 (permalink)

    Well, I found the problem. Thanks to Telerik Team. My TabStrip is Inside a Div that have the display:none property because this div just show up until the user login into the system and because of this when i call the tabstrip.repaint after the ajaxrequest the tabstrip fails but if i take off the tabstrip it works fine. This really doesn´t solve my problem, I mean, I need to hide the div until the user login into the system. Marin of the Telerik Team gave me a suggestion:

    "
    If you still want to keep using it that way I can suggest adding a small timeout when calling the repaint() method, so that the browser has had time to recalculate the display of the rest of the elements:
    setTimeout(function ()
    {
    the rest of the functionality of the openNewWindow() function
    }, 0);"

    So I'm going to test it and tell you later.

    Thanks.

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET AJAX > TabStrip > add tab from client side after ajaxrequest
Related resources for "add tab from client side after ajaxrequest"

ASP.NET TabStrip Features  |   Documentation Demos   |  Telerik TV  |  Self-Paced Trainer  |   Step-by-step Tutorial  ]