?
Solved

Saving before leaving Grid View row wont see the change

Posted on 2009-05-14
4
Medium Priority
?
278 Views
Last Modified: 2012-05-07
when i change a value in a grid view control in row -say- 1 and I dont leave row to another and directly hit the save button, the value wont be seen as changed in the datasource behind the scenes , rather i need to click somewhere else. how to cure this?
0
Comment
Question by:TheSilverBullet
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 53

Expert Comment

by:Dhaest
ID: 24383567
Are you sure that the event RowLeave is not triggered ?

Event Description        Fired when:
RowLeave                     A new cell is selected in a new row.
RowLeave                     The GridView control loses the focus.
 
0
 
LVL 53

Expert Comment

by:Dhaest
ID: 24383568
0
 
LVL 11

Expert Comment

by:srikanthreddyn143
ID: 24385009
In the save button event , move the focus out of grid row before saving is started

Ex:

Public sub btn_click()

'move focus to other control

txtbox.focus()
0
 

Accepted Solution

by:
TheSilverBullet earned 0 total points
ID: 24857515
I used the GV.refreshdata() to force refreshing
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction When many people think of the WebBrowser (http://msdn.microsoft.com/en-us/library/2te2y1x6%28v=VS.85%29.aspx) control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
The ECB site provides FX rates for major currencies since its inception in 1999 in the form of an XML feed. The files have the following format (reducted for brevity) (CODE) There are three files available HERE (http://www.ecb.europa.eu/stats/exch…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question