Problem with RadCombo box updates within a RadAjax Panel

5 posts, 0 answers
  1. Boris
    Boris avatar
    275 posts
    Member since:
    Oct 2012

    Posted 18 Mar 2013 Link to this post

    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.)

  2. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 posts

    Posted 21 Mar 2013 Link to this post

    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Boris
    Boris avatar
    275 posts
    Member since:
    Oct 2012

    Posted 21 Mar 2013 Link to this post

    Sorry.  Forgot about the CausesValidation property. 
  5. Angel Petrov
    Admin
    Angel Petrov avatar
    1006 posts

    Posted 26 Mar 2013 Link to this post

    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.
  6. Boris
    Boris avatar
    275 posts
    Member since:
    Oct 2012

    Posted 26 Mar 2013 Link to this post

    ??
    I said I found the problem.  No need for you to do anything.  Perhaps I should have been clearer.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017