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

Telerik Asp.Net Ajax Controls 2010 Q2 Incompability with Asp.Net 4 WebForms using Routing URL

4 Answers 97 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rodrigo
Top achievements
Rank 1
Rodrigo asked on 09 Sep 2010, 06:45 PM
Hi guys,

I'm having a lot of troubles using ASP.Net WebForms 4   Route Urls   Telerik ASP.NET AJAX Controls version 2010 Q2 826.

Problems that i'm facing are:

- Ajax RadControls are losing all the Layout and Effects;
- RadTextBoxes are losing the text value on the code-behind.

What do i need to do to solve these problems? Please Help me!!!

PS.: When i remove the urls route all the problems disappear.

Thanks a lot!!!

4 Answers, 1 is accepted

Sort by
0
Veli
Telerik team
answered on 10 Sep 2010, 01:58 PM
Hello Rodrigo,

Can you send us some sample code demonstrating these issues? Ideally, a sample test project we can test locally would help us greatly trying to identify what's causing the misbehavior. If you need to attach a project, you can open a regular support ticket and send us the attachment it. Please refer to this forum thread if you open a ticket.

Regards,
Veli
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rodrigo
Top achievements
Rank 1
answered on 10 Sep 2010, 04:36 PM
Hello Veli!

I opened the support ticket and the id is 347117

Try to test with the routing url and without that. The routing url code is in the global.asax at the application start event.

Thanks a lot!
0
Accepted
Veli
Telerik team
answered on 13 Sep 2010, 09:26 AM
Hi Rodrigo,

Try setting up routing, so that resource handlers are ignored when routing is applied. To do that, you need to call the Ignore() method of the RouteCollection class in RegisterRoutes:

Copy Code
void RegisterRoutes(RouteCollection routes)
{
    routes.Ignore("{resource}.axd/{*pathInfo}");
    routes.MapPageRoute("MyConsumerId", "{CONSUMERID}", "~/Default.aspx");           
}

Usually, resource handlers are excluded from routing, but in this case, when you have a single URL Route parameter at the beginning of the route, it seems the routing engine is unable to exclude the handlers. Explicitly excluding them in the way demonstrated above is always a safe approach and we can consider it to be good practice, as, obviously, the routing behavior changes depending on the route.

Veli
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Rodrigo
Top achievements
Rank 1
answered on 13 Sep 2010, 01:41 PM
Hi Veli,

Thanks a lot!!!

It solved the problem!!!

Thanks again!

Rodrigo
Tags
General Discussions
Asked by
Rodrigo
Top achievements
Rank 1
Answers by
Veli
Telerik team
Rodrigo
Top achievements
Rank 1
Share this question
or