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

Problem with RadCombo box updates within a RadAjax Panel

4 Answers 38 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Boris
Top achievements
Rank 1
Boris asked on 18 Mar 2013, 04:12 PM
My apologies if this is somewhat similar to a problem I've posted earlier.  However this is a much simpler example.  (No RadGrid involved.)

I have a page on which I have (or rather had) 3 RadCombo boxes.  The 3 boxes (and their validators) are enclosed in a RadAjax panel.   The basic idea was that the 1st radcombo box would do a postback when it was changed and the values of the other two dropdowns would be updated accordingly.  The other 2 boxes have their AutoPostBack = false.

I could not get this to work.  The problem was that whenever I changed the 1st combo box, the custom validators of the other two would fire and prevent the update code from being called on the server side.  The custom validators call conventional JavaScript functions, much like all the others I use in this application.

My fix was similar to an earlier problem.  I changed the 1st combo box to a conventional asp:Dropdown list and everything works perfectly.  No other changes needed.

What, if anything, am I doing wrong?

My current Telerik.Web.UI is version 2012.2.607.40.  (I know.  Once again I'll try to get an upgrade if that is actually the problem.)

4 Answers, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 21 Mar 2013, 04:03 PM
Hello Boris,

Based on the information provided it would be hard to determine what is causing this problem. Could you please show us your markup and code-behind so we could get a better understanding of the implementation? It is important to see what type of validators you are using. This will help us understand why the execution of the server-side logic is prevented.

Regards,
Angel Petrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Boris
Top achievements
Rank 1
answered on 21 Mar 2013, 04:48 PM
Sorry.  Forgot about the CausesValidation property. 
0
Angel Petrov
Telerik team
answered on 26 Mar 2013, 02:41 PM
Hi Boris,

I am sorry to say but we can not give you a precise answer why this behavior is occurring without successfully replicating it on our side. I have created a sample project in an attempt to reproduce the problem but to no avail. Please review my test project(you can find it in attachments) and tell us what differs in your case. If you could modify it so it reproduces the issue we would be able to determine what is causing it.

All the best,
Angel Petrov
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Boris
Top achievements
Rank 1
answered on 26 Mar 2013, 05:04 PM
??
I said I found the problem.  No need for you to do anything.  Perhaps I should have been clearer.
Tags
Ajax
Asked by
Boris
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Boris
Top achievements
Rank 1
Share this question
or