I guess my question is how do I use btnEdit.CommandName, btnEdit.CommandArguments. From your comment I can't really tell the difference between the two.
Is this what you mean?
btnEdit.CommandName = "noEdit" & articleID
btnEdit.CommandArguments = "Edit" & articleID
And then what does the Sub Onclick look like?
Main Topics
Browse All Topics





by: here4u247Posted on 2007-05-23 at 07:33:24ID: 19141817
use, btnEdit.CommandName and btnEdit.Commandarguments to store the ids, on the onclick just call the values of these properties....
rols(btnEd it.Command Name).Visi ble=false rols(btnEd it.Command arguments) .Visible=t rue
i.e.
((UpdatePane)Page.FindCont
((UpdatePane)Page.FindCont
hope that make sense...