Welcome Guest Search | Active Topics | Sign In | Register

Flyout Control on Firefox Options
Mike Wynn
Posted: Monday, November 8, 2010 11:40:48 AM
Rank: Advanced Member
Groups: Member

Joined: 8/24/2007
Posts: 130
Hi,

I have recently started to use the Flyout control. The flyout is used to display a UserControl that contains a text box. On IE, I am able to write to the text box with no problem, however on Firefox, the Text Box click event does not seem to be firing, as I am unable to enter text.

I am using build 8.0.34.2

I would be grateful for any assistance here.

Regards,
Phil
eo_support
Posted: Monday, November 8, 2010 1:22:48 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi,

We couldn't find a reliable way to have textbox inside the flyout popup either. The root of the problem is FireFox considers an event to be entirely canceled for all affected elements when the event is canceled on a parent element. We need to cancel click event on the flyout popup level so that it does not populate to the document level.

A working, but not perfect workaround is to put a div around your textbox with the following code:

Code: HTML/ASPX
<div onmousedown="document.getElementById('client_id_of_the_textbox').focus();">
   your text box here
</div>


This will focus the textbox when you click it thus allow you to enter text. However other features such as selecting by mouse still won't work.

Thanks!
Mike Wynn
Posted: Tuesday, November 9, 2010 4:11:09 AM
Rank: Advanced Member
Groups: Member

Joined: 8/24/2007
Posts: 130
Thanks, that has solved the issue for me...

Phil


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.