Moo Web Directory and SEO Forum Help
Supporting the Moo Community with SEO, Programming, Design, Hosting and E Commerce Development
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
north face jackets Cloth on sale to you is good 52

 
Post new topic   Reply to topic    Moo Web Directory and SEO Forum Help Forum Index -> SEO Tools
View previous topic :: View next topic  
Author Message
Clo3boo77
Forum Contributor


Joined: 25 Nov 2011
Posts: 36
Location: England

PostPosted: Sat Dec 24, 2011 2:35 am    Post subject: north face jackets Cloth on sale to you is good 52 Reply with quote

The default button on enter on an ASP.NET form
I haven't really thought about this in a long time,north face jackets, but after searching a bit and finding some really complex solutions, I figured out a way to fire a "click" based on pressing enter in a text field. It works OK in IE and Firefox,north face clearance, which is good enough for me,canada goose outlet, and it only requires one line. EmailTextBox.Attributes.Add("onKeyPress",canada goose online, "javascript:if (event.keyCode == 13) __doPostBack('" + LoginButton.UniqueID + "',north face jackets,'')"); "EmailTextBox" is as you might suspect a text box control, while "LoginButton" is a link button. All it does is render an extra attribute in the rendered tag that checks for a key press,north face clearance, and if it's the enter key,North face outlet, it fires ASP.NET's __doPostBack method with the unique ID of the button that you want to virtually press. That in turn fires off whatever server-side event handlers you've wired up. You could pass in the eventargument as the second parameter in that Javascript if you wanted to. I can't understand why this wasn't included somewhere in v2. They did offer a default button for the entire form,canada goose jackets, but I think that only works if you have actual buttons (I use LinkButtons almost exclusively). You could actually wire up any control name here if you wanted.

This Week’s Link List (January 21, 2011)

moncler uk Cloth on sale to you is good 530

Cloth on sale to you is good 689

Cloth on sale to you is good 434
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Moo Web Directory and SEO Forum Help Forum Index -> SEO Tools All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Back to Moo Directory - Back to Cozy Digital
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP