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
Solved

This works fine for inserts,  but when I go back and edit an existing record,  any selectedindexchanged event resets the formview mode to readonly - and drops any changes. What to do?

Posted on 2009-05-06
2
180 Views
Last Modified: 2013-12-17
when I go back and edit an existing record,  any selectedindexchanged event resets the formview mode to readonly - and drops any changes. What to do?
0
Comment
Question by:mattfox77
2 Comments
 
LVL 13

Accepted Solution

by:
copyPasteGhost earned 500 total points
ID: 24314436
0
 
LVL 1

Author Closing Comment

by:mattfox77
ID: 31578445
well I found the problem - I had another event that was overriding my edit mode.  
thanks for the link though. - i will use switch/case statements based on the article - I learned something!
0

Featured Post

How our DevOps Teams Maximize Uptime

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us. Read the use case whitepaper.

Question has a verified solution.

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

809 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