authentication of kendo ui for asp.net mvc

6 posts, 0 answers
  1. Nheily
    Nheily avatar
    5 posts
    Member since:
    Jun 2012

    Posted 13 Mar 2013 Link to this post

    Hi,
    is it possible to authenticate a kendo ui for asp.net mvc app? i mean the same way we use [Authorize] for plain asp.net mvc 4.

    Thanks in advance and i look forward to your kind responses
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 14 Mar 2013 Link to this post

    Hello,

     We are not sure what you mean by "authenticate a kendo ui for asp.net mvc app". Please clarify.

    Kind regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. Nheily
    Nheily avatar
    5 posts
    Member since:
    Jun 2012

    Posted 14 Mar 2013 Link to this post

    Thanks Atanas,
    I would like to include a login page before getting to the main home page. With plain asp.net mvc4, i will include [Authorize] in the controller i would like to authenticate and it will call the login controller.
    How can i do this with kendo ui for asp.net mvc??

    Thanks again
  4. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 14 Mar 2013 Link to this post

    Hi,

     You would do it in the exact same way. Kendo UI Complete for ASP.NET MVC is just as set of HtmlHelper extension methods which render Kendo UI widgets. 

    Regards,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  5. Nheily
    Nheily avatar
    5 posts
    Member since:
    Jun 2012

    Posted 14 Mar 2013 Link to this post

    That's what i really thought but it seems impossible because kendo ui for asp.net mvc doesn't load the login controller so it cannot be used. this is the reason i inquired to see if there is any solution.

    But thanks though
  6. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 14 Mar 2013 Link to this post

    Hello,

     As I said Kendo UI Complete for ASP.NET MVC is nothing more but HtmlHelper extension methods. It doesn't interfere with the login controllers of ASP.NET MVC. I suggest you check the rest of your application.

    All the best,
    Atanas Korchev
    the Telerik team
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top