Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > Other .NET > General .NET
| Search | Today's Posts | Mark Forums Read
General .NET For general discussion of MICROSOFT .NET topics that don't fall within any of the other .NET forum subcategories or .NET language forums.  If your question is specific to a language (C# or Visual Basic) or type of application (Windows Forms or ASP.Net) try an applicable forum category. ** PLEASE BE SPECIFIC WITH YOUR QUESTION ** When posting here, provide details regarding the Microsoft .NET language you are using and/or what type of application (Windows/Web Forms, etc) you are working in, if applicable to the question. This will help others answer the question without having to ask.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the General .NET section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old January 19th, 2007, 02:46 AM
Authorized User
 
Join Date: Jan 2007
Location: , , .
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
Default hyperlink in a datagrid?

I wrote a code in C# which contains a datagrid which is having a hyperlink and we want when we click on this hyperlink it will redirect to another page and select all the selected messages.
How can i do this?

  #2 (permalink)  
Old January 25th, 2007, 12:37 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

What do you have so far?

Usually, you would just use a hyperlink column in the datagrid (v1.x). This generates the link for you. You just need to specify the details of the page to link to, and the querystring value to place in the link.

-Peter


Similar Threads
Thread Thread Starter Forum Replies Last Post
DataGrid Hyperlink maddy137 ASP.NET 1.0 and 1.1 Professional 1 August 29th, 2006 07:18 AM
Datagrid Hyperlink - new problem PLEASE HELP! skywalker1981 ASP.NET 1.x and 2.0 Application Design 2 April 5th, 2004 06:22 AM
DataGrid hyperlink Tangerine ASP.NET 1.x and 2.0 Application Design 2 March 24th, 2004 01:04 AM
Creating a Hyperlink in a datagrid aadz5 ASP.NET 1.0 and 1.1 Basics 0 October 25th, 2003 07:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.