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

Mulitple AjaxControlIDs in AjaxSetting

17 Answers 258 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rafael Janetzek
Top achievements
Rank 1
Rafael Janetzek asked on 28 Mar 2010, 12:11 PM
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





17 Answers, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 29 Mar 2010, 12:43 PM
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.
0
Rafael Janetzek
Top achievements
Rank 1
answered on 29 Mar 2010, 02:01 PM
Thank you for answer.  Don't you think this could be a neat feature in future releases ?

Rafael
0
Rosen
Telerik team
answered on 31 Mar 2010, 08:01 AM
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.
0
martin
Top achievements
Rank 1
answered on 31 Aug 2010, 04:40 PM
Hi everyone,

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

gr Martin
0
Jerry T.
Top achievements
Rank 1
answered on 28 Oct 2010, 07:15 PM
I concur, as well.
0
Sebastian
Telerik team
answered on 29 Oct 2010, 09:12 AM
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
0
Monali
Top achievements
Rank 1
answered on 09 Feb 2011, 03:18 PM
i agree as welll
0
DroidSlave
Top achievements
Rank 2
answered on 18 Oct 2012, 02:00 PM
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.
0
Daniel Frumkin
Top achievements
Rank 1
answered on 23 Oct 2012, 07:54 AM
I agree.   it's a messy declaration and this would help significantly
0
Matt
Top achievements
Rank 1
answered on 18 Apr 2013, 09:29 AM
I agree this would be a very useful feature to reduce code duplication.
0
Maria Ilieva
Telerik team
answered on 19 Apr 2013, 01:57 PM
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.
0
Nabarun
Top achievements
Rank 1
answered on 29 Apr 2013, 06:19 AM
Hi Maria,
Is this feature included in latest version?
Because I also have the same concern.
0
Maria Ilieva
Telerik team
answered on 29 Apr 2013, 08:21 AM
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.
0
Jan
Top achievements
Rank 1
answered on 05 Jun 2017, 07:03 PM

Hello Maria,

is there any news about mulitple AjaxControlIDs in AjaxSetting?

 

Jan

0
Peter Milchev
Telerik team
answered on 08 Jun 2017, 09:02 AM
Hello Jan,

Thank you for your inquiry.

The requested improvement is not available in the control and for the time being, there aren't development plans for it.

Regards,
Peter Milchev
Progress Telerik
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Vasssek
Top achievements
Rank 1
answered on 24 Aug 2018, 02:54 PM

Hello,

please consider to add this functionality, because it will help us to manage clearer code...

Thank you

Vasssek

0
Peter Zaby
Top achievements
Rank 1
answered on 24 Aug 2018, 08:17 PM
Adding that feature would be a much more elegant solution to the problem.
Tags
General Discussions
Asked by
Rafael Janetzek
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Rafael Janetzek
Top achievements
Rank 1
Rosen
Telerik team
martin
Top achievements
Rank 1
Jerry T.
Top achievements
Rank 1
Monali
Top achievements
Rank 1
DroidSlave
Top achievements
Rank 2
Daniel Frumkin
Top achievements
Rank 1
Matt
Top achievements
Rank 1
Maria Ilieva
Telerik team
Nabarun
Top achievements
Rank 1
Jan
Top achievements
Rank 1
Peter Milchev
Telerik team
Vasssek
Top achievements
Rank 1
Peter Zaby
Top achievements
Rank 1
Share this question
or