Update control on all callbacks

4 posts, 0 answers
  1. Tom
    Tom avatar
    10 posts
    Member since:
    May 2013

    Posted 22 Aug 2013 Link to this post

    I have a master page that has a notification control. I want to update the notification as needed during all callbacks. Is there a way to do this without having to add the control to every ajaxsetting. I use a proxy on the content pages and add ajaxsettings programmatically so I would also have to create a reference to the notification control from the master page to add it to the ajacsettings. I have over a hundred ajax calls throughout the site. I basically want to use the notification to show messages for all actions/activity on the site.

    Thanks
  2. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 27 Aug 2013 Link to this post

    Hello Tom,

    In order to achieve the required functionality you could add a setting on the main MasterPage to the main RadAjaxManager in which the manager itself updates the Notification controls and on the server AjaxRequest event call update for the notification.
    Give this a try and let me know if it covers your requirements.

    Regards,
    Maria Ilieva
    Telerik
    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 the blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Tom
    Tom avatar
    10 posts
    Member since:
    May 2013

    Posted 27 Aug 2013 Link to this post

    Thanks Maria,

    I tried that. On master page. I actually tried to just use an ASP Panel (NotifyWrapper) to see if I can add some content to it using this method.

    <telerik:RadAjaxManager ID="AjaxManager" runat="server" DefaultLoadingPanelID="RadAjaxLoading">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="AjaxManager">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="NotifyWrapper" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>

    On a callback, I add a label to the NotifyWrapper panel but it does not get displayed. I also looked at the returned data from the callback and there is nothing in there for notifywrapper.

    Tom
  5. Maria Ilieva
    Admin
    Maria Ilieva avatar
    4017 posts

    Posted 30 Aug 2013 Link to this post

    Hi Tom,

    As the issue still appears could I kindly ask you to open a regular support ticket and send sample runnable example which demonstrates the problem? Thus we will be able to debug it locally and apply the needed ajax settings to cover your requirements.

    Regards,
    Maria Ilieva
    Telerik
    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 the blog feed now.
Back to Top