02 November 2009

  Visual Basic Power Packs 3.0 have very cool same as we web application, named DataRepeater. lets do some cool stuff with DataRepeater control. Add Data source. Add Combobox in datarepeater control Hide show controls runtime in datarepeater control   See the above image, We have a button, a DataRepeater control and in data  repeater control we have a textbox, a combo...

23 September 2009

Google map allows us to create radius in its map, user will drag and drop that radius in different location and he will able to show only those pointers which are search result in his selected criteria. Visit this example : http://maps.forum.nu/gm_sensitive circle2.html to create radius in Google map. Now we can get new updated radius value from JavaScript function. We have to pass that amount...

18 September 2009

PicJoke is online photo editor tool, which allows to embed funny frame to our uploaded image. There are so many frame Effects. Have some quick fun....

31 August 2009

Download jQuery 1.3 Cheat Sheet from http://oscarotero.com/jquery/ it is also link to its example....

28 August 2009

I few months a go have posted about some WYSIWYG editor, I have come to know that there is one more tool next generation solution of FCK Editor. Almost all developers knows about FCK Editor, Now there is a new version, CK Editor. There is all features of FCK editor and dozens of new functionality. CK Editor is faster is fast to load and fast to use.Its current version is 3.0 See demo here....

24 August 2009

I have seen many times that Thickbox normal works with <a href=””></a> syntax, Ex : Inner Page Content Syntex : <a href="#TB_inline?height=200&width=200&inlineId=hiddenModalContentID&modal=true"class="thickbox">Click here to show hidden modal content.</a>IFrame Syntex : <a href="testPage.aspx?keepThis=false&TB_iframe=true&height=200&width=200"title="saActionPage" class="thickbox">Click here</a>   But what happen when you need...

18 August 2009

Last Month I posted that How to export to excel from web page with data formatting. But when you are trying to export entire grid specially with Boolean datatype column,                  string attachment = "attachment; filename=Registration.xls";               ...

30 July 2009

Normally we have to pass Latitude and Longitude to get location, but Using Google API “geocoder.getLatLng()” we can get location by passing address. thanks to one of my friend Dhiren Javia to find this solution for me.   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml">...

27 July 2009

Apply image reflection effect using jQuery visit here Reflection.js for jQuery is very cool plug-in to apply reflection in image dynamically without uploading two images. It is also allows you to add instantaneous reflection effects to your images in modern browsers, in less than 2 KB. It will create a “Canvas” tag programmatically to show reflection and working will almost all browsers. See...

22 July 2009

This is very good idea to compresses CSS file before uploading it on web server, It compress the file size and improve performance of web site. But some time we need to edit the same compresses file it is very big headache, There is a small online tool to compress and decompress CSS. Visit here ...

10 July 2009

Microsoft have launch new search web site, Bing.com, When we open this web site, there will be a cool background every day. Find all archives of those cool background from here. If you don’t want to load that image use this URL one time http://www.bing.com/?rb=0. Here rb=0 means No Background Image, and type rb=1 to load it....

09 July 2009

Let create cool JavaScript thumbnail zoom effect.The concept is that there will be thumbnail on page user can see it and original image will be hidden at the same time and when user rollover on that thumbnail hidden main image will smoothly resize on the same place.<script src="thumbscreen.js" type="text/javascript"></script><div><img src="saAction Real.jpg" alt="saAction" id="screen1"...

08 July 2009

I have faced this problem many times posting an article on blog spot. I was not able to provide good HTML, C# or any other code with color formatting, The problem is at the HTML code was rendering as HTML and breaking the post content, It is not able to get different between our articles code and its own code.So tried to find its solution over the net, and get many good result.1) SimpleCodeThis very...

07 July 2009

Microsoft .Net Framework 3.5 provides Chart Control for Windows and Web applications.let learn quick start about Chart control with Asp.net web site.You have to download MSChart for Microsoft .NET Framework 3.5, It will install new assemblies that contain the ASP.NET and Windows Forms Chart Controls.After its installation you have to add that control in Visual Studio's ToolBox, it will not comes...

06 July 2009

Many mobile user uses Flash animated wallpaper or screen sever, and they really like some kind of motion on mobile phone screen. And if you know flash and want to create some existing job with it. This quick tutorial will be help full to you.lets create flash file which can run in your mobile?This is very easy, lets create a flash file to apply it as wallpaper or screen sever.I am using Flash cs2...

05 July 2009

Have some fun, Whether you wear Specs or not, Its Mandatory U Complete each Test in 4-5 Seconds,This is a simple neurological test.Sit comfortably and be calm !1- Find the C below. Do not use any cursor help.OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO OOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO...

03 July 2009

Many time in commercial web sites client want to export data as excel sheet result correct with date time formatting and number decimal point formatting.here is that kind of example.string styles = "style> .amount { mso-number-format:0.00; } .exDate { mso-number-format: dd\\/mmm\\/yyyy; } /style> ";//please write lessthan sign before "style" word Table xl = new Table(); xl.BorderWidth =...

30 June 2009

Web designers have limitation to use font in web site, because fonts are comes form user computer not from web site.But Adobe Flash have a feature to embed font in flash animation.sIFR is meant to replace short passages of plain browser text with text rendered in your typeface of choice, regardless of whether or not your users have that font installed on their systems. It accomplishes this by using a combination of javascript,Read more about sIFR.See the exampl...

26 June 2009

Which java script framework you are using? If you are confuse that which framework use in web development jQuery or MootTools; I suggest you to go through this article.This web site have very useful information about jQuery and MootTools.Visit http://jqueryvsmootools.com/Well I like jQuery. ...
It is very good to compress javascript before you upload it before live site.here it is a online tool to Compress and obfuscate Javascript code online completely free using this compressor.Just enter your code and click on "Compress".make it eas...

25 June 2009

Add cool flash based gadgets in you block.See here, click any where in flash area fish will come here to eat that food!Visit http://abowman.com/google-modules/ too see more gadget...

19 June 2009

Writing inline documentation is very useful but many developers are excusing that its is taking to much time to write down comments, Friends here is a tool for you which will write XML documentation in your C# or VB.net code vary quickly.This tool is works with Visual Studio 2005, 2008.GhostDoc is a free Visual Studio extension that automatically generates XML documentation comments.Its allows us...

17 June 2009

I you are working on live site and you need to make some modifications on live server, during this modification you want to show a user friendly message that "Site is under maintenance" or "Site is under construction." or something like that, without affecting any page or database.You just need to make a simple HTML page with "app_offline.htm" name and upload it on root directory of the web site....

16 June 2009

WMD is a simple, lightweight HTML editor for blog comments, forum posts, and basic content management. You can add WMD to any textarea with one line of code. Add live preview with one line more.See Demo here.If any user don't want any advance functionality and just want to provide lightweight HTML editor, WMD is a very useful tool.Some other popular editor are :FreeTextBoxFCK EditorTinyM...

15 June 2009

When user click on "Send", "Submit", "Save" or "OK" button, page starts process for postback and user did net get idea whats going on,Some time when there is lots of data are transferring; we need to create user friendly web application to get idea to user that still its working please wait for some time.Using only javascript to so process or fire some function when user click on submit button, after check validations or before checking validation.A button on page:asp:button runat="server" id="btnSave"...

14 April 2009

CSS Z-Index is not working in IE7 Visit here to get you answer.Z-Index and position tag have a...

10 March 2009

# Local variableMein pal do pal ka shayar hoon,pal do pal meri kahani haipal do pal meri hasti hai..# Global variableMain har ik pal ka shayar hoonhar ik pal meri kahani haihar ik pal meri hasti hai# Null pointersMera jeevan kora kagazkora hi reh gaya..# Dangling pointersMaut bhi aati nahijaan bhi jati nahin.# GotoAjeeb dastan hai yehKahan shuru kahan khatamYe manzilen hain kaun siNa woh samajh sake na hum# Two Recursive functions calling each otherMujhe kuchh kehna heinmujhe bhi kuchh kehna heinPehle...

27 February 2009

System.Web.Mail is a web site to get very useful information, There is also faq to send to send email different kind of emai...

26 February 2009

You can apply date format in RegularExpressionValidator

suppose I have a textbox to apply date time by "dd/MM/yyyy" format.

I can use flowing ValidationExpression:

<asp:RegularExpressionValidator
ID="RegularExpressionValidator2"
runat="server"
ValidationExpression="(0[1-9]|[12][0-9]|3[01])[- /.](0[1-9]|1[012])[- /.](19|20)\d\d"
ControlToValidate="myTextBox"
ErrorMessage="Enter date in dd/mm/yyyy format">