K
kike
I want to call a javascript function WITH parameters function from c#
code; I already did this:
.....
StartDate.Attributes.Add("onTextChange","DateGreaterThan(" +
StartDate.Value + "," + RequiredByDate.Value + ");");
.....
in the control (C# code)
What is the syntax to call the function from asp.net?
this does not work:
<combo:WebDateChooser id="StartDate" runat="server"
onValueChange="DateGreaterThan(Date2, Date1);"></combo:WebDateChooser>
this is the function in javascript:
function DateGreaterThan(Date2,Date1)
{ ....}
code; I already did this:
.....
StartDate.Attributes.Add("onTextChange","DateGreaterThan(" +
StartDate.Value + "," + RequiredByDate.Value + ");");
.....
in the control (C# code)
What is the syntax to call the function from asp.net?
this does not work:
<combo:WebDateChooser id="StartDate" runat="server"
onValueChange="DateGreaterThan(Date2, Date1);"></combo:WebDateChooser>
this is the function in javascript:
function DateGreaterThan(Date2,Date1)
{ ....}