populate imagebutton properties programmatically

Results 1 to 2 of 2

Thread: populate imagebutton properties programmatically

  1. #1
    Join Date
    Dec 1969

    Default populate imagebutton properties programmatically

    This is what I&#039;m trying to do:<BR><BR>Read in from the database any products a user has purchased that can be downloaded.<BR>Populate a datagrid with the results from the database.<BR>Add an image button to call my subroutine that will download the appropriate file.<BR>This is where the problems begin.<BR>I can&#039;t figure out how to set the commandname and the commandarguments field of the button programmatically.<BR>I want these to be values from a variable that I&#039;m setting when I populate the datagrid but so far the only<BR>thing I&#039;ve managed is to hardcode the values.<BR><BR>The datagrid is being populated with a subroutine called from the OnItemDataBound field of the grid.<BR><BR>I know I&#039;m making this much more difficult than it is. Any help would be extremely appreciated.<BR><BR>Thanks,<BR>Ricki

  2. #2
    Join Date
    Dec 1969

    Default RE: populate imagebutton properties programmatical

    can you show some code?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts