Why cant I do this in .Net 2.0? [modified]
-
This was fine when I use at .Net 1.1 for the gridview cells, A (in red colour). But the output for .Net 2.0 was A public string strAbsent = "A"; -- modified at 4:13 Monday 21st August, 2006 thanks in advance. Much appreciated.
-
This was fine when I use at .Net 1.1 for the gridview cells, A (in red colour). But the output for .Net 2.0 was A public string strAbsent = "A"; -- modified at 4:13 Monday 21st August, 2006 thanks in advance. Much appreciated.
Could you please rephrase your question. As it stands all I have is what the output is in .NET 2.0, for which I have no context, and "Why can't I do this in .net 2.0?". Why can't you do what? What worked fine in 1.1? What is wrong with the output from 2.0?
-
This was fine when I use at .Net 1.1 for the gridview cells, A (in red colour). But the output for .Net 2.0 was A public string strAbsent = "A"; -- modified at 4:13 Monday 21st August, 2006 thanks in advance. Much appreciated.
You will have to use HTMLEncaode=false Here is a post telling the reason http://vikramlakhotia.com/Post.aspx?postID=5 Vikram Lakhotia
-
Could you please rephrase your question. As it stands all I have is what the output is in .NET 2.0, for which I have no context, and "Why can't I do this in .net 2.0?". Why can't you do what? What worked fine in 1.1? What is wrong with the output from 2.0?
In the past, in .Net 1.1 I have a datagrid and I binded my data using datatable, dataset etc. I have set earlier public string strAbsent = "A"; In some column the output will show A in red colour in the datagrid. Now, I am migrating the project to .Net 2.0. I have a gridview and I binded my data using datatable, dataset etc. But it appears that the output A is no longer in red colour but instead it shows exactly the html tags: A thanks in advance. Much appreciated.
-
You will have to use HTMLEncaode=false Here is a post telling the reason http://vikramlakhotia.com/Post.aspx?postID=5 Vikram Lakhotia
How can i set htmlencode="False" when im not using any boundcolumns? Is there any way to set A to red colour.
thanks in advance. Much appreciated.
-
How can i set htmlencode="False" when im not using any boundcolumns? Is there any way to set A to red colour.
thanks in advance. Much appreciated.
-
Sorry maybe I did not explain clearly. The above html tags was from the codebehind. how can I edit the item-template when I would not know where the letter A will appear in the gridview. ------------------------ | |A | | | | | | | | | | A| | | | | | | | | | | | | | | |__|__| A|__|__|__| Some other letter will appear at the blank cells in the gridview. My purpose is to highlight to user, A with red colour so it catch reader eyes to notice the number of As. -- modified at 14:10 Tuesday 22nd August, 2006 thanks in advance. Much appreciated.