e.cancel always restores DetailsView fields?

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
10/24/2009 8:31:04 AM
Gravatar
Total Posts 18439

Re: e.cancel always restores DetailsView fields?

Hi Dale,

being able to step through the code with the debugger is something you should get comfortable with so I would look at this as an opportunity. Visual studio makes it very easy. Set break points in your page load, page init and other events, open Web.config file in VS (this is just to make sure it starts at the home page and doesn't try to launch your custom code first) then press the play button to launch the debugger. When the site comes up navigate to the page where your custom feature is and it should stop execution at the first breakpoint it encounters, then you can step through the code using the F11 key and inspect variables as the code executes to see where and when their values are changing.

Hope it helps,

Joe

10/26/2009 2:24:26 PM
Gravatar
Total Posts 112

Re: e.cancel always restores DetailsView fields?

Got it!

So I should set the break point at my e.cancel and trace through MojoPortal code until something restores the OldValues?

What happens between the e.cancel and the browser awaiting another event seems daunting right now; but, here I go.

You must sign in to post in the forums. This thread is closed to new posts.