nazar ali Posted March 28, 2006 Share Posted March 28, 2006 How can we submit our page with out using click event of button( Iwnat to submit my page requesty just Enter button of key pad) Link to comment Share on other sites More sharing options...
aspnetguy Posted March 28, 2006 Share Posted March 28, 2006 You will have to set the Button to Button.Attributes.Add("onclick","return false;");And with javascript capture the enter keypress event Link to comment Share on other sites More sharing options...
nazar ali Posted March 29, 2006 Author Share Posted March 29, 2006 Thanks for reply, but i want both handling(by mouse or keybord) mean if web user want to click the button he can do this, or press the "Enter" button of keybord if he wnat e.g plz check the site "www.zoozu.com" and check its search by entering some thing like "lawyer" but when you press the "Enter" of keybord no result, But when you click the search button you will get some result. plz tell me some thingthanks Link to comment Share on other sites More sharing options...
pulpfiction Posted March 29, 2006 Share Posted March 29, 2006 Hi,Check out this link, hope this is what you wanted.....http://aspnet.4guysfromrolla.com/articles/060805-1.aspx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now