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

JavaScript Within Ajaxified Panel

1 Answer 33 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
Vic
Top achievements
Rank 1
Vic asked on 07 Nov 2012, 08:41 AM
I am trying to have multiple user controls, each with a different map embedded within them -- using Google Maps.  I'm using the tabstrip and multi-page to accomplish this functionality.

Everything works fine until I add markers to the map contained in an ajaxified panel.  One loading the second panel with markers it it I get cast errors on postback.  How can I include javascript on a secondary control so that it runs properly after postback.

1 Answer, 1 is accepted

Sort by
0
Maria Ilieva
Telerik team
answered on 09 Nov 2012, 01:28 PM
Hello Vic,

Please note that in case the different maps are loaded in Pageviews you should add the whole RadTabStrip and RadMultiPage controls into the RadAjaxManager settings. See the help topic below for more information on this matter:
http://www.telerik.com/help/aspnet-ajax/ajax-tips-and-tricks.html
If this odes not help, could you please share the error stack trace so we could further investigate on the issue?

Greetings,
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.
Tags
Ajax
Asked by
Vic
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Share this question
or