May 24, 2010, 6:47 AM
[CLOSED] [1.0] How to Register Client Script Includes in a DirectMethod
I have the following code inside OnPreRenderComplete method of a Page:
resourceManager.RegisterClientScriptInclude(resour ce.physicalPath, resource.clientPath + "?v=" + this.cacheBuster);
The Resource gets included properly on a GET request. However, in a DirectMethod call, the resources do not get registered on the page. What should I call to get the Script Includes registered in a DirectMethod call?
resourceManager.RegisterClientScriptInclude(resour ce.physicalPath, resource.clientPath + "?v=" + this.cacheBuster);
The Resource gets included properly on a GET request. However, in a DirectMethod call, the resources do not get registered on the page. What should I call to get the Script Includes registered in a DirectMethod call?