itemtemplate with button and parameters to enable/disable button control
Posted on 2007-03-27
ASP.net Gridview... How can I enable / disable a buton in a cell of a gridvew control on an asp.net page? I'm sure it will involve the itemtemplate... but I'm finding it difficult to find a good refernece on its use.
Button - Shpped - 123 Main Street... bla bla bla
Button - PENDING - 435 Main Street... bla bla bla
I want the button to show up... but be disabled... of maybe I'll greate another image, too for a 'grayed-out' button... but I want the button disabled based on the status field... this grid is connected to a sqldatasource... Please show me detail...