How to stop triggering an event when form loads initial time?
Posted Date Unknown stephin Francis Antony 4 Comments

Hi

I have a selection changed event for gridview in my C# windows application. When I loads the application this event is also invokes. I want to trigger this event only when I click on gridview .How to solve this problem.
Can anybody help?

See All Responses Below...
Author
Message Rating
Posted on: 13/02/2014
You might have called the set current selection or something related to that in form load event .. Check that portion and let me know..

Tom
Posted on: 13/02/2014
In the form load I just assigned the values to the grid using 

gvItemList.DataSource = table;
Share this page across other social networking sites




TekTipsDownload
GateExam
Academic Projects
TekTipsExperts



 
Site optimized for IE7, 1280 X 768 and above. Copyright © 2010 - 2018 KTS InfoTech
Site Developed Using KTS WebCloud