Aug 23, 2013, 7:52 AM
[CLOSED] Direct Events - Pass string / message to client
Hi i have used following Directevent in my MVC razor view engine appilcation.
How to pass this string in the return statement?
How to catch this statement at client side?
How to call a javascript function so as to pass this string?
.DirectEvents(de =>
{
de.Click.Url = Url.Action("HandleChanges");
de.Click.ExtraParams.Add(new Parameter
{
Name = "data",
Value = "#{Store}.getChangedData()",
Mode = ParameterMode.Raw,
Encode = true
}
);
de.Click.ExtraParams.Add(new Parameter
{
Name = "scenarioId",
Value = Model.SID.ToString(),
Mode = ParameterMode.Raw,
Encode = true
}
);
}
)
Form the code behind on a condition i have to return a string to the client side.How to pass this string in the return statement?
How to catch this statement at client side?
How to call a javascript function so as to pass this string?
Last edited by Daniil; Aug 26, 2013 at 1:03 PM.
Reason: [CLOSED]