?
Solved

DataGridTemplateColumn selected row issue

Posted on 2009-05-13
2
Medium Priority
?
544 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

Nothing ever in the clear!

This technical paper will help you implement VMware’s VM encryption as well as implement Veeam encryption which together will achieve the nothing ever in the clear goal. If a bad guy steals VMs, backups or traffic they get nothing.

Question has a verified solution.

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

zlib is a free compression library (a DLL) on which the popular gzip utility is built.  In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file.  We'll be c…
For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
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…

807 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