In DevExpress AspxGridview control binding
protected void ASPxGridView1_DataBinding(object sender, EventArgs e)
{
// in this event I want to reach LabelText and modify it as "text =Server.HtmlDecode(text);"
}
Bu I can not reach LabelText. I tried to find a solution but never found.
Please help me. I am stuck ....
<dx:GridViewDataColumn VisibleIndex="0" Width="100%" CellStyle-HorizontalAlign="Left" CellStyle-VerticalAlign="Middle" Caption=" "> <EditFormSettings Visible="False" /> <DataItemTemplate> <table class="table_white"> <tr> <td style="text-align:left">
<asp:Label ID="LabelName" runat="server" Text='<%#Eval("name") %>'></asp:Label>
</td> </tr> <tr> <td style="text-align:left"> <asp:Label ID="LabelText" runat="server" Text='<%#Eval("text") %>'></asp:Label>
</td> </tr> <tr> <td style="text-align:left">
<hr style="border: 1px solid #CCCCCC" />
</td> </tr> </table> </DataItemTemplate>
<CellStyle HorizontalAlign="Center" VerticalAlign="Middle"></CellStyle> </dx:GridViewDataColumn>