Gridview Currency Formatting - BoundField vs. Template Field

R

RCM

I'm having trouble formatting a currency value in a template field. I
have searched around and found all sorts of suggestions on how to
handle a BoundField, most importantly the necessity of setting
HTMLEncode to false in order for the format string to apply.

But I can't figure out how to apply formatting when I have a column
that is a templated field. The EditItemTemplate is a text box and the
ItemTemplate is a label, but when I look at the properties for those
objects, I don't see anything controls the format.

Can somebody point me in the right direction?

Thanks a bunch!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top