Setting commandname of datagrid buttoncolumn at runtime

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lifenetjon
    New Member
    • Jun 2006
    • 1

    Setting commandname of datagrid buttoncolumn at runtime

    I have a report menu page generated via a datagrid from an xml file. One of the columns on the menu page is a buttoncolumn. I thot I'd set the commandname of the buttoncolumn to the URL of the report page. I've not been able to figure that out :confused: I've tried commandname='<% # DataBinder.Eval (Container.Data Item, "URL") %>' but the compiler burps. I've tried to figure out how to set the value in ItemDataBound handler :confused: :confused: Any help out there on this one? Better ideas?

    Thanks
Working...