Re: Problem accessing Text property of asp:ButtonColumn column

From: Alvin Bruney [MVP] (vapor)
Date: 03/09/04


Date: Tue, 9 Mar 2004 07:37:56 -0600

Your post went unanswered. Have you resolved this issue? If you still need
help, please post the original question with your request.

-- 
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
"Mohamed Ben" <mbenmouffok@multicorpora.ca> wrote in message
news:%23WP%23oKTAEHA.2316@TK2MSFTNGP10.phx.gbl...
> 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
>
>