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??
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??