<< < 19 20 21 22 23 24 25 26 27 > >>   Sort: Date

How to set the cursor to wait?
How to set the cursor to wait? In theory, we should cache the current state of the cursor and then put it back to its original state. document.body.style.cursor = 'wait'; //do something interesting and time consuming document.body.style.cursor = 'auto';
2009-02-10, 4655👍, 0💬

Which class does the remote object has to inherit ?
.NET INTERVIEW QUESTIONS - Which class does the remote object has to inherit ? All remote objects should inherit from System.MarshalbyRefObject.
2009-08-04, 4653👍, 0💬

What are Value types and Reference types ?
.NET INTERVIEW QUESTIONS - What are Value types and Reference types ? Value types directly contain their data which are either allocated on the stack or allocated in-line in a structure. Reference types store a reference to the value's memory address, and are allocated on the heap. Reference types c...
2010-04-13, 4647👍, 0💬

How to put a close window link on a page?
How to put a "close window" link on a page? &lt;a href='javascript:window.close( )'class='mainnav'> Close &lt;/a>
2008-10-07, 4647👍, 0💬

What is Manifest?
.NET INTERVIEW QUESTIONS - What is Manifest? Assembly metadata is stored in Manifest. Manifest contains all the metadata needed to do the following things * Version of assembly * Security identity * Scope of the assembly * Resolve references to resources and classes. * The assembly manifest can be s...
2010-03-09, 4645👍, 0💬

What are the other ways in which you can maintain state ?
.NET INTERVIEW QUESTIONS - What are the other ways in which you can maintain state ? Other than session variables you can use the following technique to store state : * Hidden fields * View state * Hidden frames * Cookies * Query strings
2009-06-16, 4645👍, 0💬

What are dependencies in cache and what are the different types of dependencies ?
.NET INTERVIEW QUESTIONS - What are dependencies in cache and what are the different types of dependencies ? When you add an item to the cache, you can define dependency relationships that can force that item to be removed from the cache under specific activities of dependencies. Example if the cach...
2009-05-05, 4645👍, 0💬

How do I test my AJAX code?
How do I test my AJAX code? There is a port of JUnit for client-side JavaScript called JsUnit
2009-06-23, 4642👍, 0💬

What's the Date object using JavaScript?
What's the Date object using JavaScript? Time inside a date object is stored as milliseconds since Jan 1, 1970. new Date(06,01,02) // produces "Fri Feb 02 1906 00:00:00 GMT-0600 (Central Standard Time)" new Date(06,01,02).toLocaleString( )// produces "Friday, February 02, 1906 00:00:00" new Date(06,...
2009-03-03, 4639👍, 0💬

When working with shared data in threading how do you implement synchronization ?
.NET INTERVIEW QUESTIONS - When working with shared data in threading how do you implement synchronization ? There are certain situtations that you need to be careful with when using threads. If two threads (e.g. the main and any worker threads) try to access the same variable at the same time, you'...
2009-12-15, 4636👍, 0💬

What is .NET Remoting ?
.NET INTERVIEW QUESTIONS - What is .NET Remoting ? .NET remoting is replacement the of DCOM. Using .NET remoting you can make remote object calls which lie in different Application Domains. As the remote objects run in different process client calling the remote object can not call it directly. So t...
2009-08-04, 4635👍, 0💬

What are undefined and undeclared variables?
What are undefined and undeclared variables? Undeclared variables are those that are not declared in the program (do not exist at all), trying to read their values gives runtime error. But if undeclared variables are assigned then implicit declaration is done . Undefined variables are those that are...
2008-12-02, 4630👍, 0💬

How to have the status line update when the mouse goes over a link?
How to have the status line update when the mouse goes over a link? &lt;a href="javascript.shtml" onmouseover="window.status='Hi There!';return true" onmouseout="window.status='';r eturntrue">Look at the Status bar&lt;/a> Look at the Status bar as your cursor goes over the link.
2008-12-30, 4620👍, 0💬

How to create an input box?
How to create an input box? prompt("What is your temperature?");
2009-01-13, 4615👍, 0💬

What is === operator?
What is === operator? ==== is strict equality operator, it returns true only when the two operands are having the same value without any type conversion.
2008-12-09, 4612👍, 0💬

How to create a confirmation box?
How to create a confirmation box? confirm("Do you really want to launch the missile?");
2009-01-06, 4611👍, 0💬

What is JavaScript?
What is JavaScript? JavaScript is a platform-independent, event-driven, interpreted client-side scripting and programming language developed by Netscape Communications Corp. and Sun Microsystems. JavaScript is a general-purpose programming language designed to let programmers of all skill levels con...
2010-05-11, 4603👍, 0💬

Which attribute is used in order that the method can be used as WebService ?
.NET INTERVIEW QUESTIONS - Which attribute is used in order that the method can be used as WebService ? WebMethod attribute has to be specified in order that the method and property can be treated as WebService.
2009-10-20, 4603👍, 0💬

What is a Managed Code?
.NET INTERVIEW QUESTIONS - What is a Managed Code? Managed code runs inside the environment of CLR i.e. .NET runtime. In short all IL are managed code. But if you are using some third party software example VB6 or VC++ component they are unmanaged code as .NET runtime (CLR) does not have control ove...
2010-02-16, 4596👍, 0💬

How to test for bad numbers using JavaScript?
How to test for bad numbers using JavaScript? The global method, "isNaN()" can tell if a number has gone bad. var temperature = parseFloat(myTemperatureWidget .value);if(!isNaN(temperature)) { alert("Please enter a valid temperature."); }
2009-02-25, 4595👍, 0💬

What is file extension of Webservices ?
.NET INTERVIEW QUESTIONS - What is file extension of Webservices ? The extension for Webservices is .ASMX.
2009-10-13, 4586👍, 0💬

How to convert a string to a number using JavaScript?
How to convert a string to a number using JavaScript? You can use the parseInt() and parseFloat() methods. Notice that extra letters following a valid number are ignored, which is kinda wierd but convenient at times. parseInt("100") ==&gt; 100 parseFloat("98.6") ==&gt; 98.6 parseFloat("98.6 ...
2009-02-17, 4586👍, 0💬

Does the performance for viewstate vary according to User controls ?
.NET INTERVIEW QUESTIONS - Does the performance for viewstate vary according to User controls ? Performance of viewstate varies depending on the type of server control to which it is applied. Label, TextBox, CheckBox, RadioButton, and HyperLink are server controls that perform well with ViewState. D...
2009-07-07, 4579👍, 0💬

What is the difference between undefined value and null value?
What is the difference between undefined value and null value? Undefined value cannot be explicitly stated that is there is no keyword called undefined whereas null value has keyword called null. typeof undefined variable or property returns undefined whereas typeof null value returns object
2008-11-25, 4562👍, 0💬

<< < 19 20 21 22 23 24 25 26 27 > >>   Sort: Date