Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7800055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T00:30:36+00:00 2026-06-02T00:30:36+00:00

The thing is had a button that would do that but i decided it

  • 0

The thing is had a button that would do that but i decided it to use an hyperlink, int the code you will see that the button i was using was redirecting me to the team page, in wich the id would give the information that would fill the other fields. Basically i am in the player page and i wantoi it to redirect to the the players team page by the id.

protected void Button4_Click(object sender, EventArgs e)
{
    int playerId = Convert.ToInt32(Request.QueryString["Id"]);

        DBLPlayers players = new DBLPlayers();
        Player player = players.SelectById(playerId);

    Response.Redirect("DetalhesClube.aspx?Id=" + player.Team.ID.ToString());
}
protected void CheckBoxList1_SelectedIndexChanged(object sender, EventArgs e)
{

}

}

How can i use the hyperlink to do this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T00:30:38+00:00Added an answer on June 2, 2026 at 12:30 am

    Is just a matter of UI visualization? Use a LinkButton instead… the code behind will remain the same.

    Do you prefer to have a direct HTML link to the new page? For each player load also the related team’s Id in you aspx page and use it to compose the <a> hiperlink.

    If you post the aspx code we could be more precise.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've always had a thing for C++/CLI. Maybe because not many developers use it...
Alright, I thought I had this whole setTimeout thing perfect but I seem to
I used to have a Buy Now button that would go through PayPal, and
First I thought that I had to convert JavaScript to PHP, but then I
One thing with which I have long had problems, within the CakePHP framework, is
The thing is this, in Android 1.5 and 1.6 we had the Icon Design
This might be the most stupid thing i've ever seen, i had a broken
I have tried several things so far, but I haven't had much luck yet.
I was reading this post and had a question that I didn't think it
Thing is, I don't see these ENUMs producing pull-down menus in CakePHP scaffolding, so

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.