Hi Guys,
I've got a simple question for all of you guys. I have just noticed that I
have alot of buttons on my screen. Is there any that those buttons be
replaced by anything more sophisticated ? e.g. HyperLinks, without getting
rid of the code that has been written on the click of the button.
Look forward to some valuable feedback.
Thanks,
I.A 5 1535
Irfan Akram wrote: Hi Guys,
I've got a simple question for all of you guys. I have just noticed that I have alot of buttons on my screen. Is there any that those buttons be replaced by anything more sophisticated ? e.g. HyperLinks, without getting rid of the code that has been written on the click of the button.
What's wrong with your buttons? The fact that they *are* buttons (and
cause form submits) or the way they look? You can make buttons look
like hyperlinks using CSS, if that's what you want.
Cheers,
-- http://www.joergjooss.de
mailto:ne********@joergjooss.de
Yeah that will be wonderful, how can we achieve that ?
Thanks,
I.A
"Joerg Jooss" wrote: Irfan Akram wrote:
Hi Guys,
I've got a simple question for all of you guys. I have just noticed that I have alot of buttons on my screen. Is there any that those buttons be replaced by anything more sophisticated ? e.g. HyperLinks, without getting rid of the code that has been written on the click of the button.
What's wrong with your buttons? The fact that they *are* buttons (and cause form submits) or the way they look? You can make buttons look like hyperlinks using CSS, if that's what you want.
Cheers,
-- http://www.joergjooss.de mailto:ne********@joergjooss.de You can make buttons look like hyperlinks using CSS>> Yeah that will be wonderful, how can we achieve that ?>>
...or, instead of using Hyperlink or Button controls, you could use the
LinkButton control.
Jeppe Jespersen
Hi Irfan,
You can apply CSS styles to controls such as labels, linkbuttons, etc. Any
Control that contains a CssStyle property can be stylesheet(ed).
<asp:Button id="Button2" Text="Hi" CssClass="buttonStyle" runat="server"/>
You can either use an external file for getting stylesheet info or use the
<STYLE> Tag in HTML Code for the same.
A sample one can be like this.. Chenge the values to suite your need.
..buttonStyle
{ FONT-WEIGHT: bold;
FONT-SIZE: 9pt;
TEXT-TRANSFORM: capitalize;
COLOR: white;
FONT-FAMILY: Verdana;
BACKGROUND-COLOR: navy }
BTW, Instead of this as Jeppe pointed out, you can use the linkbutton
Hope this helps..
Need any help, do post a msg back...
Happy Coding
"Irfan Akram" wrote: Yeah that will be wonderful, how can we achieve that ?
Thanks,
I.A
"Joerg Jooss" wrote:
Irfan Akram wrote:
Hi Guys,
I've got a simple question for all of you guys. I have just noticed that I have alot of buttons on my screen. Is there any that those buttons be replaced by anything more sophisticated ? e.g. HyperLinks, without getting rid of the code that has been written on the click of the button.
What's wrong with your buttons? The fact that they *are* buttons (and cause form submits) or the way they look? You can make buttons look like hyperlinks using CSS, if that's what you want.
Cheers,
-- http://www.joergjooss.de mailto:ne********@joergjooss.de
Thanks for that....
"Vishnu-Chivukula" wrote: Hi Irfan,
You can apply CSS styles to controls such as labels, linkbuttons, etc. Any Control that contains a CssStyle property can be stylesheet(ed).
<asp:Button id="Button2" Text="Hi" CssClass="buttonStyle" runat="server"/>
You can either use an external file for getting stylesheet info or use the <STYLE> Tag in HTML Code for the same.
A sample one can be like this.. Chenge the values to suite your need.
.buttonStyle { FONT-WEIGHT: bold; FONT-SIZE: 9pt; TEXT-TRANSFORM: capitalize; COLOR: white; FONT-FAMILY: Verdana; BACKGROUND-COLOR: navy }
BTW, Instead of this as Jeppe pointed out, you can use the linkbutton
Hope this helps..
Need any help, do post a msg back...
Happy Coding
"Irfan Akram" wrote:
Yeah that will be wonderful, how can we achieve that ?
Thanks,
I.A
"Joerg Jooss" wrote:
Irfan Akram wrote:
> Hi Guys, > > I've got a simple question for all of you guys. I have just noticed > that I have alot of buttons on my screen. Is there any that those > buttons be replaced by anything more sophisticated ? e.g. HyperLinks, > without getting rid of the code that has been written on the click of > the button.
What's wrong with your buttons? The fact that they *are* buttons (and cause form submits) or the way they look? You can make buttons look like hyperlinks using CSS, if that's what you want.
Cheers,
-- http://www.joergjooss.de mailto:ne********@joergjooss.de This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Laphan |
last post by:
Hi All
Wondered if you could help me even though the NG might not be the most
relevant to my query.
Basically I have a WinXP machine (SP1 with all web updates don't want to
upgrade to SP2...
|
by: Colleyville Alan |
last post by:
I have an application that has an Access table that stores the locations of
slides in a Powerpoint file. This used to work fine when there were about 4
files and 200 slides. The database would...
|
by: Darryl Neale |
last post by:
I have been tasked with reviving an old database that stopped working
about 3 years ago :(
On one of the tabs is a list of links to other databases utilising the
Hyperlink feature of MS Access...
|
by: Tim |
last post by:
Access 97: I have a table with a hyperlink field that I display on a form. I can
click on the form field and the hyperlink activates correctly.
However, if I try to activate the hyperlink using VB...
|
by: Brett |
last post by:
Hi,
Here's a strange one:
I have built a single page model for a website, that uses 3 panel
controls which load usercontrols dynamically, based on the querystring
PageMode parameter that you...
|
by: Seefor |
last post by:
Hi, I want my text hyperlinks to have a dotted border underneath, so I did
this which works fine:
a,
a:link,
a:visited,
a:hover,
a:active {
color: #000;
text-decoration: none;
|
by: Robin |
last post by:
Hello!
I'm having trouble with links and hyperlinks in MS Access 2003 - any
help would be great!
Question 1!
The "insert hyperlink" icon opens a browser window, allows the user to
browse...
|
by: Janna |
last post by:
Hello tech savvy gurus! I hope someone can help me!
THE PROBLEM:
"Cannot open specified file" when I click on a hyperlink in an Access database when it is located on our server.
THE...
|
by: jonny |
last post by:
I would like to add a password and user name to my website. If the
username and password is correct than activate the hyperlinks and
buttons.
Could you please share some code how how to achieve...
|
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,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |