1

Closed

SnippetCallback control for easy callback mapping

description

An easy way to define snippet callback mapping, similar to the following markup
 
<ajaxsnippets:SnippetCallback runat="server"
                ID="relayFields"
                CallbackComponentId = ""
                BeforeCallbackMethodName = "beforeRelayFields"
                CallbackFailureMethodName = "relayFieldsFailed"
                CallbackSuccessMethodName = "relayFieldsSuccess"
                WebServiceMethodName = "RelayFields"
                WebServiceVirtualPath = "~/WebServices/RelayFieldsSnippetService.asmx"
<ParameterMappings>
    <ajaxsnippets:CallbackParameterMapping ParameterName="name" ControlID="NameTextBox" />
    <ajaxsnippets:CallbackParameterMapping ParameterName="color" ControlID="FaveColorDropDownList" />
    <ajaxsnippets:CallbackParameterMapping ParameterName="gender" ControlID="Gender" />
    <ajaxsnippets:CallbackParameterMapping ParameterName="interests" ControlID="Interests" />
</ParameterMappings>
<Triggers>
    <ajaxsnippets:CallbackTrigger ControlID="SubmitButton" ClientEvent="Click" />
</Triggers>
</ajaxsnippets:SnippetCallback>
Closed Sep 29, 2008 at 11:34 PM by fluxtah

comments

fluxtah wrote Sep 29, 2008 at 11:31 PM

Done

** Closed by fluxtah 9/26/2008 11:52 AM

fluxtah wrote Sep 29, 2008 at 11:31 PM

wrote Sep 29, 2008 at 11:32 PM

wrote Sep 29, 2008 at 11:34 PM

wrote Feb 1, 2013 at 12:40 AM

wrote May 13, 2013 at 6:33 PM