Archive for May 27th, 2006

27 May 2006

Snippet Compiler

No Comments .NET Tools, C#

Here is a useful .NET utility if you only want to test 8 line code and without getting involve in launching that bulky VS.NET, and then creating project etc.

URL: Snippet Compiler
Download: 2.0.8.3 for .NET 2.0 | 2.0.7.1 for .NET 1.1

Some of the interesting features I like in Snippet Compiler:
> It minimize to the system tray of task bar.
> It can also builds WinForm EXEs, console EXEs or DLLs.
> You can compile multiple C#, VB.NET ASP.NET code.
> It can be used to store templates library as well.
> IntelliSense for static members and method
> You can also export your snippet in HTML format which can be post in your blog.

Snippet Compiler Screenshot

27 May 2006

Adding client script to server control in ASP.NET 2.0

No Comments ASP.NET

Sometime back I written an article on displaying dialog box in ASP.NET 1.1. As I have explained in that article, to pop a dialog box you need to add an attribute to the server control for event “onclick”. This requires server-side coding even if you want to display simple confirmation message.

ASP.NET 2.0, by adding “OnClientClick” event to the Button control, Microsoft has made this task easier. You just need to place your client-side code in “OnClientClick” event of the control and you are done.

Here is the code snippet to explain that:

<asp:Button ID="buttonAlert" runat="server" Text="Alert" OnClientClick="alert('Button Clicked!');" />

<asp:Button ID="buttonDelete" runat="server" Text="Delete" OnClientClick="if(confirm('Are you sure to delete?')){}else{return false};" />

27 May 2006

Why Tim O’Reilly cannot legally own Web 2.0??

4 Comments Web 2.0

Ok, so next time when you use term “Web 2.0″, be prepare yourself to get legal notice from lawyer of O’Reilly.

News is that IT@Cork wants to organize a upcoming Web 2.0 half-day conference and they got legal notice from O’Reilly demanding that they should immediately cease and desist from using term “Web 2.0″ as title of this event. And funny part is that Tim O’Reilly was actually got invitation for same conference.

O’Reilly trademarks “Web 2.0? and sets lawyers on IT@Cork!

And here is that cease and desist letter:
IT@Cork receive a Cease and Desist from CMP

Thats Great!

But problem here is the Tim O’Reilly can not legally register the term “Web 2.0″ as service mark because someone else has already using this term and for commercial purpose since 2002.

It’s a book published by Dermot A. McCormack in 2002:
Web 2.0: The Future of the Internet and Technology Economy

And thence Tim O’Reilly can not legally register or own the term “Web 2.0″.