Category Archives: Technical

Call container page function from child iframe

The simplest way i got to call a function that exists in the iframe container page is using:

  <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title>title> head> <body>     <form id="form1" runat="server">     <div>         <script language="javascript" type="text/javascript">             function AlertFromParent() … Continue reading

Posted in Technical | Comments Off on Call container page function from child iframe

Flash Javascript communication first look

  I did a fast research about how to make flash interact with the container website, and i collected some good information. There are 2 main techniques to implement communications between flash and the container website: Example: http://www.kongregate.com/developer_center/docs/kongregate-api 1- Client … Continue reading

Posted in Technical | Comments Off on Flash Javascript communication first look

HOW TO TELL WHEN IMAGES HAVE LOADED

Its a common requirement in some websites specially which are dealing with many images and JavaScript, such as image galleries websites or websites that has images slide shows made using JavaScript. In a project i just finished, i was making … Continue reading

Posted in Technical | 2 Comments

Nice article about large file upload using asp.net

http://weblogs.asp.net/jgalloway/archive/2008/01/08/large-file-uploads-in-asp-net.aspx

Posted in Technical | Comments Off on Nice article about large file upload using asp.net

Different ways to watermark html input text

  There are many ways to add a watermark text to an input text, which will go when you focus the control or start writing inside. I will list here some good ways to this behavior:

This is an … Continue reading

Posted in Technical | Comments Off on Different ways to watermark html input text

Guidelines for high-quality URLs

Usability expert Jakob Nielsen (www.useit.com) urges developers to pay attention to URLs and provides the following guidelines for high-quality URLs: ❑ A domain name that is easy to remember and easy to spell ❑ Short URLs ❑ Easy-to-type URLs ❑ … Continue reading

Posted in Technical | Comments Off on Guidelines for high-quality URLs

Send email from gmail using asp.net, godaddy shared hosting

“Sending email is working local, but when i put online its not sending and returning errors”, We hear a lot of people online suffer from this annoying problem, i had the same problem but rather than spending a lot of … Continue reading

Posted in Technical | Comments Off on Send email from gmail using asp.net, godaddy shared hosting

Indexed pixel format problem in GDI+

Exception : "A Graphics object cannot be created from an image that has an indexed pixel format". this exception happed in my application while trying to draw string on a .gif image, I read about this problem and found in … Continue reading

Posted in Technical | 1 Comment

Trick to resize transparent images

I wanted to make a small image resize function in my asp.net website, and everything worked fine, but i faced a problem resizing transparent .png and .gif images. After resizing done, i find that the output resized images transparent parts … Continue reading

Posted in Technical | 1 Comment

Deploying ajax wcf service on shared hosting.

2 day ago i suffered from launching a testing website version on my shared hosting account, what i suffered from is that the website had a wcf ajax service which i was using in ajax calls from jquery to server. … Continue reading

Posted in Technical | 2 Comments