by berkay
2. December 2011 13:33
JavaScript references make a trouble by using dynamically loaded user controls via ajax. Because Javascript references are loaded on page postback.
If you want to use javascript references in widgets , you should add references to page contains DashboardSurface or you should set NeedsReloading property of Widget Definition true.
After setting NeedsReloading true , widget fires postback on this widget adding. In other cases , page will not be postback. for example (second adding of same widget or firing some commands)
d08d0b19-aeda-43bc-a0c8-9fc37e71e3c0|2|5.0
Tags: