asp.net - GridView with a custom button -


specifically, using devexpress 10.1 apsxgridview. have grid command column. plan on using 2 of standards: new , edit. create custom button take value within current row , redirect page using value part of query string.

i have seen suggestions create hyperlink column this, have of these commands in single column. can see solutions if weren't constrained leaving buttons within single column. maybe assign during htmldatacellprepared?

thanks.

if it's standard .net gridview create template field. in template field can put whatever want in there. have done when need asp.net control (a button, hyperlink, etc) instead of standard grid buttons , commands. can access controls , datasource during onrowdatabound event handler , customize button during run time if need be.


Comments

Popular posts from this blog

apache - Add omitted ? to URLs -

redirect - bbPress Forum - rewrite to wwww.mysite prohibits login -

php - How can I stop spam on my custom forum/blog? -