xbap

How to resolve: WPF access keys intercepted by IE

We have built a XBAP application and have given the access keys (keyboard shortcuts) on labels/buttons. But IE seems to capture the access key first and hence the application does not get a chance to handle the access keys. Is there any workaround/solution so that XBAP application overrides the access key of IE? ...

How to fetch string from resource to assign in WPF Resource section in xaml

I have a XBAP application with the following user control: <UserControl x:Class="XXX.UsersGrid" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Height="Auto" Width="Auto"> <UserControl.Resources> <DataTemplate x:Key="U...

Listview navigation behaviour in an xbap versus a standalone app

Hello, I have an wpf application which contains a listview. When the application runs as a standalone I can navigate through the list with the arrow up and the arrow down keys on the keyboard. When the application is deployed as an XBAP and runs in a browser window I can do this too but when I for example reach the top element and press...

How to: Modal window in XBAP application

We have a XBAP application which has the following code in a Page: Person newPerson = new Person(); PersonWindow personWindow = new PersonWindow(newPerson); personWindow.ShowDialog(); Now this code is invoked from a XBAP page, the resultant window does not behave like Modal window, is there any way to achieve this without ...

Directly Navigating a Browser with an XBAP

Hi all, I'm working on a full-trust WPF browser application (XBAP) and have come across a snag. An application on the client is wired to handle navigation requests with a certain prefix/protocol. (For example, 'foo://...") Additionally, the application handles these differently depending on which browser creates the request. I've trie...

Get Published XBAP version in C#

I have an XBAP currently published on my local machine, which has an 'About' canvas build into the XMAL, of which I want to show the published version number, but I can only seem to get the assembly version number. Any suggestions? ...

WPF C# System.Deployment Problem

I'm developing an XBAP application in C# and want to be able to use the System.Deployment object methods. In the object browser, I'm able to see all the object, when I try and access these methods via the code, it will not work and states that the methods are not in the name space. Any suggestions? ...

XBAP iFrame in hidden div problem in FireFox

I have an XBAP that is in an IFRAME, wrap inside a DIV, which can be hidden and shown at the users will. But, in FireFox, after hiding the DIV and later re-showing it, the XBAP disappears. I have tried all sorts of refresh methods I can find, but nothing seems to work. I don't want to reload the XBAP as its showing information specifi...

How to prevent browser from closing while running an XBAP?

We need to prevent the browser from closing (hitting X) in our XBAP application if the user has edited any data. We are checking for this in the Closing event of our Page/Window, doing e.Cancel, and that does fire correctly, however it does not prevent the browser from closing. This does work when closing a tab, but not when closing th...

WPF WBA (XBAP) versus Silverlight

I'm looking into creating a system / site which includes a website. I would like to get the benefits of WPF, and WBA seems to be a good avenue of doing this. Silverlight on the other hand is also good for accomplishing this goal, with the difference that WBA provides more options and power than Silverlight. What are the benefits / losse...

Dual-deploying a WPF app natively and as a XBAP

How to create a WPF application that can be deployed as either a XBAP or as a native Windows application with as little overhead as possible? XBAPs are binary compatible with WPF Windows applications and run on top of the same CLR (Unlike Silverlight). They still differ in some ways. From deployment point of view their largest differenc...

Is it possible to create XBAP applications with Expression Blend 3 only?

I want to create an XBAP application with blend, but when click on File New Project it asks me if I want to create: Silverlight 3 Application + Website --or-- WPF Application Is there a way to create XBAPs from Expression Blend 3 or does this require Visual Studio? ...

XBAP deep linking. Possible security threats?

I have an XBAP WPF application which displays various pages inside of a Frame. I was thinking about allowing deep linking into this app. So that users can link to something like http://myhost/myapp.xbap?page=MyPage and I then when app loads I automatically set MyPage.xaml as a source of my main frame. I think I have an understanding of ...

Deploy XBAP Application?

We have a WPF Application that has a two flavors with a consistent UI etc,one that runs from a Windows OS Desktop and one that is supposed to run as an XBAP application. Currently I am publishing the XBAP application to my localhost machine IIS (Windows XP Pro),Also I have enabled full trust in my scenario as it is needed(Microsoft .NET...

Detect network connectivity from a WPF/XBAP Application?

Is there any way to determine if an XBAP (WPF hosted in a browser) application has network connectivity? If not, how would a traditional windows client written in C# and .NET determine if it has connectivity? Basically the use case is an XBAP application running on a mobile laptop connected to an intranet via WiFi. The laptop will not h...

Why would server say it can't find .exe file when trying to execute .xbap file?

I created an .xbap application with Visual Studio C# Express. Runs fine with F5. Then pressed F6, copied the following files from /Release directory up to ASP.NET webserver: Motion2.exe Motion2.exe.manifest Motion2.pdb Motion2.xbap But when I try to execute it in Firefox or IE: http://tanguay.de/xbap/Motion2/Motion2.xbap I get the...

new project - webforms v silverlight v wpf

Hi just about to get the dev team to start looking at the next version of a CRM type SOA based application and the thorny issue of Application Front End came up. Currently the application is a composite application using Web Forms (.net2) Sharepoint 2003 InfoPath * BizTalk *Not FormsServer though - was before FormServer as we hack...

WPF - Switching from WPF app to xbap

I have a working WPF application. I would like to see it running as an xbap. What do I need to change in my WPF app to make it run as an xbap? ...

WPF Destructor

Does anyone know the correct method for writing a destructor for an XBAP application? ...

xbap and asp net membership

I have hosted my xbap application inside a folder that can be accessed only by some roles(asp net membership). i login in the webpage and try to access the xbap application, then a message display saying that "application files cannot be found". btw this thing works with a silverlight appliation. ...