Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to find a template column bound control's datafield?

3 views
Skip to first unread message

Mark Tiede

unread,
Jul 25, 2008, 8:11:15 AM7/25/08
to
I am trying to write some generalized code. What I want to do, is start at
a datagrid that has a templatecolumn with a checkbox linked to a boolean
field and "navigate" my way back to the bound control's datafield without
doing any FindControls. I can SEE the (DataBindings) in the object
inspector, but I can find a syntax to allow me to get into the dataitem
fieldname at runtime.

.Net 1.1


Mark Tiede

unread,
Jul 25, 2008, 8:27:58 AM7/25/08
to
That was:

"I CAN'T find a syntax..."

not

"I CAN find a syntax"

oops...


Marc Rohloff [TeamB]

unread,
Jul 25, 2008, 9:05:00 AM7/25/08
to

Generally, for TemplateColumns, data binding generates code that
executes. The databindings you see are only available in the designer
and not via runtime properties.

--
Marc Rohloff [TeamB]
marc -at- marc rohloff -dot- com

0 new messages