RE: [Mono-list] Problem with DataBinder.Eval(Container.DataItem, )

2005-06-03 Thread Carl Olsen
I'm not sure I understand the problem, but you should be able to define a function and use it on the DataItem. Say, for example, that I wanted to change the color of the text depending on the value of the DataItem (say, for example, true and false): In the code behind page, I have this:

Re: [Mono-list] Problem with DataBinder.Eval(Container.DataItem, )

2005-06-03 Thread David P. Donahue
That'll teach me to try in-line when I'm a code-behind man :) Your approach is definitely working, thanks! Regards, David P. Donahue [EMAIL PROTECTED] Carl Olsen wrote: I'm not sure I understand the problem, but you should be able to define a function and use it on the DataItem. Say, for