Hi,
to allow my user to select from a list of values which are calculated on
the fly, I tried to generate a list of LinkButton controls on the fly.
But the connected event does not fire.
Searching google I found out that the problem is caused by the structure
of the ASP.Net event handling: The clicked button does not exist anymore
after the postback, so no event could be fired.
Does anybody know a simple workaround?
My requirements are quite simple:
I want to write a control which display a list of options. In classic
ASP I would do something like (for example generated out of a database):
<a href='page.asp?selection=aaa'>aaa</a><br>
<a href='page.asp?selection=bbb'>bbb</a><br>
<a href='page.asp?selection=ccc'>ccc</a><br>
<a href='page.asp?selection=ddd'>ddd</a><br>
....
And in the page:
var selection = Request("selection");
How can I do something like this in ASP.Net?
regards,
Achim