TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
David Smith
NA
2k
0
Common Dispatcher Method
Dec 15 2015 1:35 AM
Can someone help me make a common dispatcher method to invoke any control method, if that make any sense. Is there a better way to do this below also. I want to turn this method functionality into something common, because I have to use multiple times in various places.
private Dataset _ColorDataset; //This is a global dataset
Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(DataSourceRefresh));
private void DataSourceRefreshHack()
{
this.colorTable.DataSource = _ColorDataset.Tables["colorTable"].AsDataView();
}
Reply
Answers (
0
)
Display RTFText with image in crystal Report
The query string is too long error MVC 4 C#