I am trying to change the text on the header columns of the RADGRID. I have added the relevant code to the ItemDataBound event and it's working fine, when thepage loads the text dynamically changes. However, when I select the row with the select button the header title revert back to the original. Do I need to add additional code in the SelectedIndexChanged and if so what?
I have posted the code in the ItemDataBound below:
I have posted the code in the ItemDataBound below:
If Profile.UserCulture = 2 Then |
If TypeOf e.Item Is GridHeaderItem Then |
Dim header As GridHeaderItem = DirectCast(e.Item, GridHeaderItem) |
header("PRN").Text = "购买申请编号" |
header("RaisedBy").Text = "提出者" |
header("Supplier").Text = "供应商" |
header("DeliveryRequired").Text = "要求送货日期" |
header("PRNotes").Text = "附注及特别说明" |
header("ReqValue").Text = "价值" |
header("Status").Text = "状态" |
header("Level1").Text = "第 1 级授权" |
header("Level2").Text = "第 2 级授权" |
header("POSNumber").Text = "采购订单编号" |
End If |
End If |