We were in the paper today!
http://www.news.com.au/adelaidenow/story/0,22606,21810204-5003680,00.html
Very cool!
29.5.07
jQuery Manager for .Net
I released the early version of my jQuery Script Manager today on CodePlex.
Its an idea that I have had for the past couple of days in an attempt to make using jQuery and ASP.Net work nicely. I've been using JavaScript lately with SharePoint (WSS v3 & MOSS) and I've been unhappy with how injected JavaScript can get really messy. This project is an attempt to make it better.
What is jQuery you ask?
So here is how its currently used:
1) Add the jQuery Script Manager to the page
2) register any JavaScripts functions that need to run on document.load
3) Create the JavaScript function
The JavaScript function "TestFunction" will be called when the page loads by placing it in jQuery's $(document).ready function.
Its an idea that I have had for the past couple of days in an attempt to make using jQuery and ASP.Net work nicely. I've been using JavaScript lately with SharePoint (WSS v3 & MOSS) and I've been unhappy with how injected JavaScript can get really messy. This project is an attempt to make it better.
What is jQuery you ask?
So here is how its currently used:
1) Add the jQuery Script Manager to the page
<%@ Register Assembly="jQuery.ScriptManager, Version=1.0.0.0,
Culture=neutral, PublicKeyToken=null" Namespace="jQuery.ScriptManager" TagPrefix="jQuery" %>
...
<jQuery:jQueryManager id="jQueryM" runat="server">
</jQueryManager>
2) register any JavaScripts functions that need to run on document.load
<jQuery:jQueryManager id="jQueryM" runat="server">
<ReadyFunctions>
<jQuery:RegisterReadyFunction FunctionName="TestFunction" />
</ReadyFunctions>
</jQueryManager>
3) Create the JavaScript function
function TestFunction(){
alert('The page has loaded!');
}
The JavaScript function "TestFunction" will be called when the page loads by placing it in jQuery's $(document).ready function.
11.5.07
Embedding JavaScript as a resource in a .Net assembly
I needed to do this today for a web part that I'm creating. Being able to have the JavaScript packaged is so much neater.
http://aspnet.4guysfromrolla.com/articles/080906-1.aspx
http://aspnet.4guysfromrolla.com/articles/080906-1.aspx
10.5.07
ASP.Net AJAX and MOSS 2007
This post from Mike Ammerlaan just saved me some time on what to add to the Web.config for MOSS.
MOSS 2007 WebPart CAS
This is a good article on MOSS CAS - saved me some time!
Update:
I also discovered the hard way that if you use the sample config file associated with the article bad security things will happen. This is because WSS does not have permission to access the file, so I copied the wss_minimaltrust.config, and then copied the contents of the sample file into it.
Update:
I also discovered the hard way that if you use the sample config file associated with the article bad security things will happen. This is because WSS does not have permission to access the file, so I copied the wss_minimaltrust.config, and then copied the contents of the sample file into it.
Subscribe to:
Posts (Atom)