|
-
Feb 26th, 2004, 02:36 PM
#1
Thread Starter
Lively Member
*Resolved* Datalist and asp:Button control
I have a Datalist with its OnItemCommand set to a sub that process the request (subProcessRequest). I have an asp:Button in the ItemTemplate.
My asp:Button has its CommandArgument set to a value from the datasource. It also has its CommandName set to "Add".
My problem is the event "subProcessRequest" never fires when the button is clicked.
HOWEVER, if I change it to an asp:Linkbutton it works fine. Why?
Last edited by jstansell; Feb 27th, 2004 at 01:59 PM.
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
|