iscriptcontrol

Why can I not use $find in a jQuery function?

I am using a combination of jQuery and IScriptControls and I don't appear to be able to use $find in any jQuery functions. Take the following, for example, I can use $get and $, but I cannot use $find. // Configure the toolbar groups $(document).ready(function() { // Returns the control var work...

GetScriptReferences does not get called

I have written a Custom Control that contains the following: [assembly: System.Web.UI.WebResource("InSysControls.AssignmentLists.AssignmentLists.js", "text/javascript")] namespace InSysControls { [ToolboxData("<{0}:AssignmentLists ID='AssignmentListsID' runat=\"server\"> </{0}:AssignmentLists>"), ParseChildren(true, "Items")] pu...

Passing complex objects to javascript via IScriptControl

I'm playing around with a asp.net page that's using the IScriptControl interface to pass data from the code-behind to the custom javascript object running on the browser. I'm passing a number of properties via IScriptControl.GetScriptDescriptors(), and they're all working fine, except for one. That one is a class derived from System.Co...

What is the equivalent to IScriptControl for Web.UI.Page?

We've been using IScriptControl to tie javascript objects to our UserControls and ServerControls, and it's worked fine. The problem is that ASP.NET seems to provide no method to tie a javascript object to a Page. Up to now, we've been putting plain functions in the global namespace, but I am developing a serious allergy to that practic...