:: Home

  login:         
  passwords:  

WPF FAQs

WPF General Questions
Concepts Element Tree
Concepts Dependency Property
Concepts Attached Property
Concepts Routed Events
Concepts Resources.
Concepts Animation
Concepts Freezable Object
Concepts Input and Commands.
Concepts Layouts
XAML Inline Styles and Templates
XAML XML Namespaces
XAML Code Behind
XAML Custom Class
XAML Type Converters
Content Model ItemControl
Content Model HeaderedItemsControl
Content Model HeaderedContentControl
Content Model Content Control
Content Model Decorator Content Model
Content Model Panel Content Model
Documents Serialization and Storage
Documents Annotations
Documents Flow Content
Documents Printing
Graphics and Multimedia Rendering Graphics
Graphics and Multimedia Animation and Timing
Graphics and Multimedia 2D Graphics
Graphics and Multimedia 3D Graphics
Graphics and Multimedia Visual Layer
Control Customization Adorners
Control Customization Stylable controls
Control Customization ControlTemplates
Data Data Binding
Data DragandDrop
Data Serialization
Globalization and Localization Attributes
Globalization and Localization Comments
Globalization and Localization Globalization Struc
Application and Deployment ClickOnce
Application and Deployment Frame
Application and Deployment Page
Application and Deployment Navigation
Application and Deployment Setup
Application and Deployment Window
Interoperability Message Loops Between
Interoperability Win32 in WPF
Interoperability WPF in Win32
Interoperability Windows Forms and WPF
Security Trusted Security
Security Partial Trust Security
Tools Microsoft Expression Blend
Tools ZAM3D
Tools XAMLPAD
Controls ToolTip
Controls TextBlock
Controls TabControl
Controls ProgressBar
Controls PrintDialog
Controls Popup
Controls TextBox
Controls Canvas
Controls ComboBox
Controls ListBox
Controls StatusBar
Controls ToolBar
Controls Context Menu
Controls Expander
Controls DocumentViewer
Controls FlowDocumentReader
Controls GroupBox
Controls GridSplitter
Controls Image
Controls Menu
Controls ScrollBar
Controls Slider
Controls RichTextBox
Controls Border
Controls Buttons

SilverLight Interview Qs

SAP Interview Questions

Oracle Interview Questions

PHP Interview Questions

Ajax Interview Questions

IIS 7.0

OOP Interview Questions

Ruby Interview Questions

Sql Server Interview Questions

Winforms Interview Questions

SharePoint 2007 Questions

Microsoft Crm Questions

Application and Deployment Page Interview Questions & FAQs

Questions and answers for Application and Deployment Page.

42. Application and Deployment Page

    42.1 Are XAML Browser Applications OS independent ?
    42.2 When I run an XBAP application, I get Application Deployment Error. What do I do to overcome this error ?
    42.3 How to navigate between pages in an application ?

42.1 Are XAML Browser Applications OS independent ?

No. An XAML Browser application works only on Windows and requires .NET Framework 3.0 or a later version to be installed. It can be hosted in Internet Explorer or in any other browser that hosts the Microsoft WebBrowser ActiveX control.


42.2 When I run an XBAP application, I get Application Deployment Error. What do I do to overcome this error ?

XBAP applications are cached when you run for the first time. In order to give maximum performance, subsequent requests run the application from the cache until the version number of the application is changed. Therefore, if you make any changes to the code, re-compile and then run it and you don't see any changes to the result or if you get the application deployment error, run the "mage-cc" command from the Visual Studio Command Prompt and try running the application again.


42.3 How to navigate between pages in an application ?

Navigation in an application can be done in a pre-determined linear sequence, a user driven path through hierarchy or a dynamically generated path.

Navigation can be performed using the following methods:

  • Using Navigate method

Navigate method in the Navigation service can be used to navigate to a page in the application.

[C#]

//Navigate using URI.
this.NavigationService.Navigate(new Uri("mypage.xaml", UriKind.Relative));

//Navigate to an instance of a page.
mypage newpage = new mypage();
this.NavigationService.Navigate(newpage);

  • Using Hyperlinks

“NavigateUri” property of Hyperlink markup extension can be used to open a page using hyperlink.

[XAML]

<TextBlock>

     <Hyperlink NavigateUri="mypage.xaml">New Page</Hyperlink>

</TextBlock>

  • Using the journal

Both navigation containers have a journal that records navigation history like a web browser. The journal maintains two stacks for 'Back' and 'Forward' stacks to record navigation.

bottom user control
::  Home :: Services ::  Prices ::  Request Quote
Copyright 2007, Megasolutions Ltd