Umbraco and Telerik MVC - umbraco

Is this possible to install and use Telerik Extension for ASP.NET MVC in Umbraco project? If "yes", what is a best way to do this.
I try to install but have some errors, eg:
'System.Web.WebPages.Html.HtmlHelper' does not contain a definition for
'Telerik' and the best extension method overload
'Telerik.Web.Mvc.UI.HtmlHelperExtension.Telerik(System.Web.Mvc.HtmlHelper)'
has some invalid arguments

I assume your using Umbraco 4.7.1 or below, which is based on ASP.NET Web Forms (not MVC). If this is the case you wont be able to use any of the Telerik MVC Extensions.
You may be able to use some of the Telerik controls for ASP.NET AJAX, but I've never tried that myself.

Related

DevExpress ASP.NET MVC standalone Filter

I am new to Dev Express controls and I'm currently trying to work with the Dev Express Filter. In the ASP.NET WebForms edition of Dev Express, the Filter was a separate control which could be configured on it's own. From what I saw so far, for the ASP.NET MVC the Filter is part of the GridView helper.
Is it possible to use only the Filter in a ASP.NET MVC app?
Any links of suggestions are welcomed!
Thank you!
The Filter Builder is not available as a standalone MVC Extension (Implement an analog of ASPxFilterControl).
It is only available as a part of the MVC GridView Extension.

Is there any free Telerik ASP.NET MVC extensions version?

I am going to develop website using ASP.NET MVC 4. I'd like to take advantage of rich Telerik extensions. I there any free version of it for ASP.NET MVC?
First of all I need grids functionallity. Can you suggest any alternative solutions?
Try to use the grid of jQuery.
Jquery grid example

Side-by-Side Asp.Net and MVC Razor

We have an existing ASP.Net Web Application. I would like to create an ASP.Net MVC Razor Application where the two applications will work together. A single Master Page would contain menu items that can call .aspx pages as well as Razor .cshtml pages.
I have seen an example using MvcContrib Portable areas utilizing Routing. This particular example has .aspx pages in both (the MVC was not Razor).
Is there an example out there that will show the two running side-by-side and the MVC is Razor? It would be best if I could download a visual Studio Solution so that I can run this.
I am not sure if the MvcContrib way is the latest and best way to achieve this.
I do not want to go Hybrid!
You don't need any other external librarry. You can always convert the existing ASP.NET web forms Project to be a Hybrid one which uses webforms and MVC. You need to add the required MVC assembly references and make some changes to the web.config and you are all set. Scott has a simple and awesome blog post about this where he explains how to do the conversion.
I scribbled a note about how to enable the MVC specific Context menu( Add Controller / Add View) in the hybrid project after conversion here

Can i add MVC project in normal asp.net c# project?

can anybody tell me that if i made a normal asp.net c# project and in that solution i want to add mvc project. so is it possible to call mvc view from normal page which is in first project? if yes then how can i call view page from normal page of asp.net c# project.
on live server how can i call mvc page?
Thanks
Samir
Mixing VB ASP.NET and C# ASP.MVC projects in a single solution
Ok, couple of different things here.
Can a ASP.NET forms project exist in the same solution? Yes
Can you mix MVC with WebForms in the same project? No
Can a MVC site communicate with a WebForms site? Yes, you can easily pass between via simulated form submission or by URL. You could also configure cookies to work across both sites.
Can you have an MVC site and a WebForms site use the same url? No

Strongly typed links in ASP.NET MVC 2.0 beta

With ASP.NET MVC 1.0 I always have been able to generate strongly typed links in my Views using a lambda function:
Html.BuildUrlFromExpression<TController>(c => c.Action(arg));
I'm now upgrading to ASP.NET MVC 2.0 beta and I can't find any strongly typed extension for the HtmlHelper (nor the UrlHelper in fact). Have they been replaced by some other method? Is there a new way of building links to controller actions?
I'd hate to go back to using strings in my views.
The strongly-typed URL generation helpers are part of the MVC Futures binary, not the MVC core binary itself. You can download a version of MVC Futures that works with MVC 2 Beta from CodePlex.
It takes one line to implement you own extension with same functionality. I actually do it even in MVC v1, because Url.Href<> is shorter ;-) You can copy code from MVC sources for this.

Resources