or
I have it:
<telerik:RadSplitter Skin="Inox" LiveResize="True" Orientation="Vertical" Width="100%"
ID="splitBody" runat="server" OnClientLoaded="Ajustar()">
And the javascript:
<script type="text/jscript">
function Ajustar() {
if (screen.height > 800) {
var splitter = $find("<%= splitBody.ClientID %>");
splitter.Resize(
null, screen.height - 350);
}
}
</script>
This work fine in IE, but doesn't work in firefox.....
Any Idea ?!?!?!
Thanks a lot
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. |
[FormatException: Input string was not in a correct format.] System.Number.StringToNumber(String str, NumberStyles options, NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal) +2725283 System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info) +102 System.Web.UI.WebControls.ImageButton.LoadPostData(String postDataKey, NameValueCollection postCollection) +134 System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackDataHandler.LoadPostData(String postDataKey, NameValueCollection postCollection) +11 System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad) +673 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2967 |