Rank: Advanced Member Groups: Member
Joined: 6/23/2010 Posts: 48
|
Hello!
I’m using a FlyOut. It seems as it works. However when trying to use a dropdownlist for instance, it appears as not enabled. When I'm instead using the dropdownlist outside of the FlyOut control it's enabled without any other changes than dragging it outside of the FlyOut.
Why are controls inside of the FlyOut not enabled?
<eo:Flyout runat="server" ID="FlyInterim01" ExpandDirection="Top" OffsetY="-20" modal="false" EnableViewState="True" ViewStateMode="Disabled"> <ContentTemplate> <div style="border-style: outset; border-width: medium; width:300px; height:400px; background-color:#DDDDDD;"> <div style="border: medium inset #808080;margin:1%;width:97%;height:93%;"> <div class='outerborder' style='width:96%;height:95px;margin:2%;'> <div class='innerborder' style='width:80%;height:40px;margin:25px 0 0 10%;'>
<asp:Label ID="lblAddOrg" runat="server" Text="Label" CssClass="lblBox1">Addera ersättare:</asp:Label>
<asp:DropDownList ID="ddlAddOrg" runat="server" CssClass="ddlBox1" AutoPostBack="True" ToolTip="Den person du adderar kommer betraktas som ersättare för ditt ämbete. En ersättare kan användas för olika ämbeten men endast bokas som ersättare en gång per loge. Först till kvarnen gäller... OBS: Extra ersättare skall endast allokeras i undantagsfall." DataSourceID="sqlAddOrg" DataTextField="Member" DataValueField="Member_NO"> </asp:DropDownList> </div> </div> </div> </div> </ContentTemplate> </eo:Flyout>
Best Regards
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,195
|
Hi,
Don't do that. :) Flyout is not suitable to include such controls because it capture and cancel mouse down event (otherwise the event bubbles up to the document which cancels all popups, including the Flyout itself). That would cause a lot of trouble for controls that relies on a full "mouse down - mouse up -> click" event instead of a single "mouse down" event.
Thanks!
|