Questions tagged [headertext]
25 questions
22
votes
2 answers
How do I break the a BoundField's HeaderText
In HTML in the td of a table you can break text by using
between the words. This also works in the HeaderText of a TemplateItem but not the HeaderText of a BoundField. How do I break up the Header text of a BoundField.
between the words. This also works in the HeaderText of a TemplateItem but not the HeaderText of a BoundField. How do I break up the Header text of a BoundField.

minty
- 22,235
- 40
- 89
- 106
3
votes
2 answers
What is difference between GridView1.HeaderRow.Cells[4].Text and GridView1.Columns[4].HeaderText?
I placed a Placeholder server control on aspx page.
create a Grid-view instance in code behind.
set data-source to it
Now i want to change it header text.so first i tried as given below:
GridView1.Columns[4].HeaderText = "ABC";
header text not…

Sukhjeevan
- 3,074
- 9
- 46
- 89
2
votes
2 answers
Flex 4 DataGridColumn: Function Binding to headerText dose not work
i have a big problem to bind this method:
[Bindable(event=LOCALE_CHANGED_EVENT_TYPE)]
public static function localeString(pathInLocale:String):String
{
var value:String=LocaleUtil.getValueFromLocaleFromStringPath(pathInLocale);
if (value ==…

Devian88
- 85
- 6
1
vote
1 answer
TemplateField HeaderText ASP
I want HeaderText to be displayed only when Edit Mode is active
I don't have Insert…

levi
- 3,451
- 6
- 50
- 86
1
vote
2 answers
static variables as Header of TemplateFields in grdiv view asp.net
I have the asp.net application where I am having the editable grid view with the edit,Delete,Add options. this grid having as usual Template fields. I have also a static Class that having static string variables. I want to keep these static…

Red Swan
- 15,157
- 43
- 156
- 238
1
vote
1 answer
How to switch off validation summary HeaderText for a perticular CustomValidator
I have 6 required field validators and 1 custom validator. ErrorMsg is common for required fields so I have set that msg to validation summery headertext but the problem is that error message is coming with custom validator too. In case of custom…

ppp
- 303
- 2
- 9
- 22
1
vote
4 answers
Gridview, change dynamically headerText
I have a gridview and I want to change dynamically the name of header. It is possible ?
I have this code :
OracleCommand cmdReqStockComp = new OracleCommand(reqStockCompTotal);
cmdReqStockComp.Connection = oConnexion;
OracleDataReader…

user2265252
- 65
- 1
- 5
- 13
1
vote
2 answers
Text with resources and HTML in TemplateField
I nedd to insert a text in resource file with html in the attribute HeaderText of a TemplateField.. I cant use an HeaderTemplate because the sorting does not work... Neither with this solution (the datasource result in null).
So im trying a solution…

Simone
- 2,304
- 6
- 30
- 79
1
vote
0 answers
How to pull out headertext for gridview from database?
So here is the scenario. I need to pull out headertext from database for my gridview. I am going to give the column name of the given fields that I want from the database becuase I dont need to show all the columns from database to gridview. Here is…

HereToLearn_
- 1,150
- 4
- 26
- 47
0
votes
1 answer
Need dynamic Gridview header text from Parent control's data
Here is the scenario I'm trying to implement.
I have a list of Product objects, each of which has a list Price objects. I'm trying to display this data by using a DataList, where each element of the DataList is a GridView for a Product,…

unnknown
- 1,715
- 2
- 19
- 37
0
votes
2 answers
How do I wrap header text if my data source is a DataTable?
I have a GridView whose data source is built dynamically as a DataTable - how can I specify column-specific header wrapping considering I'm specifying the structure in code?
I've not found anything to deal with this specific situation as I need to…

Alex
- 2,681
- 3
- 28
- 43
0
votes
1 answer
GridView column .different fonts for headertext
i have a requirement to show a gridview column as mandatory field(using asterix sign) ie
SomColumn1 SomeColumn2*
my problem is how can i make the column name and asterisk sign in two different fonts
meaning SomeColumn2 is blue color and * is Red…

sajad
- 923
- 2
- 10
- 25
0
votes
0 answers
Asp.Net GridView HeaderText Delay Update On GridView Column Dropdownlist SelectedIndexChange C#
I have a gridview Binded on PageLoad(). There is a column with DropDownList. On DropDownList SelectedIndexChange i would need to updated HeaderText of 2 columns.
As shown above on First time SelectedIndexChange, it's not updating HeaderText of…

Sumeet Kumar
- 321
- 4
- 17
0
votes
1 answer
Change headertext in dynamic gridview with sqlCommand
I created a dynamic gridview which I send in an email. But all works except for the headertext. I can't seem to find how i can define the headertext.
My sqlCommand displays 4 columns, but when i use:
LabelTest.Text = "Init Count: "…

Dieter
- 401
- 1
- 9
- 31
0
votes
2 answers
GridView FindControl returns null when HeaderText is set
I have a GridView...

Russell Giddings
- 8,731
- 5
- 34
- 35