Thursday, February 07, 2008

Slides for CDNUG Presentation

Hi Guys,

Here is the slides for the presentation which I did in the CDNUG forum yesterday. The topic was on "Develop your first Windows Vista Gadget - A Beginners Guide".

There were arround 20 to 30 participants was very good and it was a good and enjoyable event.

You can grab the slides by clicking below link:

Windows Vista Gadgets.zip (1.78 MB)

Have Fun !!!
#    Comments [1] |
 Thursday, January 03, 2008

Pagebreaking on ASP.net

First of all wish you are very happy and healthy new year.

A friend of mine wanted to out put and print some stuff using ASP.net , yah not a problem. But the problem was he wanted to force page breaks between section. Actually he wanted to override default browser behavior of breaking pages while it prints. Hmm can we do this????

YES, we can and I did some research and a small style sheet did the trick. Here is the code.

This code will go between the header tages or you can use an external style sheet

<style type="text/css">

@media Print   
{
    .pagebreak
    {
       PAGE-BREAK-BEFORE: always
    }
}

</style>


Now in your actual html code

<h1> Page 1 </h1>
<p class="pagebreak"></p>
<h1> Page 2 </h1>
<p class="pagebreak"></p>
<h1> Page 3 </h1>


This works fine both on IE7 and FF2

Have Fun
Fiqri

#    Comments [1] |
 Monday, November 19, 2007

Vista Gadgets

One of the cool items that I liked on Vista. I have seen some cool gadgets online and defaults on Vista. Thought to my self why not I create one on my own. My research was a very successful one and I have managed to create a simple Vista gadget and intall it.

If you have little bit (OK not a little bit a fair knowledge) of JavaScript, HTML you can easily develop a Vista Gadget of your own. OK you need to include server side behavior? Not a problem use your existing AJAX knowledge to access the server side file. That could be ASP.net, PHP or any other of your favorite server side scripting language.

I will post a very beginner level tutorial how to create a Windows Vista Gadget using basic HTML and JavaScript. And will move on to AJAX and Server side stuff like reading information from a database and display in your gadget or read some RSS feeds and display. Cool ha..

Hang on .. Will be back with the basic stuff first and go for more.

Until then ... cheers!!!!

#    Comments [0] |
 Monday, November 05, 2007

My Blog is Up Again

Well,

Its up and running again. Need lots a catchup to do. Will post my old entries again ASAP.

Until then

Cheers!

#    Comments [0] |