We've got a weird situation. We open a RadWindow to let the user input query criteria. Within this RadWindow is a RadSplitter, within which are three RadPanes: header, input, footer. Within the input RadPane are several asp Panels, each of which displays a different kind of input (text, date, address-type info, etc). Depending on the type of field selected, we make the appropriate Panel visible.
Upon opening the RadWindow, we include a javascript file whose Load function calls this:
Here's the weird part: if the user selects a date-type of input, the RadPane wrapping the content gets rendered as:
The Panel we make visible for date contains a checkbox and a PeterBlum DateTextBox.
If I comment out the autoSize() call, the RadWindow sizes to whatever it's called with. Of course, we want it to auto size depending on which Panel we make visible, so that's not a good option.
Note that 1193046 (base 10) = 123456 (base 16). There's no way that's a coincidence; somehow, autosize is picking up a crazy default value. Also note this weird behavior is IE-only.
I'm sure I've isolated it to interaction between PB DateTimeBox and RadPane; I've added a DateTimeBox to one of the other Panels to test, and the RadPane blows out. Also, I've removed it from the date-time Panel and the RadPane's width renders more normally.
What the specific interaction between the two which causes the width to go wild is, I haven't been able to uncover yet.
Upon opening the RadWindow, we include a javascript file whose Load function calls this:
function
SizeToFit() {
window.setTimeout(
function
() {
var
oWnd = GetRadWindow();
oWnd.autoSize();
}, 250);
}
Here's the weird part: if the user selects a date-type of input, the RadPane wrapping the content gets rendered as:
<
div
id
=
"RAD_SPLITTER_PANE_CONTENT_ParamPane"
style
=
"width: 1193046px; height: 300px; overflow: hidden;"
>
The Panel we make visible for date contains a checkbox and a PeterBlum DateTextBox.
If I comment out the autoSize() call, the RadWindow sizes to whatever it's called with. Of course, we want it to auto size depending on which Panel we make visible, so that's not a good option.
Note that 1193046 (base 10) = 123456 (base 16). There's no way that's a coincidence; somehow, autosize is picking up a crazy default value. Also note this weird behavior is IE-only.
I'm sure I've isolated it to interaction between PB DateTimeBox and RadPane; I've added a DateTimeBox to one of the other Panels to test, and the RadPane blows out. Also, I've removed it from the date-time Panel and the RadPane's width renders more normally.
What the specific interaction between the two which causes the width to go wild is, I haven't been able to uncover yet.