473,480 Members | 4,841 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Links in web datagrid - letting a user click on a datagrid cell

VM
Is it possible for the bound data in a web datagrid to be displayed in
links?
The grid will show the client's first name and last name and, when the user
clicks on the first or last name, I want to get the cell the user clicked
(thus getting the client he chose), and take the user to another separate
page that will show that client's complete information.

It doesn't really have to be like that (there could be another extra
column - as a row header - with a button for each row, or checkboxes, or...)
but I need a way to know what cell a user chose.
Any suggestions are greatly appreciated.

Thanks.
Nov 15 '05 #1
1 4628

Hi VM,

If you have any concerns, please feel free to let me know.

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.

--------------------
| X-Tomcat-ID: 190387052
| References: <uh**************@TK2MSFTNGP12.phx.gbl>
| MIME-Version: 1.0
| Content-Type: text/plain
| Content-Transfer-Encoding: 7bit
| From: v-*****@online.microsoft.com (Jeffrey Tan[MSFT])
| Organization: Microsoft
| Date: Wed, 13 Aug 2003 05:15:42 GMT
| Subject: RE: Links in web datagrid - letting a user click on a datagrid
cell
| X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| Message-ID: <cN**************@cpmsftngxa06.phx.gbl>
| Newsgroups: microsoft.public.dotnet.languages.csharp
| Lines: 49
| Path: cpmsftngxa06.phx.gbl
| Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.languages.csharp:176047
| NNTP-Posting-Host: TOMCATIMPORT2 10.201.218.182
|
|
| Hi VM,
|
| You can use HyperLinkColumn to display the certain column in links.
| You can use DataNavigateUrlField property to navigate certain item to
| different links.
|
| For more information, please visit:
|
http://msdn.microsoft.com/library/de...us/cpref/html/
|
frlrfsystemwebuiwebcontrolshyperlinkcolumnclassdat anavigateurlfieldtopic.asp
|
| Hope this helps.
|
| Jeffrey Tan
| Microsoft Online Partner Support
| Get Secure! - www.microsoft.com/security
| This posting is provided "as is" with no warranties and confers no rights.
|
| --------------------
| | From: "VM" <None>
| | Subject: Links in web datagrid - letting a user click on a datagrid cell
| | Date: Mon, 11 Aug 2003 18:02:23 -0500
| | Lines: 15
| | X-Priority: 3
| | X-MSMail-Priority: Normal
| | X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| | Message-ID: <uh**************@TK2MSFTNGP12.phx.gbl>
| | Newsgroups: microsoft.public.dotnet.languages.csharp
| | NNTP-Posting-Host: 66-50-71-202.prtc.net 66.50.71.202
| | Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
| | Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.languages.csharp:175726
| | X-Tomcat-NG: microsoft.public.dotnet.languages.csharp
| |
| | Is it possible for the bound data in a web datagrid to be displayed in
| | links?
| | The grid will show the client's first name and last name and, when the
| user
| | clicks on the first or last name, I want to get the cell the user
clicked
| | (thus getting the client he chose), and take the user to another
separate
| | page that will show that client's complete information.
| |
| | It doesn't really have to be like that (there could be another extra
| | column - as a row header - with a button for each row, or checkboxes,
| or...)
| | but I need a way to know what cell a user chose.
| | Any suggestions are greatly appreciated.
| |
| | Thanks.
| |
| |
| |
|
|

Nov 15 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1957
by: Graham Y | last post by:
I have a datagrid, populated via a SQL dataset, and I want the user to select a row by clicking on it and then using the value in the first cell as my key for my next query. Using...
4
15430
by: Terry | last post by:
Hey, Having somewhat of an issue, I have a datagrid which is giving me issues. The Datagrid is setup for the user to double click the row, the row is selected and data within that row populates a...
3
3302
by: Dmitry Akselrod | last post by:
Hi, I am using a standard .NET 1.0 Datagrid. Actually, I am using two, bound to a master-detail relationship. Both DataGrids are bound to a datasource. I have the MSDN version of the...
2
9904
by: Chris Plowman | last post by:
Hi all, I was wondering if anyone can help me with a really annoying problem I have been having. I made a derived datagrid class that will select the row when a user clicks anywhere on a cell...
0
2454
by: sameer mowade via .NET 247 | last post by:
Hello All, I have problem while dynamically removing row from the Datagrid which i have added dynamically as shown in the following code snippet. The problem is that while removing dynamically...
10
4923
by: JohnR | last post by:
I have a datatable as the datasource to a datagrid. The datagrid has a datagridtablestyle defined. I use the datagridtablestyle to change the order of the columns (so they can be different than...
3
2275
by: Ryan Liu | last post by:
Can someone give a sample to prevent a row from being deleted in a datatable? I tried e.Row.RejectChanges(); in dt_RowDeleting() but seems does not work. I need verify if there other data...
2
2833
by: Peter | last post by:
ASP.NET 2003 In the DataGrid how do I select current cell value in the dropdown box when I click on the edit link, currently when I click on the edit link in the DataGrid the dropdown box...
0
934
by: Steve Hershoff | last post by:
Hi everyone, I'm using the paging feature in the DataGrid class for the first time, and am having some trouble. I have an asp button column in the DataGrid, and when I click on it my...
0
7040
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6905
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7041
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5331
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4772
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4478
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.