Hi,
This issue has really bugged me despite looking over forums and trying on some of the methods discussed at various places on the net.
I have a JScript file with some functions which I want to call upon from my code behind page in ASP.NET (C#).
I have tried many methods (RegisterClientScriptBlock, RegisterClientScriptInclude) both inside my function as well as on the Page_Load function, but it doesn't work (returns an "Object expected" error).
I have included the JScript file in the <head> tag of the aspx page.
How do I call a function present in a JScript file from the code behind (it uses some parameters from the code behind)?
I am using .NET 3.0. Thanks all!
This issue has really bugged me despite looking over forums and trying on some of the methods discussed at various places on the net.
I have a JScript file with some functions which I want to call upon from my code behind page in ASP.NET (C#).
I have tried many methods (RegisterClientScriptBlock, RegisterClientScriptInclude) both inside my function as well as on the Page_Load function, but it doesn't work (returns an "Object expected" error).
I have included the JScript file in the <head> tag of the aspx page.
How do I call a function present in a JScript file from the code behind (it uses some parameters from the code behind)?
I am using .NET 3.0. Thanks all!