Hello all,
I am relatively new to the Kendo UI suite, so I need some assistance in an application I'm working on. I'm using Visual Studio 2010, MVC3. I will do my best to explain my situation and the problem I'm trying to solve.
I'm trying to handle the login process for my application using a popup window that is raised by a link in the main browser window. On my main screen, I have an Html.ActionLink that opens the view for the logon page (screen shot #1). This is a simple view with one link. The logon view contains the definition for the Kendo window, so the username/password entry screen is then presented as a modal popup (attached screenshot #2). When the logon link on the main page is clicked, the Kendo window opens as a popup without any issues, and I can enter the user and password. If the entered user and password is correct, the popup closes and the controller code redirects the user to the application's main menu of options in the browser window, as expected. The problem arises when the user/password fails validation, because the popup window still closes, and the resulting "invalid login" message is displayed in the main browser window. I'm trying to keep the popup open after the submission, and display the error within the popup, so the user can try again (simulated in screen shot #3).
All of the logic for the Kendo window definition exists in the logon view, not the main view. Also, I'm not sure which pieces of code to post in helping to clarify this, but I will gladly do so if it helps me to resolve the problem. So, in a nutshell, how do I keep my logon popup window open and have it receive the results of an invalid user/password submission, rather than have it close and the results sent to the main browser window.
Thanks in advance,
Bob
I am relatively new to the Kendo UI suite, so I need some assistance in an application I'm working on. I'm using Visual Studio 2010, MVC3. I will do my best to explain my situation and the problem I'm trying to solve.
I'm trying to handle the login process for my application using a popup window that is raised by a link in the main browser window. On my main screen, I have an Html.ActionLink that opens the view for the logon page (screen shot #1). This is a simple view with one link. The logon view contains the definition for the Kendo window, so the username/password entry screen is then presented as a modal popup (attached screenshot #2). When the logon link on the main page is clicked, the Kendo window opens as a popup without any issues, and I can enter the user and password. If the entered user and password is correct, the popup closes and the controller code redirects the user to the application's main menu of options in the browser window, as expected. The problem arises when the user/password fails validation, because the popup window still closes, and the resulting "invalid login" message is displayed in the main browser window. I'm trying to keep the popup open after the submission, and display the error within the popup, so the user can try again (simulated in screen shot #3).
All of the logic for the Kendo window definition exists in the logon view, not the main view. Also, I'm not sure which pieces of code to post in helping to clarify this, but I will gladly do so if it helps me to resolve the problem. So, in a nutshell, how do I keep my logon popup window open and have it receive the results of an invalid user/password submission, rather than have it close and the results sent to the main browser window.
Thanks in advance,
Bob