Welcome Guest Search | Active Topics | Sign In | Register

Load Text for DeleteCommandColumn from code behind. Options
Peter B
Posted: Monday, January 10, 2011 9:10:25 AM
Rank: Advanced Member
Groups: Member

Joined: 8/2/2009
Posts: 39
Hi,

Because of localization i need to load all text fields for the grids from code behind.

Column headers where easy:

Code: C#
gvType.Columns[1].HeaderText = "Sprache";

but i could not find a way to load the delete text for my button

Code: HTML/ASPX
<Columns>
<eo:DeleteCommandColumn ClientSideBeginEdit="" 
   DeleteText="Löschen" ReadOnly="True" Width="70">
<ButtonStyle CssText="" />
</eo:DeleteCommandColumn>


Please help
Peter
eo_support
Posted: Monday, January 10, 2011 11:24:40 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

You will need to cast the gvType.Columns[i] to the actualy column type, after that you will be able to access everything on that column.

Thanks!
Peter B
Posted: Monday, January 10, 2011 1:42:43 PM
Rank: Advanced Member
Groups: Member

Joined: 8/2/2009
Posts: 39
Your answer was really helpfull and fast.

Many thanks and all the best for you guys!

Peter


eo_support wrote:
Hi,

You will need to cast the gvType.Columns[i] to the actualy column type, after that you will be able to access everything on that column.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.