Grid View CommandField assign the Header text

Posted by Sushilkumar.Sush under ASP.NET on 9/11/2012 | Points: 10 | Views : 4165 | Status : [Member] | Replies : 1
Hi All,

I need the help for the assign the header text for Command field in asp grid view i have the submit code as below .

<asp:CommandField ShowEditButton="true" EditText="<img src='../Images/NewSAD3.5Images/Edit.png' border='0' />"
UpdateText="<img src='../Images/NewSAD3.5Images/Update.png' border='0' />" CancelText="<img src='../Images/NewSAD3.5Images/Cancel.png' border='0' />"
ButtonType="Link">
<ItemStyle HorizontalAlign="Center" Width="50" />
</asp:CommandField>

Above the code i need the HeaderText on row bound or other event .
Actually i want assign the text Dynamic(language wise).

Thanks in Advance .

Thanks and regards
Sushilkumar Shinde

Sushilkumar Shinde


Responses

Posted by: Ranjeet_8 on: 9/11/2012 [Member] [MVP] Gold | Points: 25

Up
0
Down
Refer this url and replace ur image button with Edit/Delete/Update Link.
http://www.dotnetfunda.com/articles/article1619-how-to-perform-edit-update-and-delete-operation-in-gridview.aspx

Sushilkumar.Sush, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response