< 1 2 3 4 > >>   Sort: Date

What is the use of @ Register directives
What is the use of @ Register directives ? @Register directive informs the compiler of any custom server control added to the page.
2007-10-24, 5489👍, 0💬

How can I show the entire validation error message in a message box on the client side
How can I show the entire validation error message in a message box on the client side? In validation summary set “ShowMessageBox” to true.
2007-10-24, 5481👍, 0💬

What’s difference between Datagrid, Datalist and repeater
What’s difference between Datagrid, Datalist and repeater? WA Datagrid, Datalist and Repeater are all ASP.NET data Web controls. They have many things in common like DataSource Property, DataBind Method ItemDataBound and ItemCreated. When you assign the DataSource Property of a Datagrid to a DataSet...
2007-10-24, 5457👍, 0💬

How can you cache different version of same page using ASP.NET cache object ?
.NET INTERVIEW QUESTIONS - How can you cache different version of same page using ASP.NET cache object ? Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. The syntax is as follows:- &lt;%@ OutputCache Duration="20" Location="Server" VaryByParam="stat...
2009-05-19, 5397👍, 0💬

What’s the use of SmartNavigation property
What’s the use of SmartNavigation property ? It’s a feature provided by ASP.NET to prevent flickering and redrawing when the page is posted back. Note:- This is only supported for IE browser. Project’s who have browser compatibility as requirements have to think some other ways of avoiding flickeri...
2007-10-24, 5334👍, 0💬

How can we check if all the validation control are valid and proper
How can we check if all the validation control are valid and proper ? Using the Page.IsValid() property you can check whether all the validation are done.
2007-10-24, 5325👍, 0💬

What is a thread? How to use and create a thread in .NET?
What is a thread? How to use and create a thread in .NET? Can we use events with threading? Threads - When we want to run one or more instances of a method, we make use of threading. Suppose we have a method like this... Private Sub OnGoingProcess() Dim i As Integer = 1 Do While True ListBox1.Items....
2009-03-06, 5308👍, 0💬

What’s the use of “GLOBAL.ASAX” file
What’s the use of “GLOBAL.ASAX” file ? It allows to executing ASP.NET application level events and setting application-level variables.
2007-10-24, 5292👍, 0💬

What order they are triggered
What order they are triggered ? They're triggered in the following order: Application_BeginRequest Application_AuthenticateReques tApplication_AuthorizeRequest Application_ResolveRequestCach eApplication_AcquireRequestStat eApplication_PreRequestHandlerE xecuteApplication_PreSendRequestHead ersAppli...
2007-10-24, 5282👍, 0💬

How to decide on the design consideration to take a Datagrid
How to decide on the design consideration to take a Datagrid, datalist or repeater ? Many make a blind choice of choosing datagrid directly, but that's not the right way. Datagrid provides ability to allow the end-user to sort, page, and edit its data. But it comes at a cost of speed. Second the dis...
2007-10-24, 5276👍, 0💬

What are COM objects?
Managed Code and Unmanaged Code related ASP.NET - What are COM objects? COM objects are another type of unmanaged code that you can use from .NET assemblies. Because COM is widely used, Visual Studio includes built-in tools for importing and using COM objects within .NET assemblies. Visual Studio al...
2009-04-07, 5228👍, 0💬

What is the use of attribute
What is the use of attribute ? This attribute works like a compatibility option. As mentioned before ASP worked in STA model and ASP.NET works in MTA model, but what if your ASP.NET application is using a VB COM component. In order that VB COM runs properly in ASP.NET threading model we have to set ...
2007-10-24, 5120👍, 0💬

How can we create custom controls in ASP.NET
How can we create custom controls in ASP.NET ? User controls are created using .ASCX in ASP.NET. After .ASCX file is created you need to two things in order that the ASCX can be used in project:. ? Register the ASCX control in page using the ? Now to use the above accounting footer in page you can u...
2007-10-24, 5093👍, 0💬

How to disable client side script in validators
How to disable client side script in validators? Set EnableClientScript to false.
2007-10-24, 5092👍, 0💬

If we want to make sure that no one has tampered with ViewState, how do we ensure it
If we want to make sure that no one has tampered with ViewState, how do we ensure it? Using the @Page directive EnableViewStateMac to True.
2007-10-24, 5088👍, 0💬

What is event bubbling
What is event bubbling ? Server controls like Datagrid, DataList, Repeater can have other child controls inside them. Example DataGrid can have combo box inside datagrid. These child control do not raise there events by themselves, rather they pass the event to the container parent (which can be a d...
2007-10-24, 5073👍, 0💬

What is impersonation in ASP.NET
What is impersonation in ASP.NET ? By default, ASP.NET executes in the security context of a restricted user account on the local machine. Sometimes you need to access network resources such as a file on a shared drive, which requires additional permissions. One way to overcome this restriction is t...
2007-10-24, 5047👍, 0💬

What is the main difference between Gridlayout and FlowLayout
What is the main difference between Gridlayout and FlowLayout ? GridLayout provides absolute positioning for controls placed on the page. Developers that have their roots in rich-client development environments like Visual Basic will find it easier to develop their pages using absolute positioning, ...
2007-10-24, 5042👍, 0💬

What are different IIS isolation levels
What are different IIS isolation levels? IIS has three level of isolation:- LOW (IIS process):- In this main IIS process and ASP.NET application run in same process. So if any one crashes the other is also affected. Example let’s say (well this is not possible) I have hosted yahoo, hotmail .amazon a...
2007-10-24, 5036👍, 0💬

How to use a checkbox in a datagrid
How can I track event in checkbox which is one of the columns of a datagrid ? Note: - This is normally asked when the interviewer want to see that have you really worked practically on a project. Following are the steps to be done :- 1. In ASPX page you have to add Itemtemplate tag in datagrid. &...
2007-10-24, 5006👍, 0💬

What is a SESSION and APPLICATION object
What is a SESSION and APPLICATION object ? Session object store information between HTTP requests for a particular user, while application object are global across users.
2007-10-24, 4979👍, 0💬

You find that one of your validation is very complicated and does not fit in any of the validators, what will you do
You find that one of your validation is very complicated and does not fit in any of the validators, what will you do ? Best is to go for CustomValidators. Below is a sample code for a custom validator which checks that a textbox should not have zero value &lt;asp:CustomValidator id="CustomValida...
2007-10-24, 4973👍, 0💬

What is the difference between “Web.config” and “Machine.Config”
What is the difference between “Web.config” and “Machine.Config” ? “Web.config” files apply settings to each web application, while “Machine.config” file apply settings to all ASP.NET applications.
2007-10-24, 4912👍, 0💬

What are major events in GLOBAL.ASAX file
What are major events in GLOBAL.ASAX file ? Application_PostRequestHandler Execute:Fired when the ASP.NET page framework has finished executing an event handler. Applcation_PreSendRequestHeade rs:Fired before the ASP.NET page framework sends HTTP headers to a requesting client (browser). Application...
2007-10-24, 4862👍, 0💬

< 1 2 3 4 > >>   Sort: Date