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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

One click button in datagrid control

Thread ID:





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

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 01:19 PM UTC

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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

Warning Icon 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.Close Icon