Showing posts with label hyperlink. Show all posts
Showing posts with label hyperlink. Show all posts

Monday, March 26, 2012

Newbie: Open other form when link is clicked

I have a hyperlink on my Web form (home.aspx). I want to open another
form (Login.aspx) when user clicks this link. How to do this? I also
want to maintain site map when another form gets opened."Rohit" <rpk.general@.gmail.comwrote in message
news:1192811576.682143.41250@.e34g2000pro.googlegro ups.com...

Quote:

Originally Posted by

I have a hyperlink on my Web form (home.aspx). I want to open another
form (Login.aspx) when user clicks this link. How to do this?


Well, the obvious answer is to change the hyperlink to point to Login.aspx
instead of home.aspx, but I guess that's not what you really mean...

Can you explain in a bit more detail what you're trying to do...

--
Mark Rae
ASP.NET MVP
http://www.markrae.net
In the client-side click event of the link, call window.open ('popup.aspx");

"Rohit" wrote:

Quote:

Originally Posted by

I have a hyperlink on my Web form (home.aspx). I want to open another
form (Login.aspx) when user clicks this link. How to do this? I also
want to maintain site map when another form gets opened.
>
>

Saturday, March 24, 2012

Newbie: Removing underline from Hyperlink

Hi,
I've added hyperlink objects to a web form & I would like to display them
without the underline. How can I do this?
The element in HTML appears to be <asp:Hyperlink

thus in a stylesheet:

asp:HyperLink
{
text-decoration:none
}

I tried to set this up in a stylesheet but no go.

How can i state a hyperlink object in a style sheet, or some other way to do
this?

Many thanks for any ideas on this

AntOn Sep 29, 10:13 am, Ant <A...@.discussions.microsoft.comwrote:

Quote:

Originally Posted by

Hi,
I've added hyperlink objects to a web form & I would like to display them
without the underline. How can I do this?
The element in HTML appears to be <asp:Hyperlink
>
thus in a stylesheet:
>
asp:HyperLink
{
text-decoration:none
>
}
>
I tried to set this up in a stylesheet but no go.
>
How can i state a hyperlink object in a style sheet, or some other way to do
this?
>
Many thanks for any ideas on this
>
Ant


for all links
a
{
text-decoration:none
}

per control

a.c1
{
text-decoration:none
}
...
<asp:HyperLink ... class="c1"...