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

Difference of Control.Text and ControlText

Thread ID:





87027 Jul 10,2009 01:20 AM UTC Jul 10,2009 03:22 PM UTC ASP.NET Web Forms (Classic) 1
Tags: GridGroupingControl
Administrator [Syncfusion]
Asked On July 10, 2009 01:20 AM UTC

Hello there,

While implementing a GridDataBoundGrid on our form, I realise that the Renderer property of the CurrentCell have two similar properties, which are Control.Text and ControlText. Is there a difference between them?


Rajadurai C [Syncfusion]
Replied On July 10, 2009 03:22 PM UTC

Hi David,

Thanks for your interest in Syncfusion Products.

CurrentCell.Renderer.ControlText refers to the GridCellRendererBase class of Syncfusion namespace and CurrentCell.Renderer.Control.Text refers to TextBox' text.

To handle different functionalities with the textbox' text, it has been handled in GridCellRendererBase in such a way that, when a text is assigned in the textbox(grid cell), the renderer.control.Text property receives the text and raises TextBoxChanged event in which the ControlText property is reset with the updated value.

Hence, on changing the value in cc.Renderer.Control.Text, immediately changes value in cc.Renderer.ControlText.



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