I have gone through the question about How to check if enterkey is pressed in a TextBox in asp.net
I have a search textbox in my masterpage and I want the enterkey to be set as default to do searching.
- Is it necessary to use Panel.DefaultButton if we not using
JavascriptorjQuery? - What is the best way I can achieve this
Thanks
yes it is.
if you are not working with js – then only from server side.