I was working on a project and just on a whim decided to try out some of .NET’s AJAX controls. I chose a random page, added a ScriptManager, tossed in a TextBox and a CalendarExtender. F5. Page shows up. Javascript error: Line: 121 Char: 1 Error: ‘Sys’ is undefined Code: 0 Url: http://localhost:49329/admin.aspx Hmm. Try… Continue reading Adding AJAX to an existing project that includes Routing
Tag: Programming
Working on Bible Verse Tags for ASP.NET (C#)
To do: build Regex to detect bible verses in tags put in named back-references find a way to choose different tables with LINQ make it work for an entire chapter add error messages move it to a class file instead of in the page run it from the filterText method if IndexOf(“[bible]”) !=-1 fix toVerse… Continue reading Working on Bible Verse Tags for ASP.NET (C#)
Firing a click event using the enter key
This one had me stumped for a few minutes. I had a text box that would post to a google search. Entering text in and hitting the enter key would just post back to the page and have no effect. Hmm. Frustrating. I don’t expect everyone to type in their search criteria and grab the… Continue reading Firing a click event using the enter key
FPDF.asp carriage return / line feed in MultiCell
Recently I was given the task of printing address labels from a database using Avery 5160 labels. These labels are 3 columns of 10 rows. 2.625″ x 1″ (66.6mm x 25.4mm). I was having trouble with carriage returns. First problem is that the ASP version of FPDF doesn’t seem to recognize the \n line feed.… Continue reading FPDF.asp carriage return / line feed in MultiCell
Making FTP work on Windows Vista
I just built a Windows machine from parts and installed Windows Vista Ultimate 64bit. The only problem I was having was the FTP service would not stay active upon shutdown or restart. I had to start it manually every time. If anyone else is wondering, here is how to make it work (if you already… Continue reading Making FTP work on Windows Vista