Solved

DataGridTemplateColumn selected row issue

Posted on 2009-05-13
2
512 Views
Last Modified: 2013-11-12
have a datagrid that contains a few DataGridTemplateColumn's.  When I select just a regular column, the row selected row changes.  So, lets say I selected a regular datagrid column at the 5th row.  Now row #  5 is selected.  But, when I select a DataGridTemplateColumn, say on row # 2, the row selected remains on row # 5.  

I need the selected row to change, because I have business rules surrounding the selected row.  How do I work around this?

0
Comment
Question by:dchau12
2 Comments
 

Expert Comment

by:EliteMikeS
ID: 24434907
can you post some code?
0
 

Accepted Solution

by:
dchau12 earned 0 total points
ID: 24435013
I ended up ditching that rout and using a RowDetailsTemplate instead.  It ended up being a ton cleaner for my needs.
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Having Trouble with MS Access 2010 CommandBars 19 104
Need to create an object factory 2 47
Best book to learn C++ 4 84
Please explain "Multi-Tenant Services" 5 99
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
Entering time in Microsoft Access can be difficult. An input mask often bothers users more than helping them and won't catch all typing errors. This article shows how to create a textbox for 24-hour time input with full validation politely catching …
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question