How to use RenderControl method??

Joined
Oct 23, 2006
Messages
2
Reaction score
0
Hello,

I have to use the Rendercontrol method in my application.

I have to createcertain no of link buttons in cs file and render them in ASPX page.. How to achieve this??

for example..

in CS file

for (int i=0;i<someCount;i++) // someCount varies each time
{
create a link button with ID as "btn"+i;
}

now in ASPX page
-----------------

for (int i=0;i<SomeCount;i++)
{
render the control...
}

How can I achieve the above functionality..?

Is there any other way to do this??
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,158
Latest member
Vinay_Kumar Nevatia
Top