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
errors:
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" %>
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
Hello and thanks for the answer!
I have closed this case in my mind a while ago and the assemblies on the server were changed after that. So we can conisder this case as solved but not really ;-)
Unfortunately I didn't have the time for this anymore so I had to remove hat control and work with another solution...
Sorry for the trouble!
What was the solution to this issue? I'm having a similar problem.
I dropped the case some time a go since there wasn't any solution presented by anyone.
In my last project, I did use a javascript that solved the problem. It looked like this:
ddProfileOrientationVC(sender, eventArgs) {
(eventArgs.getNewValue() == eventArgs.getOldValue()) {
eventArgs.set_cancel(
);
This code is invoked when the Value changes in the dropdown box. The problem that I had was that when a value was reselected, the content was lost. This script cancel's the ordinary update function when the new value is the same as the old.
I hope it helps!