Solved

DataGridTemplateColumn selected row issue

Posted on 2009-05-13
2
514 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: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

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…
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…
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…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

749 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