Reputation: 13582
I have a User Control that need load some jquery scripts in client side, at this time I handle it like this:
protected override void OnPreRender(EventArgs e) {
Page.ClientScript.RegisterClientScriptInclude("jQueryScriptHeader",
Page.ClientScript.GetWebResourceUrl(this.GetType(), "MyNamespace.js.jquery-
1.6.4.min.js"));
Page.ClientScript.RegisterClientScriptInclude("MyScript",
Page.ClientScript.GetWebResourceUrl(this.GetType(), "MyNamespace.js.MyScript.js"));
}
Also I have a new script that has jQuery.Post() and I think for fire it need a HttpHaandler
How can I do All this with HttpHandler?
Upvotes: 0
Views: 302
Reputation:
Maybe this can be useful this very like as your problem an have a complete step by step solution:
use return value of json in jquery
Upvotes: 1