YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

Refresh dashboard from button click event of widgets Options · View
ankursharma.net@gmail.com
#1 Posted : Wednesday, July 28, 2010 1:42:36 PM
Rank: Newbie

Groups: Registered

Joined: 7/28/2010
Posts: 1
Location: New Delhi
Hi Tansu,

How can I refresh dashboard when click a button in widgets on that dashboard?

Regards
ankur
tansu
#2 Posted : Wednesday, July 28, 2010 7:39:28 PM
Rank: Advanced Member

Groups: Registered, Administrators

Joined: 7/24/2009
Posts: 460
Location: Türkiye / Ankara
Hi,

Just call DashboardSurface.Refresh method. You can a reference to the current hosting DashboardSurface instance in IWidgetControl.InitControl method.

Also see DashboardPage class in our sample web application. We add a toolbutton in every dashboard to let user refresh full dashboard.

Regards.

-tansu
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.

YAFVision Theme by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.301 | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.138 seconds.