This is a migrated thread and some comments may be shown as answers.

Code Sample for Login Window

2 Answers 170 Views
Window
This is a migrated thread and some comments may be shown as answers.
Greg Gum
Top achievements
Rank 1
Greg Gum asked on 11 Dec 2013, 11:04 PM
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 Answers, 1 is accepted

Sort by
0
Accepted
Marin Bratanov
Telerik team
answered on 12 Dec 2013, 01:08 PM
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.
0
Greg Gum
Top achievements
Rank 1
answered on 12 Dec 2013, 02:04 PM
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
Tags
Window
Asked by
Greg Gum
Top achievements
Rank 1
Answers by
Marin Bratanov
Telerik team
Greg Gum
Top achievements
Rank 1
Share this question
or