Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to dynamically change itemstyle in datagrid

Status
Not open for further replies.

sjctechno

Programmer
Oct 14, 2002
27
US
I have a datagrid which I am dynamically binding columns to, and I would like to change the formating of some of the columns. I figured out most of it, but some things (like font-bold="True") seem to be tied to "Itemstyle", and whatever I do to change it, at always coes back as "read only".

What am I missing? Thanks
 
check out the onItemDataBound event:

penny1.gif
penny1.gif
 
This looks close, but I don't see how I can use this
a) to modify columns and
b) to overcome the "read only" status of the properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top