Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Apr 14, 2010 02:29 PM|LINK
I can get the LinkButton to work. The problem I have here is that I also use a New and Edit. I don't have enough experience to wire up all the commands and executions, that's why I like using the Command Field or AutoGenerate - because all the commands
and executions are automatic. Also, I like the AutoGenerate because at times I want to disable the New button and using AutoGenerate is the easiest way I have found to control that. Lastly, I want to try to put all the LinkButtons / Commands into one row.
Command Field and AutoGenerate do this. If I try this with Template Field and Link Buttons, it stretches the Header column out (since there is no footer in DetailsView).
I was hoping to be able to set AutoGenerate (because I can disable in code behind where simply checking Enable Command doesn't allow for disable) and apply the steps in the tutorial to a DetailsView. The method you showed me is from Step 2 of the tutorial.
I am trying to do Step 3 in the tutorial and change it to apply to a DetailsView. Is this possible? How?