Hi,
How can I access label and set the value of the label which is placed inside footertemplate dynamically in server side code?
<FooterTemplate>
<asp:Label Text="" runat="server" ID="lblTotal" CssClass=""/>
<asp:Label Text="" runat="server" ID="lblblank"/>
</FooterTemplate>
c# code
((
._totalActiveIR].Footer.FindControl("lblTotal")).Text = "Dynamic".
But the code in c# is returning null.(It can not find the control.
Is there in sample code where someone have impltemented the same stuff?
Please help me out.
Thanks,
Sanjay
Hi Sanjay,
You should find the control off of the GridView to affect what will show.
((Label)PAGrid.GridView.Columns[OracleDBSchema.Tables.PerfAlertsGrid.NonGroup
This holds the actual templates shown. The WHDG acts as the band for the GridView.
regards,David Young
Hi AgentD5,
Thanks for your response.
But its not WHDG we are using WDG.
How to use GridView in WDG?
Regards,