Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Can we use html Tag in GridView

Reply
Thread Tools

Can we use html Tag in GridView

 
 
ad
Guest
Posts: n/a
 
      04-24-2006
I want to change some color of words in a GridView.
So I add some Html tag to the words in a Gridview like:

<font color='Red'>MyTest Words</font>

But the it did not change the color but jset how the Html tag around it.

If we can use html tag in the content of GirdView?


 
Reply With Quote
 
 
 
 
Jan Hyde
Guest
Posts: n/a
 
      04-25-2006
"ad" <>'s wild thoughts were released
on Tue, 25 Apr 2006 05:33:25 +0800 bearing the following
fruit:

>I want to change some color of words in a GridView.
>So I add some Html tag to the words in a Gridview like:
>
><font color='Red'>MyTest Words</font>
>
>But the it did not change the color but jset how the Html tag around it.
>
>If we can use html tag in the content of GirdView?
>


Yes you can, but I think you need to post more to determine
why it'n not working for you.

I added your example in my RowDataBound event in the grid
I'm working on now, and I see nice red text as expected.





Jan Hyde (VB MVP)

--
Rich foods are like destiny. They, too, shape our ends. (Art. Moger)

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML.Tag.BASE same as HTML.Tag.A carlbernardi@gmail.com Java 1 11-29-2006 03:41 AM
how do u invoke Tag b's Tag Handler from within Tag a's tag Handler? shruds Java 1 01-27-2006 03:00 AM
How Can I put XSL tag inside HTML form tag? RC Java 2 05-10-2005 06:26 PM
How Can I put XSL tag inside HTML form tag? RC XML 2 05-10-2005 05:55 PM
when use ID and when use NAME in a HTML tag ?? Ton den Hartog Javascript 9 12-02-2003 07:24 PM



Advertisments