Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
20
Infragistics Web Data Grid
posted

Infragistics Web Data Control is not allowing me to put value of variable from the code behind instead of the header text mentioned in bold below. I in the aspx.cs file I have one string variable 'annType' which has some value. I want to display that value as the header text for the BoundDataField column below. I haver tried using <% %> but it is not working. Can anyone please suggest me a work around for this ?

<ig:WebDataGrid ID="wdgCaseSeriesDetails" runat="server" AutoGenerateColumns="false"
EnableViewState="true" BorderWidth="1px" Width="99.8%" ShowFooter="True" HeaderCaptionCssClass="HeaderCaptionClass" EnableDataViewState="True">
<ClientEvents Initialize="WebDataGrid1_ContainerGrid_Initialize" />

<Columns>

<ig:BoundDataField DataFieldName="MEMO" Key="MEMO" Width="8%">

<Header Text="Case Update Category" />

</ig:BoundDataField>

</Columns>
</ig:WebDataGrid>

Parents
No Data
Reply Children
No Data