Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ASP.NET 2.0 Details View manipulation.

Status
Not open for further replies.

wilberforce2

IS-IT--Management
Jan 8, 2007
36
GB

OK I was wondering if anyone could help me out with a problem that I have.

I am trying to manipulate two fields based on a postcode that has been entered into a details view. The postcode field is databound to a database and so is the two other fileds fldLat and fldLong.

What I want to do is to before the update takes place, take the entered postcode and geocode it into Latitude and Longitude using Javascript place the Lat/long into the relevant textboxes and update the database

Any ideas where to start? I can even get the information in and out of the details view :(.
 
forum216 can help with the javascript.
if your having problems miniplulating the detailsview try a formsview instead.

if your going to calculate the lat/lng then either mark the textbox read-only or use a label. if it's a default textbox the user can enter an invalid value.


Jason Meckley
Programmer
Specialty Bakers, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top