Win Surprise Gifts!!!
Top 5 Contributors of the Month
Post New Question
Subscribe to Interview Questions
You are designing a User Control. You created new property called BackgroundImage which is of type Image.
You wanted to disable storing this property in the user's form.
How to achieve this?
Posted By :
Posted Date :
October 06, 2010
Use the attribute:
You can also find related Interview Question to
You are designing a User Control. You created new property called BackgroundImage which is of type Image. You wanted to disable storing this property in the user''s form. How to achieve this?
What property of the control can determine whether it can recieve a user focus ?
Is there any out of the box user interface available for setting and reading the property bag values?
There is no out of the box user interface available for setting and reading the property bag values, however you can download this Property Bag util from http://pbs2010.codeplex.com/releases/view/46201 to have the interface in central admin for setting the property bag values. This SharePoint Property Bag Settings is a reusable component that you can include in your own SharePoint applications. It can store simple types, such as integers or strings, as well as any type that can be serialized to XML.
What property will determine whether the form is a MDI Form ?
A default property is called as a...
What are the requirements to create a CLR based user-defined type?
CLR must be enabled for the instance and A class created with a CLR-compatible language.
What is a user control?
An ASP.NET user control is a group of one or more server controls or static HTML elements that encapsulate a piece of functionality. A user control could simply be an extension of the functionality of an existing server control(s) (such as an image control that can be rotated or a calendar control that stores the date in a text box). Or, it could consist of several elements that work and interact together to get a job done (such as several controls grouped together that gather information about a user's previous work experience).
What is different between Web User Control and in Web Custom Control?
Web user controls : Web User Control is Easier to create and another thing is that its support is limited for users who use a visual design tool one gud thing is that its contains static layout one more thing a seprate copy is required for each application.
Web custom controls: Web Custom Control is typical to create and gud for dynamic layout and another thing is it have full tool support for user and a single copy of control is required because it is placed in Global Assembly cache.
A declaration in the form of public string this[int item] represents a
When file upload control is used, you can add maximum 4 mb size of the file. Using which property one can extend the limit of file size?
MaxRequestlength Property needs to be set. It takes value in KB. It can support max 2GB file.
If for a Compare Validator control, ControlToCompare and ValueToCompare properties are set, then which property will take precedence?
The ControlToCompare property takes precedence.
Which property common in every validation control?
Which property needs to be set for script manager control to extend the time before throwing time out expection if no response is received from the server?
AsyncPostBackTimeout Property needs to set which gets or sets a value that indicates the time, in seconds, before asynchronous postback time out if no response is received from the server.
The default value of this property is 90 second. We can also set the user defined error message using asyncpostbackerrormessage property (as shown in above code) for time out.
You are designing a GUI application with a window and several widgets on it. The user then resizes the app window and sees a lot of grey space, while the widgets stay in place. What's the problem?
One should use anchoring for correct resizing. Otherwise the default property of a widget on a form is top-left, so it stays at the same location when resized.
Difference Between User Control and Custom Control In Asp.Net?
User Controls: We need to implement with Predefined Functionality with Available Properties
Web User Controls:Web User Controls Implements Customized Properties and Customized Methods,we can develop any control with User defined Properties
Quick Links For Interview Questions Categories:
Find questions, FAQ's and their answers related to .NET, C#, Vb.Net, Sql Server and many more.
Now you can find lots of .NET, C#, Vb.Net, SQL Server,Windows, ASP.Net related Questions and their Answers here at www.dotnetspark.com. Our aim is to help you pass your certification Exams (MCP, MCSD, MCAD etc.,) with flying scores and get good name in your company.
So, Start looking our
section daily and improve your .NET Skills. You can also help others by posting Interview Questions and their Answers in this section.
Hall of Fame
Terms of Service
Tell A Friend