473,383 Members | 1,853 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

hyperlink or button question

djc
I want to have a form with several fields that first load 'locked' or
read-only. I will have a section on the page that will list several action
options to the user. Each of these actions will simply 'enable' or make
editable certian text box or listbox controls on the same page.

I am assuming I would HAVE to use one of the button controls because a post
back would be necessary. Is this correct? or could I use a hyperlink control
and avoid the post back?

any info is appreciated. Thanks.
Nov 18 '05 #1
4 1054
The only way you can avoid a postback is if you apply the logic in
Javascript. In other words, it can be done either on the client or on the
server...like most things. If you do it in javascript, you need to worry
about it being cross-browser compatible and perhaps the user won't have
javascript enable. On the server you take the extra performance hit and the
less than perfect UI experience. I can't make that decision for you as it
mostly depends on who your audience is and if you are willing to do both..

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"djc" <no***@nowhere.com> wrote in message
news:Of**************@tk2msftngp13.phx.gbl...
I want to have a form with several fields that first load 'locked' or
read-only. I will have a section on the page that will list several action
options to the user. Each of these actions will simply 'enable' or make
editable certian text box or listbox controls on the same page.

I am assuming I would HAVE to use one of the button controls because a post back would be necessary. Is this correct? or could I use a hyperlink control and avoid the post back?

any info is appreciated. Thanks.

Nov 18 '05 #2
you could just run the button that is the "enabler" on the client side, and
so catch the click on client side, and enable/disable any controls you
wish...

"djc" <no***@nowhere.com> wrote in message
news:Of**************@tk2msftngp13.phx.gbl...
I want to have a form with several fields that first load 'locked' or
read-only. I will have a section on the page that will list several action
options to the user. Each of these actions will simply 'enable' or make
editable certian text box or listbox controls on the same page.

I am assuming I would HAVE to use one of the button controls because a
post
back would be necessary. Is this correct? or could I use a hyperlink
control
and avoid the post back?

any info is appreciated. Thanks.

Nov 18 '05 #3
djc
thanks for input.

"Dan Bass" <danielbass [at] postmaster [dot] co [dot] uk> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
you could just run the button that is the "enabler" on the client side, and so catch the click on client side, and enable/disable any controls you
wish...

"djc" <no***@nowhere.com> wrote in message
news:Of**************@tk2msftngp13.phx.gbl...
I want to have a form with several fields that first load 'locked' or
read-only. I will have a section on the page that will list several action options to the user. Each of these actions will simply 'enable' or make
editable certian text box or listbox controls on the same page.

I am assuming I would HAVE to use one of the button controls because a
post
back would be necessary. Is this correct? or could I use a hyperlink
control
and avoid the post back?

any info is appreciated. Thanks.


Nov 18 '05 #4
djc
thanks for the input.

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:OE**************@TK2MSFTNGP11.phx.gbl...
The only way you can avoid a postback is if you apply the logic in
Javascript. In other words, it can be done either on the client or on the
server...like most things. If you do it in javascript, you need to worry
about it being cross-browser compatible and perhaps the user won't have
javascript enable. On the server you take the extra performance hit and the less than perfect UI experience. I can't make that decision for you as it
mostly depends on who your audience is and if you are willing to do both..

Karl

--
MY ASP.Net tutorials
http://www.openmymind.net/
"djc" <no***@nowhere.com> wrote in message
news:Of**************@tk2msftngp13.phx.gbl...
I want to have a form with several fields that first load 'locked' or
read-only. I will have a section on the page that will list several action options to the user. Each of these actions will simply 'enable' or make
editable certian text box or listbox controls on the same page.

I am assuming I would HAVE to use one of the button controls because a

post
back would be necessary. Is this correct? or could I use a hyperlink

control
and avoid the post back?

any info is appreciated. Thanks.


Nov 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Dynamo | last post by:
Not sure if this is a php or an html question but I'll post it anyway. I have multiple thumbnail images on my catalogue page catalogue.php and they are all hyperlinked to a single page called...
1
by: Pat | last post by:
All, What I want to do: ******************* Click on a hyperlink in the last column in a datagrid, have it grab a value in the fourth column in the same row and send it to the codehind into a...
4
by: Amir Eshterayeh | last post by:
Dear Friends My asp hyperlink goes to relative address instead of absolute. I like navigate url goes to outsite link like www.asp.net but now, it goes to www.mysite/www.asp.net please help....
5
by: jib | last post by:
How do I redirect a hyperlink column's URL when the URL doesn't exist? Is it possible to set a default URL for the Hyperlink button? Thanks, Jib
0
by: Waran | last post by:
Hi, In a datagrid I am displaying 2 columns. One is a Hyperlink Colum and the other is a Button Column. The values for the hyperlink columns are fetched from the database and its a url. When I...
4
by: wrytat | last post by:
I have a form with a textbox for the user to enter a quantity and another textbox for the delivery date. I disabled this delivery date textbox such that the user has to press a calendar link next...
4
by: sulemanzia | last post by:
I have a form with a Command button. i have a text box also which is bound to my Button. i have created a standard module and created an onclick event for my button which is something like this (...
2
by: =?Utf-8?B?Q2hhcnRz?= | last post by:
I have been writing C# programs to spider yellow page to get list of restaurant name, address to the database. When I encounter button or hyperlink, I don’t know how to use the program to click...
6
by: vspsdca | last post by:
Hi, I'm a newbie here and does not really have any formal training on VBA. I just need help to get my hyperlink to work. I have a form in MS Access with a browse button where a user can select a...
1
by: sivasrec | last post by:
Hi, This is sivakumar from India. Now I am learning to ASP.NET 2.0.. I have a doubt.... I have used in a one hidden field control, 2 label controls, 2 button controls and...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.