• .NET Mobile

    ASP.NET 4.0 Routing for RadDataPager for ASP.NET AJAX

    With Q2 2010 release of RadControls for ASP.NET AJAX we introduce built-in support for ASP.NET routing for RadGrid and RadDataPager controls. By setting a few properties you can enable nice SEO friendly urls. Below are the steps that you need to perform to enable routing for RadDataPager in ASP.NET 4.0 Create Global.asax file Describe how the route will be rewritten Set AllowSEOPaging="true" and AllowRouting="true" for RadDataPager. Have in mind that routing can be enabled only in context of SEO paging, i.e. AllowSEOPaging must be set to “true” to enable routing. Set RouteName="RadDataPagerRoutingExample" and RoutePageIndexParameterName="dataPager" depending on the settings in Global.asax. Voila! You have implemented routing in 4 simple steps....
  • .NET Mobile

    RadGrid for ASP.NET AJAX SEO Paging with Routing in ASP.NET 4.0

    URL Routing with ASP.NET 4.0 has never been easier. While it was first a luxury of ASP.NET MVC, WebForms applications got routing support with .NET 3.5 SP1. With version 4.0 of the framework, setting up URL routing is now a piece of cake. For those of you who have never heard of it: URL Routing enables your application to use URLs that do not directly map to physical files, but can instead represent a user-friendlier, more descriptive, logical structure. It is not URL rewriting and not URL mapping, where these effectively restore the original physical URL of the page down the request pipe. With version 2010.Q2 of Telerik RadControls for ASP.NET AJAX,...