Hammy
Active member
Do regular buttons <asp:button> with CommandName and CommandArgument set not bubble up those commands to a DataList, Repeater or DataGrid?
I am playing around with these now, and have a code that uses a LinkButton which handles the click event fine to highlight a record with <SelectedItemTemplate>. However if I leave the code exactly the same, but change the <asp:linkbutton> to <asp:button> with all attributes the same, it doesnt work. The page appears to re-load, butn othing happens.
I set up a label to output the CommandName and CommandArguments when the event is fired, and with linkbutton it displays the values, but with button it remains blank.
Thanks for any input,
Hammy
I am playing around with these now, and have a code that uses a LinkButton which handles the click event fine to highlight a record with <SelectedItemTemplate>. However if I leave the code exactly the same, but change the <asp:linkbutton> to <asp:button> with all attributes the same, it doesnt work. The page appears to re-load, butn othing happens.
I set up a label to output the CommandName and CommandArguments when the event is fired, and with linkbutton it displays the values, but with button it remains blank.
Thanks for any input,
Hammy