Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 1.0 and 1.1 > ASP.NET 1.0 and 1.1 Professional
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional 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 9th, 2007, 01:49 AM
Authorized User
Join Date: Aug 2006
Posts: 27
Thanks: 0
Thanked 0 Times in 0 Posts
Default textbox value using javascript on user control

hi friends

i have one text box and three html buttons on user control

i want to find out which html button has been pressed
on client side and according to this i want to set the value of text box

and then according to value of textbox i want make updation in database

i am not able to set value of textbox after clicking html buttons

how can i solve this


Old February 12th, 2007, 04:48 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

I am not sure what you mean. Do you want 3 buttons that when clicked will change the value of the text box AND then call server side code or do you want 3 buttons that will change the text box and then a 4 button that will post back to the server??

================================================== =========
Read this if you want to know how to get a correct reply for your question:
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET

Similar Threads
Thread Thread Starter Forum Replies Last Post
Javascript changes to Textbox Control wyokid ASP.NET 1.0 and 1.1 Professional 2 June 28th, 2006 01:14 PM
Add Windows User control in Web User Control agarwalvidhu C# 0 March 30th, 2006 01:17 AM
Access a web user control from javascript? shenku ASP.NET 1.0 and 1.1 Professional 3 July 21st, 2005 07:24 AM
File Manager Javascript in User Control seanmayhew BOOK: ASP.NET Website Programming Problem-Design-Solution 0 September 16th, 2004 09:42 AM
User Control & Javascript smrao0906 Wrox Book Feedback 1 October 9th, 2003 08:38 AM

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