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
Hardik Zala
NA
60
497
Gridview CurrRowChanged Event
Mar 22 2018 11:22 PM
This is one of the function in a huge .Net application coded in C# (3.5 Framework)
Problem : Unable to raise CurrRowChanged event on from grid view only when I fill the grid data using thread.
The thread must be called from ShowDetailForSelection(),(Can't be changed)
private void rinGrVid_CurrRowChanged(object source, CellEventArgs e)
{
//Some Code
}
public void ShowDetailForSelection()
{
t1 = new Thread(FillData);
t1.Start();
}
void FillData()
{
//Fill data in rinGrVid
}
When I use the code like below, Without thread, it works fine...
private void rinGrVid_CurrRowChanged(object source, CellEventArgs e)
{
//Some Code
}
public void ShowDetailForSelection()
{
FillData();
}
void FillData()
{
//Fill data in rinGrVid
}
Reply
Answers (
0
)
Will it work as crud operation?
Add dynamic variable data to list string