Visual Studio 2012 Rad controls not in toolbox for cshtml view

5 posts, 0 answers
  1. Dominick
    Dominick avatar
    3 posts
    Member since:
    Nov 2013

    Posted 05 Feb 2014 Link to this post

    Hello,

    I have a Visual Studio 2012 Telerik MVC 4 Web Application (Razor) Project and I cannot see the rad controls when I have a cshtml page selected. If I add in an aspx view I can see them for it. Can someone please let me know how to fix the toolbox so I can drag and drop rad controls onto my cshtml pages or if it is possible to do at all?
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 06 Feb 2014 Link to this post

    Hello Dominick,

    RadControls for ASP.NET Ajax are WebForms controls which can only be used in ASPX pages. They will not work in Razor views and this is why they don't appear in the toolbox.

    We recommend checking Telerik UI for ASP.NET MVC which is our product built specially for ASP.NET MVC. It supports both razor and aspx views.

    Regards,
    Atanas Korchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Dominick
    Dominick avatar
    3 posts
    Member since:
    Nov 2013

    Posted 06 Feb 2014 in reply to Atanas Korchev Link to this post

    Hello Atanas

    Thank you for the quick response. I used the Telerik > UI for ASP.Net for MVC to convert my project and still no tools in the toolbox. I also used Telerik > UI for ASP.Net for MVC > Create New Telerik Project and still I am not able to see the tools in the toolbox. I am doing something wrong I know it but for the life of me I cannot figure it out. Both projects run fine without warnings or errors.

    Dominick
  5. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 07 Feb 2014 Link to this post

    Hello Dominick,

    Telerik UI for ASP.NET MVC is not based on web controls - it is a set of HtmlHelper extensions methods which wrap the Kendo UI widgets. Thus you will not see any items added to the Visual Studio toolbox. As far as we know no ASP.NET MVC html helper appears in the toolbox. One must write code in order to use them. Here is a related stackoverflow question.

    We recommend checking the following help articles to get familiar with Telerik UI for ASP.NET MVC:

    - Using Telerik UI for ASP.NET MVC in an ASP.NET MVC 5 application
    - Telerik UI for ASP.NET MVC Fundamentals

    Regards,
    Atanas Korchev
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  6. Dominick
    Dominick avatar
    3 posts
    Member since:
    Nov 2013

    Posted 07 Feb 2014 in reply to Atanas Korchev Link to this post

    Thank you very much Atanas.
Back to Top
UI for ASP.NET MVC is VS 2017 Ready