Welcome to Catalyst Blogs Sign in | Join | Help

Browse by Tags

All Tags » JavaScript   (RSS)
If I were a SharePoint psychiatrist, (which indeed I may very well be...) I would have a list of panaceas tantamount to what a therapist might actually tell a real patient.  For example: To a patient: "You have a lot to live for!" "She Read More...
One of my favorite aspects of the AJAX Control Toolkit is that we were given not only a fully functional web app detailing all of the controls, but also the full source code. As a home-grown .NET developer, exploring the source code of the tool / control Read More...
I thought I’d share a quick gotcha when wiring function callbacks with $addHandler in JavaScript. $addHandler takes in a DOM element, the name of the event, and a method to handle it. This looks something like: var button = document.createElement(‘input’); Read More...
As I dig deeper and deeper into AJAX and client side programming in my ASP.NET web apps, more and more logic is being moved from managed code behind my UIs to lose JavaScript files and script controls. Of course, this means that more and more debugging Read More...
Every once in a while, you stumble onto something in programming that saves several days of thinking or several weeks of brute force. I just stumbled onto such a gem. If you Google how to use JavaScript to manipulate an ASP.NET AJAX Control Toolkit Accordion, Read More...
Today must be national "IE 6 Is A Piece Of Dog Crap" day... I’m using some JavaScript in a script control to hook mouseover on a table element using $addHandler and a callback (so I can pass a parameter to my event handler), like so: $addHandler(tableInstance, Read More...
I am working on what I call the “TreeJAX” control. It a tree that is bound to a hierarchical collection of objects. The root node is built in code on the control’s load method. Then, whenever a node is clicked, I use ASP.NET AJAX JSON asynchronous web Read More...
Using ASP.NET 2.0 and ASP.NET AJAX has finally given me a server-side method to perform a window.open that I am comfortable with: ScriptManager.RegisterStartupScript(this, typeof(Page), Guid.NewGuid().ToString(), “window.open('IAmAPopup.aspx', null, ‘[window Read More...
Here’s a little trick I came up with to “handle” the “event” when the user clicks the close (X) button on Internet Explorer. I use quotes because there really isn’t an event for this action, and what I do with it isn’t really handling an event either. Read More...