ASP Controls – using .InnerHtml

Create a reference for the control on the GUI part of the control:

<ul runat="server" id="ul1">

Refer to it from the codebehind:

ul1.InnerHtml = sb.ToString();

Comments are closed.

Post Navigation