Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
2745
Postback causes dropdown to loose its content...
posted

Hello!

I have a small problem with my cascading webdropdowns. One page load, I am setting the selectedvalue property of the first dropdown and when I open that dropdown and selects a new item, a postback will be done and everything works as it should. the second dropdown is updated! the problem is that if I reselect the default value directly after the page load, it feels like the page does some sort of silent postback and the content in the dropdown is lost.

i have looked at this during debug and none of the server events that i am using (DataBinding, DataBound, ValueChanged) are fired. But when I look at the control it really feels like it is doing a postback (it takes some time for the dropdown to close).

To make it easy for all of you experts out there, i have published a small test page that can be viewed as well as the source code for this simple page..

http://profilesolutions.lindab.com/Informationgateway/LindabStructuralDesigner/Webdropdowntest.aspx

Please try it and simply open the first dropdown and reselect the option that is default when the page is loaded. All the images will disappear...

Thanks for your help!

/Henrik

WebDropDownTest.zip
Parents
  • 3338
    Verified Answer
    posted

    errors:

    Parser Error

    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load file or assembly 'Infragistics35.Web.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' or one of its dependencies. The system cannot find the file specified.

    Source Error:

    Line 1:  <%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="WebDropDownTest.aspx.vb" Inherits="LindabStructuralDesigner_WebDropDownTest" %>
    Line 2:
    Line 3: <%@ Register assembly="Infragistics35.Web.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.GridControls" tagprefix="ig" %>
    Line 4: <%@ Register assembly="Infragistics35.Web.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.ListControls" tagprefix="ig" %>
    Line 5: <%@ Register assembly="Infragistics35.Web.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" namespace="Infragistics.Web.UI.EditorControls" tagprefix="ig" %>

    Source File: /Informationgateway/LindabStructuralDesigner/Webdropdowntest.aspx    Line: 3

    Assembly Load Trace: The following information can be helpful to determine why the assembly 'Infragistics35.Web.v9.2, Version=9.2.20092.1003, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb' could not be loaded.

    WRN: Assembly binding logging is turned OFF.
    To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
    Note: There is some performance penalty associated with assembly bind failure logging.
    To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].


    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

Reply Children