Monthly Archives: January 2010

You are browsing the site archives by month.

Adding a Favicon to Your Page

A Favorites Icon or favicon is a tiny graphic that is related with a web page or Web site. The favicon or favorites icon permits the Web developer to customize the web site in the browser, in both the tab bar, which is displayed in various browsers and also in the bookmarks when a web site is saved.

To create a favicon goto: http://tools.dynamicdrive.com/favicon/

This is where the code should be inserted.

<%@ Master Language=”VB” CodeFile=”MasterPage.master.vb” Inherits=”MasterPage” %>

<html xmlns=”http://www.w3.org/1999/xhtml”>

<head runat=”server”>

    <title>Title</title>

    <asp:ContentPlaceHolder ID=”head” runat=”server”>       

Javascript Onload event for Default pages with Master Pages

I have an asp.net website and I have created a default page (Default.aspx) with MasterPage. Like this i have created many pages (.aspx) with the same MasterPage.

Now i want to write a javascript body onload event only to Default.aspx. How can i do this? because body tag is in master page. but i want to use it only to Default.aspx.

in the cs file put following line
ClientScript.RegisterStartupScript(ClientScript.GetType(), “onLoad”, “fnTest()”, true);

In aspx file put following line

‘What do you say’ from Hangover

Warning : Explicit Lyrics.
Its from my favorite movie, Hangover.

Audio clip: Adobe Flash Player (version 9 or above) is required to play this audio clip. Download the latest version here. You also need to have JavaScript enabled in your browser.

DNN

Dot Net Nuke..
About an year ago I worked on a clients DNN site and never liked it.

I hosted my site on Yapill.com and am going to experiment with its features.
The installation was not too bad on GoDaddy.
Create a folder in the root. Set it as application directory (Virtual Directory).
Update the Web.Config with the appropriate connection string. (Host Name = Server Name ! bummer )
Go to your_domain.com/Created_folder/install/install.aspx.
If you configured everything correctly, the installation will be done in under 5 minutes.

Umbraco on GoDaddy

Umbraco does not work on go daddy as the application trust level for Umbraco is “Full”. Godaddy allows only “Medium” and this cannot be changed.
Wasted 1 hour !!