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

Visual Studio 2012 Rad controls not in toolbox for cshtml view

4 Answers 125 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dominick
Top achievements
Rank 1
Dominick asked on 06 Feb 2014, 12:14 AM
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?

4 Answers, 1 is accepted

Sort by
0
Atanas Korchev
Telerik team
answered on 06 Feb 2014, 07:24 AM
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!
0
Dominick
Top achievements
Rank 1
answered on 06 Feb 2014, 05:46 PM
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
0
Atanas Korchev
Telerik team
answered on 07 Feb 2014, 06:59 AM
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!
0
Dominick
Top achievements
Rank 1
answered on 07 Feb 2014, 03:29 PM
Thank you very much Atanas.
Tags
General Discussions
Asked by
Dominick
Top achievements
Rank 1
Answers by
Atanas Korchev
Telerik team
Dominick
Top achievements
Rank 1
Share this question
or