Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Datagrid Control > Problem accessing Text property of asp:ButtonColumn column

Reply
Thread Tools

Problem accessing Text property of asp:ButtonColumn column

 
 
Mohamed Ben
Guest
Posts: n/a
 
      03-03-2004
Hi,

I have a datagrid where the first column has the following structure

<Columns>
<asp:ButtonColumn HeaderText="Select Item" ButtonType= "LinkButton"
....Text = "Select">
...
<Columns>

This creates a column containing LinkButtons where the hyperlink text is
"Select". My problem is that I would to change the "Text" property of this
column at run time for localization purposes. Is there a way to change the
Text property of this column at runtime?

I tried to search for this property using the line of code below, but the
"Text" property doesn't seem to be there.

mygrid.Columns[0]. <?????>


Thanks,

Mo


 
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
GridView - Setting the text of the 'select' column to the value of another column Greg Smith ASP .Net 0 04-12-2007 03:11 PM
GridView - Setting the text of the 'select' column to the value of another column Greg Smith ASP .Net Web Controls 0 04-12-2007 02:40 PM
Gridview text box column loses value after changing .Visible property landesjoe@yahoo.com ASP .Net 0 02-05-2007 05:46 PM
How to hide a GridView column when the column's Visible property does not support databinding? Keithb ASP .Net 2 10-27-2006 05:02 AM
Image in header column (not replacing column header text) hansiman ASP .Net Datagrid Control 3 02-07-2004 12:17 AM



Advertisments