I have this JS function:
function callUpdateGaugeValue(newValue) {
updateGaugeValue(newValue, event);
}
Which works when I call it directly from HTML.
Is it somehow possible to call it from C# code? Something like this:
protected void Button_Click(object sender, EventArgs e)
{
value = 5;
// callUpdateGaugeValue(value)
}
I need to put input
value to function which I get from the C# function.
I tried ScriptClient and Manager (I don't know if I tried it properly), but doesn't work.
Via Active questions tagged javascript - Stack Overflow https://ift.tt/wbkqJ68
Comments
Post a Comment