Code Sample for Login Window

3 posts, 1 answers
  1. Greg Gum
    Greg Gum avatar
    18 posts
    Member since:
    Jun 2009

    Posted 11 Dec 2013 Link to this post

    I need to create a Login Window in an MVC app that will pop up no matter which page the user is on.  In other words, I need to hook it into the Layout page so it is available no matter where the user should happen to be in the app.

    Is there a code sample for this? 

    Greg
  2. Answer
    Marin Bratanov
    Admin
    Marin Bratanov avatar
    3595 posts

    Posted 12 Dec 2013 Link to this post

    Hi Greg,

    We do not have such a sample ready and RadControls for ASP.NET AJAX are not tested under MVC and we do not support it, I am afraid. They are built on top of the webforms paradigm and heavily rely on its lifecycle, which is not available elsewhere.
    Nevertheless, you can consider a WebUserControl that has this RadWindow. In the code-behind of the user control you can check if the user is logged in and if not - do show the RadWindow: http://www.telerik.com/community/forums/aspnet-ajax/window/opening-radwindow-from-the-server.aspx. I cannot guarantee it is possible and that it will work as desired, but I hope it will.


    Regards,
    Marin Bratanov
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Greg Gum
    Greg Gum avatar
    18 posts
    Member since:
    Jun 2009

    Posted 12 Dec 2013 Link to this post

    Thank you.

    I think I posted in the wrong forum.  I was thinking that this was for Kendo.  I see now that this is a different controls set.  So I have reposted over there.

    Greg
Back to Top