Friday, May 29, 2009

Possible Grid change

I am thinking of changing the way the grid works buy adding a PageIndexChanged Event. I would like to know everyones opinion

This will break everybody code , but I think it will pay off in the long run.

The benefits of the change are:

- You will be able to use two grids with paging on one page.(only possible today with hacks)

- the code will be more similar to the one used on the regular gridview.

- the grid will problably work better with timers

The downside:

- you will have to change your code to make the grid work again.


Right now its just a thougth ..not even sure its possible, but I want to give a try if everybody its ok with it.

Wednesday, January 14, 2009

Debugging Javascript

If you have Visual Studio 2008 you can debug javascript just like you debug C sharp cod.Just put a break point and run your project using the F5 key. But what if you don't have ??
All you have to do is add the debugger keyword on your javascript code where you want to debug.
When the code is executed IE will ask you if you want to debug and list the programs you have to debug the code. This technique also works with firefox+firebug.
To turn on javascript debuggin in IE you have to go in Tools->Internet Options and on the advanced tab uncheck the "Disable script debugging".
Be aware that this can cause the browser to show you errors in all sites ( and believe me there are a lot out there).

Wednesday, November 05, 2008

My personal page

Finally my personal page is alive..you can see it here.
There is not much there , but with time I think I will put some very cool stuff there.
Hope you like it.