This page demonstrates some usage patterns of the SubmitLink control.

Demo1

In this first demo is shown how the Form is submitted when the SubmitLink is clicked. $demo1 #if ($demo1Msg)

$demo1Msg

#end

Demo2

In this second demo is shown how the SubmitLink's parameters are submitted together with the Form. $demo2 #if ($demo2Msg)

$demo2Msg

#end

Demo3

This demo shows how the SubmitLink can be used outside of a Form. When a SubmitLink is not inside a Form it behaves like a normal ActionLink.

Click $standaloneLink to demonstrate. #if ($demo3Msg)

$demo3Msg

#end

Demo4

This demo shows how a confirmation message can be displayed before the SubmitLink submits the Form.

$demo4 #if ($demo4Msg)

$demo4Msg

#end