Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / October 2005

Tip: Looking for answers? Try searching our database.

Button that allows right click to open in new tab?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Randall Parker - 31 Oct 2005 19:25 GMT
Short of generating my own icons is there a way to get the appearance of a button on
a form but with behavior that is like a regular link?

In particular, I want to be able to right click on a "button" and choose "Open in new
tab" or "Open in new window" (given that the user's browser supports either of these
options).

The handy thing about HTML buttons is that they can have their visible text value set
and then the buttons can have different text on each row in a grid. e.g. "Edit Record
1" or "Edit Record 2". But those HTML buttons do not allow regular text link style
behavior.

So how to get button appearance without generating each icon for each row dynamically
on the server?
Bruce Barker - 31 Oct 2005 19:53 GMT
you are kinda stuck. you could  button image, then position text on top, but
you run into sizing issues. you might try a link with a small go image as a
compomise

   mylink (go)

or just switch to a real link, buttons are sooo yesterday anyway.

-- bruce (sqlwork.com)

> Short of generating my own icons is there a way to get the appearance of a
> button on a form but with behavior that is like a regular link?
[quoted text clipped - 10 lines]
> So how to get button appearance without generating each icon for each row
> dynamically on the server?
chris@oaksong.com - 31 Oct 2005 20:52 GMT
Off the top of my head I can't remember where I saw the anwswer to
this. It may have been off the links at http://www.csszengarden.com,
however I know there's a CSS2 solution to this, where you can position
text on top of a button image.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.