Greg Does IT

Do it to get it

About

The blog of Gergely Orosz on IT related topics: web, software design, .NET, PHP and the rest. Follow me @gergelyorosz on Twitter.

Archive for March, 2009

When working with images I sooner or later usually run into the problem of creating thumbnails. Resampling images is not really difficult in the major programming languages however I have not found built-in support for caclulating thumbnail dimensions neither in .NET nor in PHP. And it seems that this made me re-invent the wheel over [...]

Read the rest of this entry »

ASP.NET server side element names changed?

Wednesday, March 4th, 2009

As far as I’ve known if the ClientID of a server control looked someting like this:
ctl00_WebPartManager1_184c801b_7c67_4967_be37_3ab10406f967_ctl00_linkVote1
.
Then the name sent on postback (which identified the control on the server side) was:
ctl00$WebPartManager1$184c801b$7c67$4967$be37$3ab10406f967$ctl00$linkVote1
.
But since some time the _ to $ conversion is not true any more. Instead the _ signs are randomly replaced by dollar signs. Recently the [...]

Read the rest of this entry »