Hey all.
I have this problem, when i resize the browser and the searchboxs parent div has display:none; When i display the searchbox again, position of the buttons, and the textfield is pushed in.
i've created a small snippet, to show you what i mean.
The problem first occurred when i was implemented the searchbox into a bootstrap navigation.
Any help would be appreciated!
<
div
class
=
"testClass"
>
<
telerik:RadSearchBox
ID
=
"RadSearchWebTimetable"
runat
=
"server"
SearchContext-ShowDefaultItem
=
"false"
HighlightFirstMatch
=
"True"
OnSearch
=
"SearchBox_OnSelected"
MinFilterLength
=
"2"
Width
=
"100%"
EmptyMessage
=
"Søgetekst"
>
<
DropDownSettings
Height
=
"300"
Width
=
"400"
>
<
ClientTemplate
>
<
div
class
=
"#= DataItem.cssClass #"
>
#= Text #
<
p
style
=
"margin-bottom: 0px; margin-top: -15px;"
>
<
small
class
=
"text-muted text-small"
>
#= DataItem.Description #
</
small
>
</
p
>
</
div
>
</
ClientTemplate
>
</
DropDownSettings
>
<
WebServiceSettings
Method
=
"UMS_Search"
path
=
"WebServices/Search.asmx"
/>
</
telerik:RadSearchBox
>
</
div
>
<
asp:Button
runat
=
"server"
OnClientClick
=
" $('.testClass').hide();return false; "
Text
=
"Hide"
/>
<
asp:Button
runat
=
"server"
OnClientClick
=
" $('.testClass').show();return false; "
Text
=
"Show"
/>