jquery - Place RadDropDownTree inside bootstrap modal dialog -


i trying place raddropdowntree telerik web ui control on bootstrap modal dialog. problem have filtering textbox of drop down tree, once placed on dialog, cannot receive user input. please see code excerpt follows:

<telerik:radscriptmanager runat="server"></telerik:radscriptmanager>  <!-- button trigger modal --> <a class="btn btn-primary btn-lg" data-toggle="modal" data-target="#mymodal">     launch demo modal </a>  <!-- modal --> <div class="modal fade" id="mymodal" tabindex="-1" role="dialog" aria-labelledby="mymodallabel" aria-hidden="true">     <div class="modal-dialog">     <div class="modal-content">         <div class="modal-header">         <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>         <h4 class="modal-title" id="mymodallabel">modal title</h4>         </div>         <div class="modal-body">              <telerik:raddropdowntree id="raddropdowntree2" runat="server" enablefiltering="true"  filtersettings-emptymessage="i can't text here" >                               </telerik:raddropdowntree>         </div>         <div class="modal-footer">         <button type="button" class="btn btn-default" data-dismiss="modal">close</button>         <button type="button" class="btn btn-primary">save changes</button>         </div>     </div>     </div> </div> 

i researched problematic scenario in detail , found not related telerik dropdowntree control, because can reproduced standard absolutely positioned input element. recorded video demonstrating focus state of absolutely positioned input element not fired, active one, prevents editing. strange thing in ie user can type, while in chrome , firefox, he/she not allowed.

here video: http://screencast.com/t/hr5d6j1r77p

here markup:

<%@ page language="c#" autoeventwireup="true" %>  <!doctype html>  <html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server">     <title></title>     <link rel="stylesheet" href="//code.jquery.com/ui/1.11.0/themes/smoothness/jquery-ui.css">     <script src="//code.jquery.com/jquery-1.10.2.js"></script>     <script src="//code.jquery.com/ui/1.11.0/jquery-ui.js"></script>      <!-- latest compiled , minified css -->     <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css">      <!-- optional theme -->     <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap-theme.min.css">      <!-- latest compiled , minified javascript -->     <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>     <style>         input[type=text]:focus {             background: red !important;         }         input[type=text]:active{             background: green !important;         }     </style> </head> <body>     <form id="form1" runat="server">          <!-- button trigger modal -->         <a class="btn btn-primary btn-lg" data-toggle="modal" data-target="#mymodal">launch demo modal         </a>          <!-- modal -->         <div class="modal fade" id="mymodal" tabindex="-1" role="dialog" aria-labelledby="mymodallabel" aria-hidden="true">             <div class="modal-dialog">                 <div class="modal-content">                     <div class="modal-header">                         <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>                         <h4 class="modal-title" id="mymodallabel">modal title</h4>                     </div>                     <div class="modal-body">                      </div>                     <div class="modal-footer">                         <button type="button" class="btn btn-default" data-dismiss="modal">close</button>                         <button type="button" class="btn btn-primary">save changes</button>                     </div>                 </div>             </div>         </div>            <div style="position: absolute; z-index: 4000; top: 300px; left: 200px;">             <input type="text" name="name" value=" " />         </div>       </form> </body> </html>  

Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -