I was using ASP.NET AJAX but switched to MVC for device and windowing reasons. I wrote a tool to create forms using ASP Rad controls that works very nice. I need to be able to the create all the controls in C# code and then feed them into the page for the user to use. I can find nothing that shows me how I would create controls in C# with Kendo. My guess at the moment is to create Kendo ui in server code using strings. That does not work with Rad, it requires objects to be created and added to collections which is a much better coding practice then creating strings (which does save memory and processing verses objects).
My preference, since I already have working Rad generating code, is to get Rad controls working in my ASP MVC 5 project, Visual Studio 2013.
I have an asax file that is loaded in a cshtml file using RenderPartial
which loads
This gives an error page from authentication providing an HTTP Exception caused by an unhandled exception
Instead trying to put a RadTextBox in a form in a cshtml page without a runat results in nothing showing with no errors - just blank.
So, Rad does not seem to work at all and seems to be discouraged anyway. Browsing the forums seem to show Rad working in MVC, I do wonder what I need to do. Every time the question is asked the answer is don't use Rad even though there are clearly people using Rad controls.
I could use Kendo if I could create controls in server code AND if the Kendo editor was as good as the Rad one. The Rad ones seems to keep getting better while Kendo promises may be happening but are not shown in the demos. HTML View was promised several versions ago but is still not in any demo.
The Rad Editor has two very important features I require. An edit HTML view and the ability to download images and pick them for the document. Interesting that the Kendo controls are being pushed so much when the Rad ones are so much better. If you give me a way to do the HTML view, please provide actual instructions rather than a reference that does not really show how to do it. It is amazing how often code is given in partial solutions without instructions on where to put it.
Thanks,
George
My preference, since I already have working Rad generating code, is to get Rad controls working in my ASP MVC 5 project, Visual Studio 2013.
I have an asax file that is loaded in a cshtml file using RenderPartial
@model SignupList.Models.FormGroupViewModel
@{
ViewBag.Title = "FormGroup";
}
<
h2
>Group Form </
h2
>
<
div
>
@{
Html.RenderPartial("GroupForm");
}
</
div
>
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GroupForm.ascx.cs" Inherits="SignupList.Views.Group.GroupForm" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI.ComboBox" tagprefix="cc1" %>
<
h2
>Join Form</
h2
>
<
p
>Create the membership form.</
p
>
<
form
id
=
"form1"
runat
=
"server"
>
<
telerik:RadTextBox
ID
=
"InputDateTimeWidth"
InputType
=
"Number"
EmptyMessage
=
"Pixels"
Columns
=
"12"
MaxLength
=
"10"
RunAt
=
"server"
></
telerik:RadTextBox
>
</
form
>
This gives an error page from authentication providing an HTTP Exception caused by an unhandled exception
{"Error executing child request for handler 'System.Web.Mvc.HttpHandlerUtil+ServerExecuteHttpHandlerWrapper'."}
Instead trying to put a RadTextBox in a form in a cshtml page without a runat results in nothing showing with no errors - just blank.
So, Rad does not seem to work at all and seems to be discouraged anyway. Browsing the forums seem to show Rad working in MVC, I do wonder what I need to do. Every time the question is asked the answer is don't use Rad even though there are clearly people using Rad controls.
I could use Kendo if I could create controls in server code AND if the Kendo editor was as good as the Rad one. The Rad ones seems to keep getting better while Kendo promises may be happening but are not shown in the demos. HTML View was promised several versions ago but is still not in any demo.
The Rad Editor has two very important features I require. An edit HTML view and the ability to download images and pick them for the document. Interesting that the Kendo controls are being pushed so much when the Rad ones are so much better. If you give me a way to do the HTML view, please provide actual instructions rather than a reference that does not really show how to do it. It is amazing how often code is given in partial solutions without instructions on where to put it.
Thanks,
George