?
Solved

DataGridTemplateColumn selected row issue

Posted on 2009-05-13
2
Medium Priority
?
528 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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

This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
As more and more people are shifting to the latest .Net frameworks, the windows presentation framework is gaining importance by the day. Many people are now turning to WPF controls to provide a rich user experience. I have been using WPF controls fo…
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 is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

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