Hyperlink

Discussion in 'ASP .Net' started by =?Utf-8?B?Ym9iYnk=?=, Sep 28, 2007.

  1. I have a link in my aspx page. When I click on that link it should take me to
    another page Login.aspx which is in another application named mysite.

    So path will be ~/mysite/Login.aspx. where I am passing
    AppID={0}&ReturnUrl={1};
     
    =?Utf-8?B?Ym9iYnk=?=, Sep 28, 2007
    #1
    1. Advertisements

  2. On Sep 28, 6:56 pm, bobby <> wrote:
    > I have a link in my aspx page. When I click on that link it should take me to
    > another page Login.aspx which is in another application named mysite.
    >
    > So path will be ~/mysite/Login.aspx. where I am passing
    > AppID={0}&ReturnUrl={1};


    HyperLink1.NavigateUrl = String.Format("mysite/Login.aspx?
    AppID={0}&ReturnUrl={1}",
    AppID,
    Server.UrlEncode(HttpContext.Current.Request.RawUrl));
     
    Alexey Smirnov, Sep 29, 2007
    #2
    1. Advertisements

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ravindra

    Adding hyperlink to winforms datagrid

    Ravindra, Dec 13, 2005, in forum: ASP .Net
    Replies:
    0
    Views:
    685
    Ravindra
    Dec 13, 2005
  2. VB Programmer
    Replies:
    0
    Views:
    493
    VB Programmer
    Jun 30, 2003
  3. Ingeborg

    hyperlink/button

    Ingeborg, Jul 5, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    910
    Jos Branders
    Jul 5, 2003
  4. les

    asp:literal and hyperlink field

    les, Jul 5, 2003, in forum: ASP .Net
    Replies:
    6
    Views:
    1,231
    msnews.microsoft.com
    Jul 14, 2003
  5. Leigh Kendall

    Hyperlink w/ImageUrl bug?

    Leigh Kendall, Jul 29, 2003, in forum: ASP .Net
    Replies:
    8
    Views:
    690
    John Soulis [MSFT]
    Aug 19, 2003
  6. davetichenor
    Replies:
    1
    Views:
    1,098
    Eliyahu Goldin
    Oct 30, 2006
  7. Ken
    Replies:
    1
    Views:
    659
    Alvin Bruney
    Aug 16, 2003
  8. Dave
    Replies:
    0
    Views:
    1,214
Loading...