Thank you reaves, that sounds good for 'normal' buttons.
But how about the buttons in a datagrid?
Sample:
---
<asp:datagrid id=myname ...>
<Columns>
<asp:EditCommandColumn ButtonType="LinkButton" EditText="Edit" CancelText="Cancel" UpdateText="OK"
ItemStyle-Width="8%">
</asp:EditCommandColumn>
<asp:TemplateColumn
</asp:TemplateColumn>
...
<asp:BoundColumn ... />
</Columns>
</asp:datagrid>
---
I'm defining the edit and its subsequent OK and Cancel buttons as described above.
I do not understand how to establish the connection to that OK button.
Is the control able to do this as well?
HStrix
Main Topics
Browse All Topics





by: reavesPosted on 2003-07-29 at 10:33:03ID: 9029733
I have just the thing...
m/Tools/De faultButto ns.aspx
http://www.metabuilders.co
Andy Smith's default buttons control will trap the enter key and use it to click whichever button you set it to.