Mulitple AjaxControlIDs in AjaxSetting

14 posts, 0 answers
  1. Rafael Janetzek
    Rafael Janetzek avatar
    4 posts
    Member since:
    Dec 2009

    Posted 28 Mar 2010 Link to this post

    Hi everyone,

    when I add AjaxSettings to my pages i often have to repeat the same Ajaxsetting for each ajax enabeld control

    <telerik:AjaxSetting AjaxControlID="Button1" >  
      <UpdatedControls > 
         <telerik:AjaxUpdatedControl ControlID="container" /> 
      </UpdatedControls> 
      </telerik:AjaxSetting>         
    <telerik:AjaxSetting AjaxControlID="Button2" > 
      <UpdatedControls > 
        <telerik:AjaxUpdatedControl ControlID="container"/> 
      </UpdatedControls> 
    </telerik:AjaxSetting> 

    this settings list tends to get very long. Would it be possible to combine the settings for example like this

    <telerik:AjaxSetting AjaxControlID="Button1,Button2" > 
                <UpdatedControls > 
                    <telerik:AjaxUpdatedControl ControlID="container" /> 
                </UpdatedControls> 
    </telerik:AjaxSetting> 
     


    Please share your thoughts on this.

    Rafael





  2. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 29 Mar 2010 Link to this post

    Hello Rafael,

    The functionality you request (having multiple controls as ajax initiators through in a single ajax setting)  is not supported by RadAjaxManager. You will need to define separate ajax setting for each initiator either from design-time or programmatically.

    Kind regards,
    Sebastian
    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.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Rafael Janetzek
    Rafael Janetzek avatar
    4 posts
    Member since:
    Dec 2009

    Posted 29 Mar 2010 Link to this post

    Thank you for answer.  Don't you think this could be a neat feature in future releases ?

    Rafael
  5. Rosen
    Admin
    Rosen avatar
    3237 posts

    Posted 31 Mar 2010 Link to this post

    Hi Rafael,

    Thank you for your suggestion. I will forward it to our development department for further consideration. Therefore if this appears to be a common request and attainable enhancement, you may see it included in a future version of the product.

    All the best,
    Rosen
    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.
  6. martin
    martin avatar
    12 posts
    Member since:
    Jan 2008

    Posted 31 Aug 2010 Link to this post

    Hi everyone,

    I support Rafaels request! This would be a very useful feature!

    gr Martin
  7. Jerry T.
    Jerry T. avatar
    118 posts
    Member since:
    Jul 2012

    Posted 28 Oct 2010 Link to this post

    I concur, as well.
  8. Sebastian
    Admin
    Sebastian avatar
    9934 posts

    Posted 29 Oct 2010 Link to this post

    Hi guys,

    Thank you for your feedback - it will be channeled to our developers.

    Best regards,
    Sebastian
    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
  9. Monali
    Monali avatar
    1 posts
    Member since:
    Dec 2010

    Posted 09 Feb 2011 Link to this post

    i agree as welll
  10. DroidSlave
    DroidSlave avatar
    5 posts
    Member since:
    Sep 2012

    Posted 18 Oct 2012 Link to this post

    I also believe this would be a great enhancement to the structure. I have a grid of buttons that need to update a calendar control and the only way that I can see to do it without it getting messy is to assign the same event handler to each one and have that one event handler update the ajax setting. Doing this declaratively would require me to add 33 AjaxSettings to my AjaxManager.
  11. Daniel Frumkin
    Daniel Frumkin avatar
    19 posts
    Member since:
    Jun 2004

    Posted 23 Oct 2012 Link to this post

    I agree.   it's a messy declaration and this would help significantly
  12. Matt
    Matt avatar
    2 posts
    Member since:
    Sep 2011

    Posted 18 Apr 2013 Link to this post

    I agree this would be a very useful feature to reduce code duplication.
  13. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 19 Apr 2013 Link to this post

    Hi Matt,

    You could also add the feature request to our feedback portal below, so that other users could vote for it and increase its severity:
    http://feedback.telerik.com/project/108

    All the best,
    Maria Ilieva
    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.
  14. Nabarun
    Nabarun avatar
    2 posts
    Member since:
    Apr 2013

    Posted 29 Apr 2013 Link to this post

    Hi Maria,
    Is this feature included in latest version?
    Because I also have the same concern.
  15. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 29 Apr 2013 Link to this post

    Hi Nabarun,

    It it still not added in the latest version of the controls. You could vote for the feature request in our feedback portal as I previously mentioned.

    Kind regards,
    Maria Ilieva
    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.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017