Home > PRISM, SilverLight, XAML > Beware of Remote Desktop when developping!

Beware of Remote Desktop when developping!

I am currently working on a modular Silverlight application using SIlverlight 4 and Prism v4. Once you get the hang of it Prism combine with Unity or Mef allow you to create really cool loosely coupled and highly testable apps. But after having set the modules and regions in my app, I was faced with a bizarre problem.

Some of the regions in my app would behave correctly in terms of binding and respond correctly to interactions of the user. But they wouldn’t allow a mouse click????

Yes that’s right the regions in question wouldn’t get the focus using the mouse but would get the focus with the keyboard after tabbing to them…

The sSilverlight app was hosted in the browser so I tought, may be by resizing, or minimizing the browser window it’ll fix the problem but no joy. That didn’t solve the issue.

After a couple hours researching left and right on this issue, I tried minimizing and restoring the remote desktop window to my dev station. And boom suddenly the “injected” region would behave!

Categories: PRISM, SilverLight, XAML Tags: , ,
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: