Apr 08, 2013, 7:44 PM
[CLOSED] DirectMethod Parameter Value from JavaScript
Hi - I'm new to Ext.Net, so maybe I'm missing something, but here is the goal:
Value="FileInfo()" : Calls JavaScript function - FileInfo() should get return value from JavaScript function FileInfo() , and pass that to the DirectEvent Method as the value of the "sFilePath" param. Should pass this into the URLShareFile C# method in code behind. Is this possible?
Value="FileInfo()" : Calls JavaScript function - FileInfo() should get return value from JavaScript function FileInfo() , and pass that to the DirectEvent Method as the value of the "sFilePath" param. Should pass this into the URLShareFile C# method in code behind. Is this possible?
<ext:Button ID="btnShare" runat="server"
Text="Select File, then click here toget Share/Embed Code: (URL Link):">
<DirectEvents>
<Click OnEvent="URLShareFile">
* <ExtraParams> ** * * *
<ext:Parameter Name="sFilePath" Value="FileInfo()" />
</ExtraParams>
<EventMask ShowMask="true" />
</Click>
</DirectEvents>
</ext:Button>
Last edited by Daniil; Apr 16, 2013 at 5:32 AM.
Reason: [CLOSED]