Mar 12, 2012, 8:06 PM
[CLOSED] Passing function result as value of a parameter
Hi Folks, i´d like to know whether it´s possible to pass the result of a function as the value of a parameter
var getID = function()
{
return 10;
}
<ext:Button ID="btnDelete" runat="server" Text="Delete" Icon="Cross">
<DirectEvents>
<Click
Url="/Data/DeleteCustomer"
CleanRequest="true"
Method="POST"
<Confirmation ConfirmRequest="true" Title="Alert" Message="Delete Record?" />
<ExtraParams>
<ext:Parameter Name="id" Value="getID();" Mode="Raw" />
</ExtraParams>
</Click>
</DirectEvents>
</ext:Button>
Last edited by Daniil; Mar 13, 2012 at 11:50 AM.
Reason: [CLOSED]