Solved

DataGridTemplateColumn selected row issue

Posted on 2009-05-13
2
501 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

This article describes how to programmatically preset the "Pages per Sheet" option that's available with most printer drivers.   This setting lets you do "n-Up" printing, where two, four, or more pages are printed on each sheet of paper. If your …
For most people, the WrapPanel seems like a magic when they switch from WinForms to WPF. Most of us will think that the code that is used to write a control like that would be difficult. However, most of the work is done by the WPF engine, and the W…
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…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

762 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now