We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

One click button in datagrid control

Thread ID:





102036 Dec 15,2011 01:39 PM Jan 6,2012 08:19 AM Silverlight 1
Tags: GridControl
Darryl Mataya
Asked On December 15, 2011 01:39 PM

We have a GridDataControl with a column containing a button. We are trying to get the button to respond with the first click, but it seems the first click is needed to select the cell, then the 2nd click will fore a button click, regardless of the ActivateCurrentCellBehavior setting. This is the xaml for the column:

Rajasekar [Syncfusion]
Replied On January 6, 2012 08:19 AM

Hi Darryl,

Thanks for your patience, At present we don’t have support for in- built cell type for ‘Button’ in our Silverlight Grid. However, In order to achieve your requirement we have prepared the custom cell renderer for Button CellType. By using this, you can invoke the button click method in the first click itself.

Please find the custom cell renderer and sample in the below location,

Sample with custom cell renderer class:


Please let us know if you have any queries.



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.