Monday, January 31, 2005
by Nik Kalyani
Monday, January 31, 2005 8:55:44 PM (Pacific Standard Time, UTC-08:00)

There was a question in the DNN forums today about how to display a wait indicator while an IFrame was loading its contents. My solution:

<script language="Javascript">


function toggleProgress(progressId, iframeId)
{
     objProgress = document.getElementById(progressId);
     objIframe = document.getElementById(iframeId);

     if ((objProgress) && (objIframe))
     {
           objProgress.style.display = (objProgress.style.display == "none" ? "block" : "none");
           objIframe.style.display = (objIframe.style.display == "none" ? "block" : "none");
     }
}

</script>

<div align="center"><img id="<%= ClientID %>_ProgressBar" src="<%= TemplateSourceDirectory %>/images/progress.gif" style="display:block" /></div>

<iframe id="<%= ClientID %>_ResultsFrame" onLoad="toggleProgress('<%= ClientID %>_ProgressBar','<%= ClientID %>_ResultsFrame')" src="http://www.dotnetnuke.com" style="display:none"></iframe>

#    Comments [0] - Trackback    

by Nik Kalyani
Monday, January 31, 2005 8:33:45 PM (Pacific Standard Time, UTC-08:00)

If you have nested ASP.Net applications, any HttpModules defined in the web.config of parent apps propogate down to the children. This can be desirable in some situations, but totally unwanted in others.

The easy way to eliminate the impact of parent HttpModules is to add a element in the child app's web.config. Sounds simple enough, until you try it.

Turns out that because of the way ASP.Net processes the web.config, even if you are clearing out HttpModules in a child app's web.config, you still need to have the requisite assemblies for the HttpModules in the child app's bin folder. Otherwise the child app will not run.

 Sunday, January 30, 2005
by Nik Kalyani
Sunday, January 30, 2005 9:11:26 PM (Pacific Standard Time, UTC-08:00)
I have done quite a bit of research into online photo albums and somehow seemed to have missed one (my excuse: it's in beta). Check out Flickr. I like the U.I. ... very clean. The feature I really liked is the ability to comment within a photo by highlighting an area. They call it "Notes and Tags" which is a dumb label for an excellent feature.
#    Comments [0] - Trackback    

by Nik Kalyani
Sunday, January 30, 2005 8:54:39 PM (Pacific Standard Time, UTC-08:00)

Working with DotNetNuke, I often have the need to convert a piece of DNN code into C# so I can modify/override it in my modules. I use the Snippets feature of Instant C# to do this. It is amazing how accurately the code conversion is done. This is a good product.

 

by Nik Kalyani
Sunday, January 30, 2005 8:11:48 PM (Pacific Standard Time, UTC-08:00)

Although WinXP does not support more than one active virtual website, it allows you to define as many as you want. Here is a nice utility http://www.firstserved.net/services/iisadmin.php that lets you switch websites on XP quickly and easily.

RSS feed
Search and Links
Bling

View Nik Kalyani's profile on LinkedIn

TechBubble
www.flickr.com
This is a Flickr badge showing public photos from techbubble. Make your own badge here.
Statistics
Total Posts: 216
This Year: 19
This Month: 0
This Week: 0
Comments: 226
About the author/Disclaimer

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

© Copyright 2008
Nik Kalyani
Sign In
All Content © 2008, Nik Kalyani