Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
NET framework
NET assembly
NET code security
NET access modifiers
NET architecture
NET base class library
NET CLR
NET constants,enum,arrays
NET data types
NET menu
NET garbage collection
NET debug and trace
NET properties
NET form
NET assemblies & resources
NET class & structures
NET binding,viewing,filtering
NET configuring & optimizing
NET configuring setup project
NET constructors & destructors
NET control
NET dataset objects
NET debugging tools
NET debug & trace classes
NET delegates & events
NET exception handling
NET globalization-localization
NET interoperability
NET project deployment
NET securing application
NET using XML
NET validating user input
NET windows communication
NET windows presentation
NET windows workflow
 
ASP.NET
C#.NET
VB.NET
AJAX
 
PHP
 
C
C++
Java
Data Structure
Oops
 
Database concepts
SQL Server
Oracle
MySQL
Data warehousing
Service-oriented architecture
SQL Server notification services
SQL Server Reporting Services
Sharepoint
Biztalk interview questions
 
Operating System
Project Management
Linux
Testing
Networking
Software engineering
 
UML
XML
HTML
SOAP
CSS
VBScript
 
CV tips
Cover letter tips
Interview tips
Human resources
Soft skills
Group discussion

.NET Menu


.NET Menu - Interview questions

<<Previous  Next>>

.NET Menu - August 25, 2008 at 18:00 PM by Amit Satpute

Define context menu.

Answer
The menu that you get when you right-click is called the context ment. It is a modular piece of markup code that can move around the page. It consists of two distinct blocks—the user interface and the script code to connect the UI to it. 

What is the purpose of CloneMenu?

Answer
CloneMenu method copies the whole list of MenuItem objects into the current menu. It accepts a parameter of the type Menu. It can be used in a derived class to clone MenuItem objects. They can then be reused by other classes that derive from Menu.  


.NET Menu - October 30, 2008 at 18:10 pm by Amit Satpute

Explain how to dynamically add items to a menu in .NET.

Following answer provides a very generalized idea of how this can be done:

  • The first step would be locating the Assembly DLL.
  • An appropriate plug-in can be indicated by publishing an interface residing in the remote DLL. This is the second step.
  • Then, load the DLL using the LoadFrom method.
  • Validate plug-in status using reflections.
  • Create a new instance of the object in the class supporting your interface.
  • Then use the GetMenuItem method to have the class to return a MenuItem object.
  • And then add the MenuItem.

Explain how to dynamically clone a menu in .NET.

Follow the steps below to dynamically clone a menu in .NET:

  • Create an alternate MainMenu object.
  • Clone the first menu with the CloneMenu method.
  • Create additional menu items related to the application state.
  • Then add the new menu items to the MenuItems collection of the top-level menu item cloned. This can be done by using the Add method to specify their order within the collection by their index.
  • Assign the newly-created MainMenu object to the form.


<<Previous  Next>>



 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.