Skip to main content

Microsoft Silverlight

Answered Question Selection row in dataGridRSS Feed

(0)

slen
slen

Member

Member

10 points

59 Posts

Selection row in dataGrid

It is kinda annoying that my selection of datagrid row doesn't change when I click on the link on the datagrid. 

For example, 

Initially,  row #1 is selected, but I click on the link in row #4. The row#1 is still being selected. What can be done to solve this problem? When I click on the other cells are okay. The selection row works perfectly. 

 

Thanks

 

slen
slen

Member

Member

10 points

59 Posts

Re: Selection row in dataGrid

Sorry. I got this problem solve when I upgraded to silverlight 3...

So. it is a version problem then. 

is there any approach that can be done to this  problem for silverlight 2?

Thanks

 

Jonathan Shen – MSFT
Jonathan...

All-Star

All-Star

24939 points

2,425 Posts

Microsoft
Answered Question

Re: Selection row in dataGrid

Hi Slen,

We can do it manually.  However, Silverlight 3 RTW will be released shortly after.  You can pay heed to Silverlight.net for the exciting moments. Thanks for your post.

Best regards,

Jonathan

Jonathan Shen
Microsoft Online Community Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

ssenthil
ssenthil

Member

Member

501 points

108 Posts

Answered Question

Re: Selection row in dataGrid

Hi

A small idea

If you are able to get selected row datacontext below mentioned code can help u

So when selecting other rows first clear 

this.Datagrid.SelectedItems.clear();

 and add that row object

this.DynamicDatagrid.SelectedItems.Add(yourobject);

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities