Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 11th, 2006, 12:38 PM
Authorized User
 
Join Date: Jan 2006
Posts: 91
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Imar,

Thanks for your response. I think I get it now. It's my newbie-ness that caused the problem...being un-familiar with the "space" in which all this is happening, I did not see that at the time you are processing the "select" click, you can immediately inspect the mouse X,Y properties, which will be persistent since their last setting (here I'm making an assumption...but it makes sense: the mouse event just happened). That connects the dots...I'll run some detailed tests on this. I agree this is now a javascript questinon, and I'll pursue any remainining details there. Thanks for your patience and perserverance on this!
 
Old October 30th, 2006, 09:21 PM
Registered User
 
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
quote:Originally posted by wirerider
 Imar,

Thanks for your response. I think I get it now. It's my newbie-ness that caused the problem...being un-familiar with the "space" in which all this is happening, I did not see that at the time you are processing the "select" click, you can immediately inspect the mouse X,Y properties, which will be persistent since their last setting (here I'm making an assumption...but it makes sense: the mouse event just happened). That connects the dots...I'll run some detailed tests on this. I agree this is now a javascript questinon, and I'll pursue any remainining details there. Thanks for your patience and perserverance on this!
 
Old October 30th, 2006, 09:34 PM
Registered User
 
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

The was very helpful. But how does the JavaScript OnChange() event of Row3Column1 change the value of Row3Column2 to Row3Column1 * 2 in GridView. In other words, if I change the value in a cell Row5Column1, the Row5Column2 will automatically change to Row5Column1 *2.

Thx,
James

 
Old October 31st, 2006, 01:53 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

Hi James,

I am not sure what you're asking. Are you trying to update a textbox with a calculation based on another textbox?

If so, you need to get a reference to the textboxes using document.getElementById for example. Or, in the client side onchange of the textbox fire a custom function and pass it this as a reference to the text box.

I think I need more info to be able to give you a better answer. And, maybe just like the OP, you're better off in one of the JavaScript forums here at p2p.wrox.com

Cheers,

Imar
---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
Author of ASP.NET 2.0 Instant Results and Beginning Dreamweaver MX / MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
change position of New Record row? Kimber Access VBA 3 June 27th, 2008 07:10 AM
Gridview with only one row mallikalapati ASP.NET 2.0 Professional 0 February 25th, 2008 06:46 AM
SSTab row position dthrun VB How-To 3 March 30th, 2007 11:02 PM
Changing row position of gridview at runtime rameshsamiappan ASP.NET 2.0 Basics 0 September 25th, 2006 10:02 AM
Line/Row Position jmss66 Classic ASP Databases 7 July 28th, 2003 07:56 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.