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

Ajaxfied RadmenuItem

3 Answers 35 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Daniel
Top achievements
Rank 1
Daniel asked on 30 Sep 2014, 08:00 AM
Hello,

I am working on a project with a RadMenu and a RadGrid.

How to set the RadAjaxManager to recognize a RadMenuItem in code behind?

Thanks,
Daniel. 

3 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 03 Oct 2014, 06:53 AM
Hello Daniel,

You can configure the AjaxSettings programmatically:
http://www.telerik.com/help/aspnet-ajax/ajax-add-ajaxsettings-programmatically.html

Hope this helps.

Regards,
Eyup
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
0
Daniel
Top achievements
Rank 1
answered on 20 Oct 2014, 12:38 PM
Hi Eyup,

Thank you for your response.

In my project, all the settings of the AJAX are already in the code-behind.
And even so, it’s not working.
I have attached a video that shows my project problem. [See Video].
(the video demonstrate a setting from the RadMenuItem to a label)

Thanks,
Daniel.
0
Viktor Tachev
Telerik team
answered on 22 Oct 2014, 11:10 AM
Hello Daniel,

The RadMenu is a composite control and in order to AJAX-enable it you need to add the ID of the control to the AjaxSettings.

RadAjaxManager1.AjaxSettings.AddAjaxSetting(RadMenu1, Label1)

Try adding the setting shown above to the AjaxSettings and the Label should be updated without postback.

Regards,
Viktor Tachev
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Ajax
Asked by
Daniel
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Daniel
Top achievements
Rank 1
Viktor Tachev
Telerik team
Share this question
or