How to get name selected column in datagrid.


hello everyone,

                   i'm facing problem while perfomarming scenario on silverlgiht datagrid.the scene follows,

1)i have datagrid.it has  text columns , template columns different names.

2)the requirement , have apply sorting on column.for need column name.

3)i want column name ,when click on column.

   for ex : suppose have first name column in datagrid  and when i'll click on ,i want capture column name in code behind.

which event  of datagrid should use ?how can catch name of column in datagrid on click on column?

please  guide me asap.stuck urgent work.



prashant wani ,software engineer-ii,infinx services pvt.ltd.

which event should trigger clicking on column name?

hi,

there no such event use directly.
understanding .

but try implement kind of function below link shows you:

http://social.msdn.microsoft.com/forums/en-us/1e6f9da0-d2ad-42ab-b95a-1103224ce7f7/how-to-get-the-column-header-name-when-a-cell-is-clicked-in-datagrid?forum=wpf

best regards,


we trying better understand customer views on social support experience, participation in interview project appreciated if have time. helping make community forums great place.
click here participate survey.






Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

Motherboard replacement

Cannot create Full Text Search catalog after upgrading to V12 - Database is not fully started up or it is not in an ONLINE state

Remote Desktop App - Error 0x207 or 0x607