Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>I'm guessing that you're opening the radwindow using javascript. When opened using javascript, whenever the page is posted back to, the (<code>visible</code>) state of the <code>RadWindow</code> is reverted to how it was when the page was previously posted back. Unfortunately this means that posting back within a <code>RadWindow</code> can be problematic; you could change the <code>VisibleOnPageLoad</code> setting to <code>true</code> when the drop down list posts back, however that means if the page is posted back to again after closing the radwindow it will reopen on those postabacks, there are many ways of getting round this, my preferences would be one of the following:</p> <ol> <li>The easiest is to always use URL's to define the content of the <code>RadWindow</code>, this can have the added benefit reducing the viewstate and performance of the page as it can be loaded on demand.</li> <li>Create a control which represents the visibility state of the <code>RadWindow</code> (e.g. a <code>checkbox</code>) and on each load ensure the visibility is set to match the setting defined by this control.</li> <li>Don't use <code>AutoPostBack</code>, do the update of the second drop down list using javascript, rebinding the results or using a web service to populate according to the selected values.</li> </ol> <p>There are other fixes would probably use either an <code>AjaxPanel</code> or <code>AjaxManager</code> and require a reasonable amount of code to be provided.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload