Results 1 to 5 of 5

Thread: *Resolved* Datalist and asp:Button control

Threaded View

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jul 2003
    Posts
    90

    *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
  •  



Click Here to Expand Forum to Full Width