Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

asp.net 2.0 updatepanel wizard rendering problem after postback

$
0
0

Hello,

I have a asp.net 2.0 website, using a wizard-control inside a updatepanel.

Some customer reported a problem, during click next-button on the wizard-control.
They are missing the text and table contend on the next side.
All my tests on all Browsers worked fine.

Any ideas?
Thanks
Chris

<body><form id="form1" runat="server"><cc1:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" EnableScriptGlobalization="true"
        CombineScripts="false"><Services><asp:ServiceReference Path="~/WSdaten.asmx" /></Services></cc1:ToolkitScriptManager><asp:UpdatePanel ID="C_UpdatePanel1" runat="server" UpdateMode="Conditional" EnableViewState="true" ><ContentTemplate>

......

Protected Sub Page_PreInit(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.PreInit
        Try
            Debug.WriteLine("Page_PreInit Event")

            If Not Page.IsPostBack Then
                Debug.WriteLine("Page_PreInit Not PostBack Event")
                AppSession.Clear()
                'Caching
                '*******
                If _cache <> "true" Then
                    Response.Cache.SetCacheability(HttpCacheability.NoCache)
                    Response.Cache.SetAllowResponseInBrowserHistory(False)
                    Response.Cache.SetNoStore()
                    Response.Cache.SetExpires(DateTime.Now)
                    Response.Cache.SetValidUntilExpires(True)
                End If

                'UI-Design setzen
                '****************
                Dim des = Request.QueryString("des")
                If Not [String].IsNullOrEmpty(des) Then
                    Me.Theme = des
                    AppSession.Design = des
                Else
                    Dim verID = Request.QueryString("verID")
                    Dim svID = Request.QueryString("sverID")
                    If Not [String].IsNullOrEmpty(verID) AndAlso Not [String].IsNullOrEmpty(svID) Then
                        des = _odbc.GetVeranstDetStart(verID, svID, 21)
                        Me.Theme = des
                        AppSession.Design = des
                    End If
                End If
            Else
                Me.Theme = AppSession.Design
            End If

        Catch ex As Exception
            SetLog("Default.aspx/Page_PreInit: " + ex.Message)
            Debug.WriteLine("Default.aspx/Page_PreInit: " + ex.Message)
            'Response.Redirect("~/ErrorPage.aspx", False)
        End Try

    End Sub

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        'Protected Sub Page_LoadComplete(sender As Object, e As System.EventArgs) Handles Me.LoadComplete
        'Me.C_3cTeamRegAbs_Button1.Attributes.Add("onclick()", "TeamSendRegistration()")
        'TeamSendRegistration()
        Debug.WriteLine("Page_Load Event")

        Try
            'Erstes Laden der website
            If Not Page.IsPostBack Then
                Debug.WriteLine("Page_Load Not PostBack Event")
                AppSession.Init = False

                'Request QueryString Variablen auslesen und prüfen
                '*************************************************
                Dim verID = Request.QueryString("verID")
                Dim svID = Request.QueryString("sverID")
                Dim lang = Request.QueryString("lang")
                If [String].IsNullOrEmpty(verID) OrElse [String].IsNullOrEmpty(svID) OrElse [String].IsNullOrEmpty(lang) Then
                    Throw New Exception("Fehlende Parameter verID, sverID, lang!")
                ElseIf _odbc.GetVeranstVorh(Integer.Parse(verID)) = False Then
                    Throw New Exception("Veranstalter " + verID + " nicht vorhanden!")
                End If

                'Session-Variablen initialisieren
                '********************************
                AppSession.anmTN = Nothing
                AppSession.anmBewList = Nothing
                AppSession.anmArtList = Nothing
                AppSession.VerID = Integer.Parse(verID)
                AppSession.SverID = Integer.Parse(svID)
                AppSession.Lang = lang
                AppSession.verDetList = _odbc.GetVerDetList(AppSession.VerID, AppSession.SverID)   'Veranstalter-Details laden
                AppSession.txtList = _odbc.GetTextList(lang, AppSession.VerID)    'Texte laden
                AppSession.artPreisList = _odbc.GetArtPreisList(AppSession.VerID)   'Artikel-Preise laden
                AppSession.ParamList = _odbc.GetParamList(AppSession.VerID)   'Parameter des Veranstalters laden
                AppSession.logging = _log
                AppSession.package = Me.C_PackID_HiddenField1.Value
                AppSession.IP = Request.ServerVariables("REMOTE_ADDR")
                AppSession.SessID = HttpContext.Current.Session.SessionID
                AppSession.SpeichOkay = False
                AppSession.Init = True



                'Eingabefilterung initialisieren
                '*******************************
                InitEingabeFilterung()
                'Verwendung von Hiddenfield für sverID, da Probleme mit sverID
                Me.C_VerID_HiddenField1.Value = AppSession.VerID.ToString()
                Me.C_SverID_HiddenField1.Value = AppSession.SverID.ToString()
                Me.C_Lang_HiddenField1.Value = AppSession.Lang
                Me.C_PackID_HiddenField1.Value = _odbc.GetParam(AppSession.VerID, 10)

                'Daten initialisieren
                '********************
                Me.Title = _odbc.GetText(10)
                InitDaten1()
                InitDaten2()

                Me.C_1aAuswahl1_RadioButton1.Checked = True
                Me.C_1aRegnr_TextBox.Focus()
            End If

        Catch ex As Exception
            SetLog("Default/Page_Load: " + ex.Message)
            Debug.WriteLine("Default/Page_Load: " + ex.Message)
            Current.Trace.Warn("TraceMeldung", "Page_Load: " + ex.Message)
            'Response.Redirect("~/ErrorPage.aspx", False)
        End Try


    End Sub



Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>