This is a migrated thread and some comments may be shown as answers.

Impossible to type into my SearchBox

3 Answers 94 Views
SearchBox
This is a migrated thread and some comments may be shown as answers.
jeremy
Top achievements
Rank 1
jeremy asked on 07 Jan 2016, 03:40 PM

Hi, i have a problem with a RadSearchBox in IE11. 

My SearchBox works when i launch the page for the first time, but in my page i use a modal window, wich is simply a Div. When this modal window is open, i put the Div which contains the SearchBox (and other elements) in "visibility: hidden;". 

And when i close my modal window, i put it back to "visibility: visible", and from that moment it is impossible to write in the SearchBox.

I tried to add javascript to solve the problem, but nothing worked. Does someone have an idea?

1.var input = $j("#<%=SearchBox.ClientID%> input[type=text]");
2.input.focus(function () {
3.    this.value = "";
4.    this.contenteditable = true;
5.})

3 Answers, 1 is accepted

Sort by
0
Peter Filipov
Telerik team
answered on 12 Jan 2016, 08:10 AM
Hi Jeremy,

Please setup a runnable sample and send it back to us for a local test. 

Regards,
Peter Filipov
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
moegal
Top achievements
Rank 1
answered on 21 Apr 2016, 06:41 PM

I am seeing the same thing. Seems the input is getting created with the following style="width: 5px;"

<input class="rsbInput radPreventDecorate rsbEmptyMessage" type="text" value="Search Products" name="ctl00_rsbSearch" id="ctl00_rsbSearch_Input" autocomplete="off" style="width: 5px;">

I am using bootstrap skin.

my width is 300.

I added the following css as a temp fix:

 .RadSearchBox_Bootstrap .rsbInner .rsbInput {
            width:248px !important;
        }

0
Ivan Danchev
Telerik team
answered on 26 Apr 2016, 04:14 PM
Hello,

Could you please post a sample page, which demonstrates this SearchBox behavior and specify your controls version?

Regards,
Ivan Danchev
Telerik
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
Tags
SearchBox
Asked by
jeremy
Top achievements
Rank 1
Answers by
Peter Filipov
Telerik team
moegal
Top achievements
Rank 1
Ivan Danchev
Telerik team
Share this question
or