Posts

Showing posts from September, 2014

Exploring IIS 6.0 With ASP.NET And Process of IIS Server

Image
Introduction In the past, I have written a few articles for beginners and had got a very good response from all readers. This time I have planned to write an article on IIS 6.0 and Integration of IIS with ASP.NET. I have worked on IIS 5.1, IIS 6.0, and IIS 7.0. Though the purpose of all IIS servers are the same, they are very different in their architecture and use. Don't worry, I am not going to explain the differences of those three versions of IIS. The purpose of this article is completely different. While answering in the ASP.NET forum, I found many questions on deploying websites, the security settings of IIS, different authentication types, Application Pool, recycling of application pool, etc. This is an "All in One" article for IIS. This will help beginners know what IIS is, how to install IIS, how to deploy sites on IIS, create an Application Pool, web garden, etc. This article is all about IIS 6.0. If anybody is interested in IIS 7.0, please r...

Disable Right Click Button on aspx page

If u want to restrict any user  not to copy ur website content so you use this script in tag  < script language =JavaScript> var message = "Right Click not allowed!"; function clickIE4(){ if (event.button==2){ alert(message); return false ; } } function clickNS4(e){ if (document.layers||document.getElementById&&!document.all){ if (e.which==2||e.which==3){ alert(message); return false ; } } } if (document.layers){ document.captureEvents(Event.MOUSEDOWN); document.onmousedown=clickNS4; } else if (document.all&&!document.getElementById){ document.onmousedown=clickIE4; } document.oncontextmenu= new Function( "alert(message);return false" ) </ script >

How to get the value of Textbox, CheckBoxlist, RadioButtonList, ListBox, DropDownList in javascript

Image
Introduction This Article explains you how to Raise Client Click Events for Server Controls usage : 1.Attribute 'OnClientClick' :- The OnClientClick property is used to sets a client side script or Method to be run when the Button control is clicked . eg: OnClientClick ="return javascriptMethod()" 2. getElementById ():- It is used to get the Elements in a form.This method takes an argument to access elements with a unique id attribute. eg: document.getElementById ("textbox1"); 3) getElementsByTagName ():-This method takes in as argument the name of a tag element and returns an array of all matching tags elements found in the document. eg:document. getElementsByTagName ("Label"); How to get the value of textbox in javascript ? in .aspx source code < head runat ="server">     < title > Untitled Page </ title >     < script type ="text/javascript">     function getTxt ()   ...