This is a neat way to make a button on an ASP.NET page the default button:
Page.RegisterHiddenField("__EVENTTARGET", "MyDefaultButton")
You can find a full explanation here.
Thursday, January 11, 2007
Subscribe to:
Posts (Atom)
foo. bar. baz.