Hi all,
I have a requirement to change the header text at runtime.
I have one gridtemplate column like the following:
<radG:GridTemplateColumn DataField="id" HeaderText="ID" SortExpression="id"
UniqueName="id">
<EditItemTemplate >
<asp:TextBox ID="Txtid" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Id") %>' style="position: static" OnTextChanged="Txtid_TextChanged" AutoPostBack="true"></asp:TextBox>
<asp:ImageButton ID="MediaIDLookup" runat="server" BorderStyle="Solid"
Height="18px" ImageUrl="~/Images/magnifier.gif" Style="position: static" Width="21px" OnClick="IDLookup_Click" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Lblid" runat="server" Width="120px" Text='<%# DataBinder.Eval(Container.DataItem,"Id") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle ForeColor="Black" />
</radG:GridTemplateColumn>
when i click the image button, a new web page opens , i get the value from new page and i need to change the header text of the id column to new value that i picked from new page.
Pls advice how to do that.
I have a requirement to change the header text at runtime.
I have one gridtemplate column like the following:
<radG:GridTemplateColumn DataField="id" HeaderText="ID" SortExpression="id"
UniqueName="id">
<EditItemTemplate >
<asp:TextBox ID="Txtid" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Id") %>' style="position: static" OnTextChanged="Txtid_TextChanged" AutoPostBack="true"></asp:TextBox>
<asp:ImageButton ID="MediaIDLookup" runat="server" BorderStyle="Solid"
Height="18px" ImageUrl="~/Images/magnifier.gif" Style="position: static" Width="21px" OnClick="IDLookup_Click" />
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID="Lblid" runat="server" Width="120px" Text='<%# DataBinder.Eval(Container.DataItem,"Id") %>'></asp:Label>
</ItemTemplate>
<HeaderStyle ForeColor="Black" />
</radG:GridTemplateColumn>
when i click the image button, a new web page opens , i get the value from new page and i need to change the header text of the id column to new value that i picked from new page.
Pls advice how to do that.