is Kendo ui supports VS Community 2015 - asp.net

Is the Telerik UI for ASP.NET MVC i.e) Kendo UI will supports the VS Community 2015 Edition?
Tell me about the kendo VS extension also...
Thanks in Advance

you should check out UI for ASP.NET MVC product overview page here: http://www.telerik.com/aspnet-mvc
Also the demos for UI for ASP.NET MVC are available online here: http://demos.telerik.com/aspnet-mvc
VS Extension for UI for ASP.NET MVC is nothing but HTML helpers or what is called as Wrappers for Kendo UI. Since its MVC you dont do a drag & drop development. Instead you get helpers for most of the Kendo UI widgets.
for e.g. in Razor you will create a Kendo UI DatePicker like below:
#(Html.Kendo().DatePicker().Name("dob"))
Do check out the URLs i gave you above to get more information.
hope this helps.

Related

Creating UI elements in Xamarin.Forms

I am not in Xamarin.Forms. In windows desktop apps (win forms and wpf), you can create a user UI component and you can use it in any project. Is it possible to create that kind of small UI elments in Xamarin.Forms?
I will have like a dll and will add to my project and will add to my form and I will give properties that I'll already defined in the UI element.
So, in Xamarin Forms world, we typically create User Controls through use of ContentView.
This can be done with a XAML part and code behind, but you can easily create them just in code too.
There are a series of tutorials available on the web, one that is very clear is this one https://mindofai.github.io/Creating-Custom-Controls-with-Bindable-Properties-in-Xamarin.Forms/
If needed, you can create a separate Xamarin Forms project that encapsulates your controls and reference that in your main app solution.

Is it possible to use jquery ui controls instead of web controls in asp .net web forms?

I want to use only jquery ui controls in my web app and handle the raised events of controls in my c# code (not in javascript). I'm new in web programming so sorry if my question is too dummy. Also i want to design my web form with jquery controls as i do it with web controls from toolbox. Is it possible?
Or is there any alternatives to create beautiful ui in asp net web forms ?
You can use any controls you want. However, non asp.net controls will not postback to your server. You will need to manually call the __doPostBack(); asp.net method using javascript. Also, since none of you controls will be wired to do postbacks using the built in asp.net mechanism, you will need to force your page to generate that code for you by calling something like this:
var cs = Page.ClientScript;
cs.GetPostBackEventReference(this, string.Empty);
I hope this helps

Kendo Asp.net MVC columnresizing save width

I am trying to save the grid column size following on the telerik sample
http://demos.telerik.com/aspnet-mvc/razor/grid/columnresizing
this does not work in kendo UI. I am using the latest Kendo Asp.net MVC.
here are the issues I saw:
1) .ClientEvents method is not defined in kendo UI.
2) GridAction attribute is not defined in kendo.mvc.dll
How can I make this work for Kendo UI ASP.NET MVC?
shouldn't Kendo UI cover all the functions that telerik UI provides? what is the equivalent way to do the same?
What you are looking are the old MVC extensions demos, they are deprecated. Either use the MVC Kendo Wrappers demos (QSF) or if currently using the old extensions check the migration guide referenced here.

Collapsible panel - MVC3 - Razor

Whats the best approach to take if I want to include a Collapsible panel in a MVC3 web page. In a Non MVC3 page, it is as easy as to drag and drop an Ajax control from the tool kit. I want to get that same functionality in my MVC3 application.. Thanks in advance for the suggestions.
The AJAX Toolkit is built for ASP.NET Web Forms, while it may work using ASP.NET MVC, it's not really recommended.
I'd go with a, in my opinion, cleaner solution - try the jQuery Accordion.
I've used it in several MVC based sites, and hasn't let me down so far.

Using ASP.NET controls in WebMatrix cshtml pages

I am building a site with WebMatrix using the razor syntax in .cshtml files. However I'm stumped as to how I can use the normal set of asp.net controls that are found in the toolbox in Visual Studio - eg: calendar, panel, radio button list etc... Is it possible to use these or can you only use Helpers with razor?
You cannot use ASP.NET controls with razor / .cshtml.
ASP.NET controls work with the ASP.NET WebForms view engine. Razor is a fundamentally different view engine than web forms.
If you really want to use the 'old' controls, switch to .aspx pages. If that's not an option, look into a UI library like jQuery UI. That should give you a similar set of controls.
Note that in razor a lot of controls like radio button list are obsolete. It takes just a few lines of markup to create the same behavior, without the databinding hassle though.
As an alternative tool, you can use Telerik Tabstrip and pass your .csHtml file as a partial view to it.
Some thing Like this:
#{ Html.Telerik().TabStrip()
.Name("TabStrip")
.Items(tabstrip =>
{
tabstrip.Add()
.Text("My First tab")
.Action("Index", "ControllerName")
.ImageUrl("~/Content/Common/Icons/Suites/mvc.png")
.Content(
#Html.Partial("csHtmlName_1", (List<TypeOfYourData>)ViewData["NameOfrelatedView"]).ToString()
);
tabstrip.Add()
.Text("My Second Tab")
.Action("secondAction", "ControllerName")
.ImageUrl("~/Content/Common/Icons/Suites/sl.png")
.Content(#Html.Partial("csHtmlName_2", (List<TypeOfYourDate>)ViewData["NameOfrelatedView"]).ToString()
);
})
.SelectedIndex(0)
.Render();
}
Please note that you need to install MVC Telerik first.(It's free :) and OpenSource)
You can't use Server Controls in ASP.NET Web Pages. It has been designed as an alternative to Web Forms.
You can use plain HTML or you can use the range of HTML helpers which work in a similar way to the ones in MVC (without the ModelBinding).

Resources