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

More than one RadAjaxPanel and asp validators

6 Answers 83 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Rui Lopes
Top achievements
Rank 1
Rui Lopes asked on 06 May 2010, 04:31 PM
Hello,

In my page I have one main RadAjaxPanel and inside I have 3 RadPageView. The second and most important page has one repeater to show products and inside of it there's another repeater to show, lest say, orders of that product. This page became bigger and bigger so a new RadAjaxPanel was added so the navigability was more pleasant to user witch were great. On every row of the repeater I've created 2 div's, one visible to show (only with labels) and the other hidden to edit (with labels and textboxes)... To this textboxes I've assigned different asp validators but they don't fire because they are inside more than one RadAjaxPanel. I've commented the inside panel and they were working fine, but with them they just don't do anything.

Is there any way I can enable those validators even being inside several panels?

Thank you for you're time.

6 Answers, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 11 May 2010, 03:16 PM
Hi Rui,

Please note that wrapping one RadAjaxPanel with another AjaxPanel is not supported scenario and it could cause different problems in the application. In scenario like yours you could consider using single RadAjaxManager on the page with the necessary settings.
Give this suggestion a try6 and let us know if it works for you.


Sincerely yours,
Maria Ilieva
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
Rui Lopes
Top achievements
Rank 1
answered on 13 May 2010, 10:18 AM
Hello,

Well, I had only one AjaxPanel in the beginning but the presentation wasn't the best. The Loading Panel only shown in some of the areas. But the bigger problem is that the Loading Panel only works in the first item of the first repeater, the others use Ajax but no Loading witch isn't too user friendly...
Another thing I noticed was that if I try to change the visibility of an ASP.NET table witch is after the button, I get a runtime error telling me that the table control was not found...

What I can see is that using a general AjaxPanel with repeaters still has some problems...

Thank you for your time...
0
Rui Lopes
Top achievements
Rank 1
answered on 14 May 2010, 09:41 AM
Hi again,

I've noticed one more thing. Right now I've replaced the main RadAjaxPanel for several others along the page. No AjaxPanel is inside another AjaxPanel so no problems should show up now, well, in theory they shouldn't... In the first item of the first repeater (I have one repeater inside another repeater...) the validators don't validate on client side, I know they're not compatible but in the other repeater items they work... It's only in the first item only...

Is there any solution to make them validate in client side for the first item?

Best Regards
0
Maria Ilieva
Telerik team
answered on 14 May 2010, 11:24 AM
Hello Rui,

Please try setting the EnableClientScripts property of the validators to false and check if this helps.


Greetings,
Maria Ilieva
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
Rui Lopes
Top achievements
Rank 1
answered on 14 May 2010, 04:26 PM
Hello Maria,

Unfortunately that wasn't the solution. Right now all validators check only in server side. Instead of only the first repeater item doing this now all of them fail in client side validation...
0
Maria Ilieva
Telerik team
answered on 17 May 2010, 09:38 AM
Hello Rui,

Will it be convenient for you to open a regular support ticket and send us small runnable application which demonstrates the issue you are facing? We will test it locally and provide more to-the-point solution.
Thank you for the cooperation.

Regards,
Maria Ilieva
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.
Tags
Ajax
Asked by
Rui Lopes
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Rui Lopes
Top achievements
Rank 1
Share this question
or