Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Window > How to create a window client-side with open animation

Answered How to create a window client-side with open animation

Feed from this thread
  • Posted on Mar 18, 2011 (permalink)

    Hello All,

    when creating a window server side by using Html.Telerik().Window() I can use Visibility(false) and when opening the window it plays a nice animation.

    How to get the same animation when creating the window by using $.telerik.window.create?

    Regards,
    Michael

    Reply

  • Answer Alex Gyoshev Alex Gyoshev avatar

    Posted on Mar 21, 2011 (permalink)

    Hello Michael Maluck,

    Create a hidden window and use the open() client-side method:
    var windowObject = $.telerik.window.create({
            title: "title",
            content: "content",
            width: 200,
            height: 200
        }).hide().data('tWindow');

    $('#openWindow').click(function() {
        windowObject.open();
    });


    The attached solution demonstrates that.

    Greetings,
    Alex Gyoshev
    the Telerik team

    Reply

  • Posted on Mar 21, 2011 (permalink)

    Hello Alex,

    this works great. Thank you.

    Best wishes,
    Michael

    Reply

  • Patricia Byrne avatar

    Posted on Jan 20, 2012 (permalink)

    Hi Alex,

    I downloaded your example zip. This is exactly what I need to do.

    There is an issue though. It takes two clicks to close the window.

    This is happening in firefox and IE 9, 8 and 7.

    Can you please tell me the fix for this.

    Thank you for any info on this.

    Hope to hear from you.

    Patricia Byrne

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / Telerik MVC Extensions (superseded) > Window > How to create a window client-side with open animation
Related resources for "How to create a window client-side with open animation"

ASP.NET MVC Window Features  |  Documentation  |  Demos  |  Telerik TV ]