Textbox loses focus on ad change (Windows 8)

Nov 23, 2012 at 12:18 PM

We are using ad rotation between pubcenter/adduplex in our app "3D Logo Quiz" for Windows 8. The problem is that every time a new ad appears the focused UI element loses focus. Typically a textbox a user is interacting with.

I read somewhere that this was a bug of the pubcenter ad control but given solutions only work if I directly use them in the pubcenter control without adrotator.

Coordinator
Nov 25, 2012 at 2:16 PM

Do you have any links or info on this pubcenter issue we can follow up with?

Nov 25, 2012 at 2:27 PM

There seams to be a solution at http://social.msdn.microsoft.com/Forums/da-DK/winappswithcsharp/thread/260fde69-3738-49a3-b4f1-6514389d5efd but I can't get it to work with AdRotator.

Coordinator
Nov 25, 2012 at 3:29 PM

Right, well the isEnabled property isn't persisted through to the control at present which is why it wont work with adrotator currently.

 

I'll get that patched soon.  If you want it sooner just download the Win8 source and set it in the "CreatePubcenter" function

Coordinator
Dec 3, 2012 at 5:31 PM

Right, well investigated that but must admit it makes no sense to me.

 

However i've added a "ApplyIsEnabledFix" property to the XAML control which will be available both in the Windows Phone and Windows 8 next releases.

 

Hope this helps