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

Discussion in 'ASP .Net Mobile' started by EricV, Sep 12, 2008.

  1. EricV

    EricV Guest

    I have a mobile TextView control and dynamically load some text for the
    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:Form ID="Form2" Runat="server" StyleReference="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.
    EricV, Sep 12, 2008
    1. Advertisements

  2. EricV

    Ozoid Guest


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

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

    Ozoid, Oct 26, 2008
    1. Advertisements

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 (here). After that, you can post your question and our members will help you out.