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

LinkLabelCell and binding in GDBG

Thread ID:





51578 Nov 8,2006 07:50 PM UTC Nov 8,2006 09:20 PM UTC WinForms 1
Tags: GridControl
Mark Atkinson
Asked On November 8, 2006 07:50 PM UTC

I'm using the slightly modified LinkLabelCell model/renderer example in a GridDataBoundGrid and I'm having some difficulty with binding. There's probably a coupe of solutions for this but if someone knows an easy way, then great. In fatc, it's probably nothing to do with the LinkCell renderer as it is finding the best way to deal with the kind of one way binding I'm trying to accomplish.

My problem is that I'd like the cell text (highlighted in "linkable" blue and underlined) to not bind to the underlying data.
For example, if the underlying bound data value is "123", I might want the linkable text in the cell to read "Go To 123". But I never want the actual value of the data to be "Go To 123".

Currently I'm formatting and setting the Text property of the GridStyleInfo in the Model.QueryCellInfo event handler.
Is there a simple way to set the DataSourceUpdateMode? Or, possibly use some Parse/format methods?

Mark Atkinson
Replied On November 8, 2006 09:20 PM UTC

I think i found my own answer in: QueryCellFormattedText


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

This page will automatically be redirected to the 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