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

ajaxRequestWithTarget ignores CausesValidation of target control

1 Answer 25 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
rh
Top achievements
Rank 1
rh asked on 29 Oct 2009, 05:30 AM
I have a Rad combo box. AutoPostBack is set to false and CausesValidation is set to false. I have it wired up to the RadAjaxManager to update a couple of controls.

There is one value in the drop down that requires a postback. So in the OnClientSelectedIndexChanged event I look to see if that value was selected and, if so, call ajaxRequestWithTarget passing in the UniqueID of the combo box. This causes two issues:

1) It does a full postback instead of partial updates

2) It causes validation on the server even though I have CausesValidation of the control set to false.

Are these issues bugs? Is there a better way to do this?

1 Answer, 1 is accepted

Sort by
0
Iana Tsolova
Telerik team
answered on 03 Nov 2009, 01:07 PM
Hi rh,

UI followed your scenario in the attached sample but was not able to replicate the issue. Please check it out and let me know if I missed something out.

Greetings,
Iana
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Ajax
Asked by
rh
Top achievements
Rank 1
Answers by
Iana Tsolova
Telerik team
Share this question
or