Hi Telerik,
I'm facing serious problems with a RadTextBox in IE7. The setting of the textbox (in a user control) is as follows:
<telerik:RadTextBox ID="RadTextBoxRollingStock" runat="server" TextMode="MultiLine" Rows="1"
Label="Name the rolling stock" LabelCssClass="label_inputfield" Width="340px"
Skin="input_calculator" EnableEmbeddedSkins="False">
</telerik:RadTextBox>
When I try to run the page the VS debugger comes up displaying (reduced to the part where the problem comes up):
Telerik.Web.UI.RadInputControl.prototype={initialize:function(){Telerik.Web.UI.RadInputControl.callBaseMethod(this,"initialize");
this._clientID=this.get_id();
this._wrapperElementID=this.get_id()+"_wrapper";
this._textBoxElement=$get(this.get_id()+"_text");
this._originalTextBoxCssText=this._textBoxElement.style.cssText;
if(this._originalTextBoxCssText.lastIndexOf(";")!=this._originalTextBoxCssText.length-1){this._originalTextBoxCssText+=";";
}if($telerik.isIE7){var b=$get(this._wrapperElementID);
if(b.style.display=="inline-block"){b.style.display="inline";
b.style.zoom=1;
}
I've debugged these lines and got:
this._clientID "CalculatorWizard_CalcStep3_RadTextBoxRollingStock" String
this._wrapperElementID "CalculatorWizard_CalcStep3_RadTextBoxRollingStock_wrapper" String
this._textBoxElement {object} DispHTMLTextAreaElement
this._originalTextBoxCssText "WIDTH: 100%;" String
this._originalTextBoxCssText.lastIndexOf(";") 11 Long
this._originalTextBoxCssText.length-1 11 Long
$telerik.isIE7 true Boolean
$get(this._wrapperElementID) null Object
b null Object
b.style.display Objekt erforderlich Fehler
So the problem comes up when variable b is used - since it's null at that time. In FireFox this problem doesn't come up. I also don't understand why this problem comes up only with this specific RadTextBox since we're using similar ones with same css, skins, etc
and there is no problem.
Any suggestions what could cause this ?
Thanks, Wolfgang
I'm facing serious problems with a RadTextBox in IE7. The setting of the textbox (in a user control) is as follows:
<telerik:RadTextBox ID="RadTextBoxRollingStock" runat="server" TextMode="MultiLine" Rows="1"
Label="Name the rolling stock" LabelCssClass="label_inputfield" Width="340px"
Skin="input_calculator" EnableEmbeddedSkins="False">
</telerik:RadTextBox>
When I try to run the page the VS debugger comes up displaying (reduced to the part where the problem comes up):
Telerik.Web.UI.RadInputControl.prototype={initialize:function(){Telerik.Web.UI.RadInputControl.callBaseMethod(this,"initialize");
this._clientID=this.get_id();
this._wrapperElementID=this.get_id()+"_wrapper";
this._textBoxElement=$get(this.get_id()+"_text");
this._originalTextBoxCssText=this._textBoxElement.style.cssText;
if(this._originalTextBoxCssText.lastIndexOf(";")!=this._originalTextBoxCssText.length-1){this._originalTextBoxCssText+=";";
}if($telerik.isIE7){var b=$get(this._wrapperElementID);
if(b.style.display=="inline-block"){b.style.display="inline";
b.style.zoom=1;
}
I've debugged these lines and got:
this._clientID "CalculatorWizard_CalcStep3_RadTextBoxRollingStock" String
this._wrapperElementID "CalculatorWizard_CalcStep3_RadTextBoxRollingStock_wrapper" String
this._textBoxElement {object} DispHTMLTextAreaElement
this._originalTextBoxCssText "WIDTH: 100%;" String
this._originalTextBoxCssText.lastIndexOf(";") 11 Long
this._originalTextBoxCssText.length-1 11 Long
$telerik.isIE7 true Boolean
$get(this._wrapperElementID) null Object
b null Object
b.style.display Objekt erforderlich Fehler
So the problem comes up when variable b is used - since it's null at that time. In FireFox this problem doesn't come up. I also don't understand why this problem comes up only with this specific RadTextBox since we're using similar ones with same css, skins, etc
and there is no problem.
Any suggestions what could cause this ?
Thanks, Wolfgang