开发者

Default Button for ImageButton in Panel not working in IE-7 & IE-8

开发者 https://www.devze.com 2023-03-24 05:49 出处:网络
I have a search page which has selection criteria & two image buttons Search & Clear. I want to fire Search Click whenever user enters in any of the selection criteria. I put the search criter

I have a search page which has selection criteria & two image buttons Search & Clear. I want to fire Search Click whenever user enters in any of the selection criteria. I put the search criteria & button in Panel & s开发者_Python百科et the default button to Search. It works fine in Firefox & Chrome but doesn't work in IE7 or IE8. My preference is not to attach keydown event to all the search criteria textbox & dropdown. Any idea what's different in IE 7-8 which is stopping this to work.

ASP.NET version is 3.5

Here is my html hierarchy

Search Criterias & buttons are here


Use the Button control instead of ImageButton as stated by this article.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号