Author Archives: Amr ElGarhy

Discover Your Strengths

I was watching this course “Cultivate Your Personal Strengths Using Gallup Tools” on pluralsight and on the first few minutes on the course Alice Meredith mentioned a great quote from this book “Now, Discover Your Strengths: How To Develop Your Talents … Continue reading

Posted in Quotes | Tagged | Leave a comment

Properties – the basics

Properties in C# is a special type of methods called accessors, they are accessed as if they are public member fields but with read, write and compute the value. Is is declared like a field but with a get and … Continue reading

Posted in Technical | Tagged , | Leave a comment

Different ways to hide an HTML Element

There are different ways to hide an HTML element from the client, just hiding not removing.

We need to hide p.hide element, so the user can’t see it. Display: Display css property, display is the most important and most … Continue reading

Posted in Technical | Tagged , | Leave a comment

Simplest menu using CSS

Many web designers I met had problems while  creating menus, specially which contains nested sub menus. In some cases it is a real pain, but in most of cases it is simple, and the problem come when the designer start … Continue reading

Posted in Technical | Tagged , | Leave a comment

it’s weekend, facebook shoooooooo

I am not using facebook that much, I just open it for few moments everyday to check my friends news, But rarely I put a status or upload a picture there. The question I have is: why employees get angry when their companies decide to block … Continue reading

Posted in Geeky Life | Tagged , , | Leave a comment

Avoid sending Ajax request parameters in query string style

While reviewing some code, I found someone calling jQuery Ajax like this: $.ajax({       type: “POST”,       url: “/AddPost”,       data:  “postText=”+ PostText ,       dataType: “json”,       success: function (status) {        }}); //$.ajax({ And as you see in the previous code, it is … Continue reading

Posted in Technical | Tagged , , | Leave a comment

EF 4.1 Released

The final Release to Web (RTW) of Microsoft ADO.NET Entity Framework 4.1 (EF 4.1). This is a fully supported, go-live release. http://blogs.msdn.com/b/adonet/archive/2011/04/11/ef-4-1-released.aspx

Posted in News | Comments Off on EF 4.1 Released

Javascript based Data Grids

  I found in this blog post some good javascript based grids http://www.queness.com/post/7300/7-robust-and-feature-packed-javascript-grid-plugins   Here are their links: 1- http://flexigrid.info/ 2- http://www.webismymind.be/editablegrid/ 3- http://www.trirand.com/blog/ 4- http://tablesorter.com/docs/ 5- http://www.datatables.net/ 6- https://github.com/mleibman/SlickGrid/wiki 7- http://blog.jqueryui.com/2011/02/unleash-the-grid/

Posted in Technical | Comments Off on Javascript based Data Grids

Ajax loading gif images generator

I used to use this web site http://www.ajaxload.info/ to generate ajax loading gif images. Today I found another nice website and it gave me more options to generate custom images: http://preloaders.net   another simple tool: http://fgnass.github.com/spin.js/

Posted in Technical | Comments Off on Ajax loading gif images generator

List of Colors in System.Drawing.Color

Few lines of code to print all System.Drawing.Color colors on a web page. loop on System.Drawing.Color using KnownColor

  Demo

Posted in Technical | Comments Off on List of Colors in System.Drawing.Color