DotNet Blogs

Articles of ASP.NET, C# & SQL Server

Archive for May, 2009

Use Popupcontrolextender as dropdownlist

Posted by Sujit Kumar on May 18, 2009

code1

You can also use ListBox as popup 

 2

Posted in .NET, asp.net | Tagged: | 1 Comment »

how to hide url in status bar

Posted by Sujit Kumar on May 15, 2009

1.

<a href=”http://www.websitename.com/?parm=12” onMouseOver=”window.status=’http://www.websitename.com’;return true” onMouseOut=”window.status=””>Click here </a>

 

2.

<script language=”javascript” type=”text/javascript”>     function redirect(URL)     {       document.location=URL;       return false;     }    </script>

<a href=”http://www.websitename.com” onclick=”returnredirect(‘http://www.websitename.com/?parm=12′);”>Click here</a>

Posted in asp.net, java script | Tagged: | Leave a Comment »

Hide Context menu of Browser

Posted by Sujit Kumar on May 15, 2009

using oncontextmenu event of body, you can hide context menu of any Browser:

ex:

<body oncontextmenu =”return false;”>

</body>

Posted in asp.net, java script | Tagged: , | Leave a Comment »