Archive for September, 2007

How to make an HTML region appear and disappear or expand and collapse..

September 21, 2007

<script type=”text/javascript”>

      function toggleFaq(faqId) {

            if (‘none’ == document.getElementById(faqId).style.display) {

                  document.getElementById(faqId).style.display = ‘block’;

            }

            else {

                  document.getElementById(faqId).style.display = ‘none’;

            }

      }

</script>

<div class=”faqQuestion”>

<a href=”javascript:toggleFaq(‘faqAccount6′)”>How

do I cancel my ExpertFlyer.com subscription?</a></div>

<div class=”faqAnswer” id=”faqAccount6″ style=”display:none”>Log in to ExpertFlyer.com and click on “My Account” from the left side menu bar.

Then, click the Subscription tab and set the Type to “No Renewal” and then click Save.  Now your subscription will not renew at the end of your current billing period.</div>

ASP.NET Container Controls..

September 20, 2007

Want to make a container control?

If Yes Then

You are CRAZY.. Get a hobby or a girlfriend..

Else If NeedTo

Try this “link

or for quick source code the TittlePanel

End If

Where did the program I just installed go?

September 20, 2007

C:\WINDOWS\Installer

Ever want to re-install something from IT, or look at a file to see if it is leaving behind anyting.. All MSI’s are now kept in this folder :)

Cheers

Windows Media Center, IIS not starting..

September 20, 2007

I found that this helped:

Forum quote..  By the way: RPC an SAM are said to be “running” when I look into the “Services” panel, so IIS should be able to start.

I enabled both of these (in my case SAM) and the web site started working again.. YAY!

Amazing apps that run from a USB drive

September 19, 2007

A definitive guide:

Click Here 

Wiki Wiki?

September 19, 2007

Where can I get my own Wiki software for ASP.NET?

ScrewTurn software

Find out you’re GQ, or Google Quotient..

September 19, 2007

www.careerdistinction.com

This is a kewl site that will show you just how “famous” or “infamous” as the case may be, you are..

Globally!

How do you call a method dynamically?

September 18, 2007

Sounds impossible?

Well actually reflection as it has been called has been around for a while..

public string GetConnectionString() {
object[] results = this.Invoke(“GetConnectionString”, new object[0]);
return ((string)(results[0]));
}

This invokes the method on “this” object called “GetConnectionString()” passing in o as an argument (forced cast to object)

and then returns the results as an object array..

Not for the faint of heart, but well rewarded for the Enterprise Architect..

Where is the best place to Host my .NET Web Application?

September 18, 2007

There is a short and a long answer to this.. The short answer? Brinkster

The long answer? Yeah, developers never care about those, that’s for management..