sharepoint - Custom Web property to refresh a webpart for 60 secs -
i have visual web part in want refresh webpart every 60 secs. can 1 give me example of building custom webpart property . should similar oob webpart ajax options.
thanks, sandy
something suffice.
http://mmman.itgroove.net/2011/05/adding-an-auto-refresh-content-editor-web-part/
you can register javascript on page several ways.
personally put in content editor web part , update time , when need.
the below code web part property.
[webbrowsable(true)] [webdisplayname("message")] [webdescription("message display users")] [personalizable(personalizationscope.user)] [category("message configuration")] public string message { get; set; }
you might want in updatepanel control.
http://msdn.microsoft.com/en-us/library/bb386454(v=vs.100).aspx
hope helps
Comments
Post a Comment