Accordion refresh problem

Last post 03-27-2008 6:09 AM by Stefan Aschenbrenner. 5 replies.

Sort Posts:

  • Accordion refresh problem

    10-31-2006, 8:11 PM
    • Member
      25 point Member
    • ericdugal
    • Member since 10-26-2006, 1:13 AM
    • Posts 5

    Hi all!!

    Again, i have a strange prob with Accordion in Internet Explorer (work great in Firefox)....

    Instead of long explanation, just go to www.ericdugal.com/inventaireenligne/test.aspx and clic on any accordion pane!!! look what append on botton on accordion!!!

    That's only happen on first click.... any explanation??

     

    thanks,

    Filed under:
  • Re: Accordion refresh problem

    11-01-2006, 1:05 PM
    • Member
      25 point Member
    • ericdugal
    • Member since 10-26-2006, 1:13 AM
    • Posts 5

    So??? anybody can help???

    I'm still stuck.....

  • Re: Accordion refresh problem

    11-01-2006, 1:14 PM
    • Member
      622 point Member
    • Matt M
    • Member since 08-25-2006, 5:25 PM
    • Eastern WA, USA
    • Posts 128
    Can you post the .aspx source code?
  • Re: Accordion refresh problem

    11-03-2006, 4:46 PM
    • Member
      105 point Member
    • ancalagon
    • Member since 10-21-2006, 7:05 PM
    • WaterlooON, Canada
    • Posts 25

    Hmmmmmmm... it looks like you are using DIV's to seperate your page. Try encapsulating the accordion in a table and see if that helps.

    I looked at your page using the View DOM tool included in the FREE Developer Toolbar for IE

    http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en

     

    Awsome Thanks!
  • Re: Accordion refresh problem

    03-12-2008, 7:10 AM
    • Member
      371 point Member
    • josephjohn
    • Member since 02-27-2008, 7:10 AM
    • Kozhicode, Kerala
    • Posts 84

    Hi I got server error when I browse your site

    see

    Server Error in '/inventaireenligne' Application.

    An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    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.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

    Source Error:

    Line 54:             cmd.Parameters.Add(vcustId);
    Line 55: 
    Line 56:             cn.Open();
    Line 57:             SqlDataReader dsUser = cmd.ExecuteReader();
    Line 58:             dsResult = FrontController.convertDataReaderToDataSet(dsUser);

    Source File: e:\web\ericdugalco\htdocs\inventaireenligne\App_Code\DatabaseGateway\RapportsDG.cs    Line: 56

    Stack Trace:

    [SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)]
       System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +800131
       System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +186
       System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +737554
       System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +114
       System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +381
       System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +181
       System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +173
       System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +357
       System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +30
       System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
       System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
       System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +494
       System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
       System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
       System.Data.SqlClient.SqlConnection.Open() +111
       RapportsDG.getReportData(String CustId) in e:\web\ericdugalco\htdocs\inventaireenligne\App_Code\DatabaseGateway\RapportsDG.cs:56
       RapportsController.getReportData(String InClause, String CustId) in e:\web\ericdugalco\htdocs\inventaireenligne\App_Code\Controllers\RapportsController.cs:27
       test.Page_Load(Object sender, EventArgs e) in e:\web\ericdugalco\htdocs\inventaireenligne\test.aspx.cs:37
       System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
       System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
       System.Web.UI.Control.OnLoad(EventArgs e) +99
       System.Web.UI.Control.LoadRecursive() +47
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433

    Please mark the post as answered if it helped you.
  • Re: Accordion refresh problem

    03-27-2008, 6:09 AM

    I dont know if your problem is the same as mine. But I found your post by looking for my similar problem.
    My problem was that the first click on a button (btn) in an Accordion (accordion1) doesnt fire correct.

    I put this in the code and it runs:

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
       If IsPostBack = False Then
          accordion1.FindControl("btn")
       End If
    End Sub

    Maybe this could help someone.

     

Page 1 of 1 (6 items)