Dynamicaly creating <asp:HyperLink tags and server events.

  • Thread starter Thread starter Curious George
  • Start date Start date
C

Curious George

I would like to create a list of server based hyperlinks each having it's
own event.

What mechanism should I use to do this dynamically?

-George
 
Hi,

Just create them, set the properties as needed and include then in the
Page.Controls collection.

Now, IIRC you will need to create them on EACH form post, not only in the
first one!.

Cheers,
 

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

Back
Top