Literal text inside form markup -<a> does not hyperlink

E

EricV

Hi,
I have a mobile TextView control and dynamically load some text for the
control.
My problem is that the hyperlink tag <a> inside the markup does not yield
to a valid hyperlink.

So the page l looks like :

<mobile:Form ID="Form1" Runat="server" StyleReference="Form">
<mobile:TextView ID="textview1" Runat="server">
some text.... <a>#Form2</a> .... more text.
</mobile:TextView>
</mobile:Form>
<mobile:Form ID="Form2" Runat="server" StyleReference="Form">
Hello!
</mobile:Form>

The inner text of <a>#form2</a> displays a hyperlink allright. However the
link is always made to the home page of the application.
<a>http://mysite</a> fails as well, if you click you go the homepage.

Any comment is appreciated.
-Eric
 
O

Ozoid

Hi

You should use the href attribute to point to your page/form

<a href="#Form2">Link to Form2</a>

Steve
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,042
Latest member
icassiem

Latest Threads

Top