add tab from client side after ajaxrequest

2 posts, 0 answers
  1. Oscar
    Oscar avatar
    6 posts
    Member since:
    Jan 2012

    Posted 27 Jan 2012 Link to this post

    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
  2. Oscar
    Oscar avatar
    6 posts
    Member since:
    Jan 2012

    Posted 31 Jan 2012 Link to this post

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