February 2007 Entries
I'm very happy to announce that I have installed a new Free Textbox for my Community Server blog and I now have support for code. The good news to you guys is that you will be able to see the code in a nicer form. Check out this sample code:
string SampleString = "This is sample code in C#";
Dim SampleString as String = "This sample code in VB.NET"
<html><head></head><body><asp:label id="lblSample" runat="server">This is sample code for ASPX/HTML</asp:label></body></html>
I love it!
As promised, here I am back with some basic HTML concepts. You can take this post as the promised second part of "Oh my, look at that HTML." Anyway, let's get started.As mentioned before, HTML is the most basic part of a website and if it's not well formed, then it might not render as we intended. Here are some basic concepts:1. HTML is very similar to XML, but it's neither XML nor a subset of it. As opposed to XML, HTML is more forgiven. It is not case sensitive and not all tags have to have an ending tag.2....
I came across speedtest.net. It's a very nice website to test your connection speed. I might add they have servers all over the world. Check it out...
Recently someone asked me how to download multiple files from an FTP using wildcards. While I started looking for an answer I found out that is not possible using the FTPWebRequest class. The good news is that although downloading using wildcards is not supported, wilcards are supported for listing files on a directory. This leaves us with one choice: first we get a list of files to download and then we download them one by one. Below is the code, I hope this helps you...public void DownloadFiles(string WildCard){ //WildCard = "*Parts.csv" string[] Files = GetFiles(WildCard); foreach (string file in Files) { DownloadFile(file); }}private string[] GetFiles(string WildCard){ string...
As most of us would know, HTML is the most basic you can get when you program for web. If your HTML is not right then your page will not look right. Each browser renders HTML differently, especially when it's malformed. Internet Explorer is the most forgiven of them all, but the other browser are less or not forgiven at all. Ok, what do we do about it? You can do a number of things. The first and most important one; learn HTML and learn it the right way. There are a number of tutorials on the web.Then you need...
Don't miss out on the free ASP.NET 2.0 Training. Whether you already know a little bit of ASP.NET, new to ASP.NET or just want to brush up on some things, it's never a bad idea to take a training, specially when it's FREE! Head down to Joe Healy's blog, aka DevFish, for more info.Happy Programming!
One of the enhancements of Visual Studio 2005 and ASP.NET 2.0 is the runtime compilation performed by ASPNET. With ASP.NET 1.1 and Visual Studio 2003 the compilation was performed by the compiler and the result was a DLL. With the new runtime compilation for 2.0 there is no more DLL. This means you have to push all the files (including the .cs and .vb) to your webserver and ASPNET would handle the compilation. This is a very nice feature since we wouldn't have to compile a DLL for the entire application and then mvoe it to the server, instead we...
On the last Code Camp at South Florida I told the students attending my session the only way for the text changed event of the textbox to get fired is if other controls, like a button, create a postback. I later found out that is not entirely true. That is one way to catch the event, but the textbox control also has an autopostback property. When this property is set to true, the page will do a postback when the text of the textbox is changed and it looses focus to some other control.I apologize to everyone on the class for...
Join me and many others for the 2007 South Florida Code Camp. This year there will be a lot more of sessions and I think the registration is over 450 people. This year there will be a new section for Spanish sessions. As always, I am presenting, but this time I'm going all out; I am presenting four sessions: Programming Web 101 and Programming Web 201 both in English and Spanish.Hope to see you there...
This post is based on DNN 4.0.2. To install a new language pack from a downloaded file from the DNN website you have to log in as an admin or a host.1. Once loged in go to Host - Languages2. On the Languages page click on the Upload Language Pack link3. Browse to the downloaded zip file4. Click Add5. Click Upload New File. You should now see a log with the details of the import.6. Click the Return link at the bottom of the log and you should now see your installed package.Happy programming