[Solved] How can I cast an ASP.NET Label?
[ad_1] You can access html labels from C# or divs for that matter too (HtmlGenericControl, or (HtmlGenericControl(“label”)) and type cast it to their respective types after calling findControl(). If you want to access it without the findcontrol and type cast, you need to have the ‘asp’ tag prefix like: <asp:Label and you need to include … Read more