I am using the jQuery Mobile framework (1.3.1) with a mobile site combined with the RadDatePicker (and RadTimePicker) using the MetroTouch skin. While building the site I noticed in IE10 there was an extra textbox and in Chrome there is an extra bar, both showing above the controls. When I did an Inspect Element on the element I found the following HTML:
The problem appears to be with the parent wrapper as the jQuery framework sees this as a normal control and adds some additional styling to it which causes it to be visible, though you can't actually interact with it.
To recreate a sample, just add these four lines to a web form (to setup jQuery mobile) and then add a standard RadDatePicker with the MetroTouch skin (version 2013.1.417.45).
Any thoughts on how to make this not show?
<
div
id
=
"ctl00_cpContent_rdStartDate_wrapper"
class
=
"RadPicker RadPicker_MetroTouch"
style
=
"display:inline-block;width:160px;"
>
<!-- 2013.1.417.45 -->
<
input
style
=
"visibility:hidden;display:block;float:right;margin:0 0 -1px -1px;width:1px;height:1px;overflow:hidden;border:0;padding:0;"
id
=
"ctl00_cpContent_rdStartDate"
name
=
"ctl00$cpContent$rdStartDate"
type
=
"text"
class
=
"rdfd_ radPreventDecorate"
value
=
""
title
=
"Visually hidden input created for functionality purposes."
/>
The problem appears to be with the parent wrapper as the jQuery framework sees this as a normal control and adds some additional styling to it which causes it to be visible, though you can't actually interact with it.
To recreate a sample, just add these four lines to a web form (to setup jQuery mobile) and then add a standard RadDatePicker with the MetroTouch skin (version 2013.1.417.45).
<
link
rel
=
"stylesheet"
href
=
"http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css"
/>
<
script
src
=
"http://code.jquery.com/jquery-1.9.1.min.js"
></
script
>
<
script
src
=
"http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"
></
script
>
Any thoughts on how to make this not show?