How can I submit my form from my C# Silverlight code?

Published Fri, Jun 15 2007 20:02

Simple: call one of the overloads of the static Submit methods exposed by the HtmlPage class:

HtmlPage.Submit();

HtmlPage.Submit( "formId" );

If you only have  a form on you're page, then using the first option is the way to go. if you have several forms, you need to specify the id of the form you're submiting and you need the second overload. Simple, right?

Filed under:

Comments

# Anaklets said on Friday, July 27, 2007 4:52 PM

interesting

# Othon said on Sunday, July 29, 2007 12:59 AM

Interesting...

# Bill said on Monday, August 06, 2007 10:42 PM

MSN I NIIPET

<a href= http://msn.com >MSN</a>

# level said on Wednesday, August 15, 2007 9:41 PM

eye and easy to You excellent very on navigate. an have site the ,

Leave a Comment

(required) 
(required) 
(optional)
(required)