logo
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Tab view adding widgetadded eventhandler at runtime
LFL
#1 Posted : Tuesday, November 29, 2011 4:56:18 AM(UTC)
Rank: Member

Groups: Registered, Customer
Joined: 6/18/2011(UTC)
Posts: 22

How do you add the event handler for widgetadded on a tab view at run time, the tabs are added at run time.

The problem I have is when a widget is added I then need to refresh the tab surface as all the other widgets go blank.

We have this working on a non tab dashboard where the event handler is on the aspx page.

Thanks
Alex
berkay
#2 Posted : Tuesday, November 29, 2011 9:44:33 AM(UTC)
Rank: Advanced Member

Groups: Registered, Administrators
Joined: 6/8/2011(UTC)
Posts: 168
Location: Turkey

Was thanked: 6 time(s) in 6 post(s)
Hello Alex,

You should use DashboardCreated event of DashboardTabView. In this event, we provide DashboardSurface in DashboardSurfaceEventArgs. Then you can use WidgetAdded event of surface.

Regards
Berkay ERKOY
Development & Support Team
www.dynamicdashboards.net
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.


This page was generated in 0.042 seconds.