|
-
Jun 9th, 2005, 01:30 PM
#1
Thread Starter
Addicted Member
Dynamically create buttons that call asp.net function
Can anyone give me a clue about how to dynamically create buttons that will call a function in asp.net.
The purpose is that I have this table of records and would like the user to be able to just click a button and have it do something. Whether it be email the user on the current record or delete the record.
I have tried to asp asp buttons and html buttons and they both don't seem to do anything. I had the "mailto:[email protected]" in the button but it did not do anything.
Any help would be appreciated.
Thanks.
-
Jun 10th, 2005, 01:07 AM
#2
Re: Dynamically create buttons that call asp.net function
Does that mean a single button for each record? Or is it going to be a single button that does something depending upon the record retrieved from the database?
-
Jun 10th, 2005, 08:49 AM
#3
Thread Starter
Addicted Member
Re: Dynamically create buttons that call asp.net function
a single button for each record.
Would i have to force the page to postback with actions in the ispostback on page_load passing a variable in querystring with which I would then do some action?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|