This is a migrated thread and some comments may be shown as answers.

Ajax Panel & Fire Fox 3.0

5 Answers 151 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
kollam2003
Top achievements
Rank 1
kollam2003 asked on 18 Jun 2008, 12:10 PM
When I'm placing a button in a Ajax Panel, on the button click its showing the error


Input string was not in a correct format.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:

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.

Stack Trace:

[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


Its only in Fire Fox 3.0, rset all its working fine.
Plz Help

5 Answers, 1 is accepted

Sort by
0
Konstantin Petkov
Telerik team
answered on 18 Jun 2008, 12:14 PM
Hello kollam2003,

This is a problem with an old version of RadAjax for ASP.NET. You need to upgrade to the latest version of the product to get rid of the error.

Regards,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
kollam2003
Top achievements
Rank 1
answered on 18 Jun 2008, 12:20 PM
Sir,
We are using the 2007 version of Rad Controls.
We have used the the Ajax Panel for the entire project & planning to release the project by next week. Is there any patch for this.
Any other controls having any problems like this?
Plz reply. Its urgent
0
Konstantin Petkov
Telerik team
answered on 20 Jun 2008, 06:49 AM
Hello kollam2003,

The latest version of RadControls for ASP.NET Q1 2008 resolves the problem. You will need to upgrade the RadGrid control as well since it uses internally RadAjax framework when in AJAX mode.

All the best,
Konstantin Petkov
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Alfonso
Top achievements
Rank 1
answered on 11 Dec 2008, 02:52 PM
Hi,

I'm using version 2008 Q3 (evaluating it before purchasing it). It works fine with IE, but with Firefox 3 it shows up a error "input string was not in a correct format". I mean I'm using the very last version of RAD ASP.NET AJAX controls, and since they work fine in IE I assume they are correctly configured.

We are waiting for your answer to proceed to our purchase.

my code is below. You'll see both a RadAjaxManager (to be used by a RadCombobox later on) and a RadAjaxPanel:

        <form id="Form1" method="post" runat="server">

        <telerik:RadScriptManager ID="RadScriptManager1" EnableScriptLocalization="true" EnableScriptGlobalization="true" runat="server" ></telerik:RadScriptManager>
       
        <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"></telerik:RadAjaxManager>


            <TABLE id="Table1" cellSpacing="0" cellPadding="0" width="995" border="0" height="100%">
                <TR height="100%">
                    <TD class="LeftPanel" style="WIDTH: 167px" vAlign="top" align="left">
                        <asp:placeholder id="phMenu" runat="server"></asp:placeholder>
                    </TD>
                    <TD class="PanelCentral" style="WIDTH: 827px" height="100%">
                        <TABLE id="Table0" style="WIDTH: 827px" cellSpacing="0" cellPadding="0" border="0">
                            <TR>
                                <TD style="WIDTH: 827px">
                                    <asp:placeholder id="phCabecera" runat="server"></asp:placeholder>
                                </TD>
                            </TR>
                            <TR>
                                <TD style="WIDTH: 827px">
                                    <uc1:barrasituacion id="BarraSituacion1" runat="server"></uc1:barrasituacion>
                                    
                                </TD>
                            </TR>
                        </TABLE>
                        <TABLE class="General" id="Table4" style="POSITION: relative; TOP: -15px" cellSpacing="0"
                            cellPadding="0" border="0">
                            <TR>
                                <TD style="WIDTH: 827px">
                                    <DIV id="lyContent" width:100% HEIGHT: 100%">
                                
                                    <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"
                                        LoadingPanelID="LoadingPanel1" Width="210px" HorizontalAlign="NotSet">

                                        <asp:placeholder id="Content" runat="server"></asp:placeholder>                                    
                                        
                                    </telerik:RadAjaxPanel>

                                    
                                    </DIV>
                                    
                                
                                    <telerik:RadAjaxLoadingPanel ID="LoadingPanel1" runat="server" Transparency="30" BackColor="#E0E0E0">
                                        <img alt="Loading..." src='<%= RadAjaxLoadingPanel.GetWebResourceUrl(Page, "Telerik.Web.UI.Skins.Default.Ajax.LoadingProgressBar.gif") %>' style="margin-top: 75px;" />
                                    </telerik:RadAjaxLoadingPanel>

                                   
                                </TD>
                            </TR>
                        </TABLE>
                    </TD>
                </TR>
            </TABLE>
           
        </form>
0
Pavel
Telerik team
answered on 15 Dec 2008, 09:58 AM
Hi Alfonso,

Unfortunately the provided information is not sufficient for us to reproduce the error. Could you please see if you can observe it with any of our online examples? You may also consider opening a support ticket and attaching to it a small runnable sample which replicates the issue. Looking forward to hearing from you.

Greetings,
Pavel
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
Ajax
Asked by
kollam2003
Top achievements
Rank 1
Answers by
Konstantin Petkov
Telerik team
kollam2003
Top achievements
Rank 1
Alfonso
Top achievements
Rank 1
Pavel
Telerik team
Share this question
or