Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to exclude already existing items from dropdownlist? The values are populated based on some condition in xml
    primarykey
    data
    text
    <p>In my web application project I have a LinkButton and when clicking it a popup page AddControlsPopup.aspx will come . </p> <p>On this page I have to fill ddlValues Dropdownlist from xml with some condition.</p> <p>The First Dropdownlist is ddlValues. Initially the dropdownlist is populated with all data. </p> <p>The second Dropdownlist is ddlControlType</p> <p>Third Dropdownlist is ddlConditionControl.</p> <p>In the popup page there exists a button to add the controls , need to select values from these 3 dropdownlist.</p> <p>After clicking the Button, the 3 dropdownlist values added to Xml Controls section.</p> <p>In the page there exist a button to add the controls. It will be saved to xml.</p> <p>This is the process.</p> <p><strong>My doubt is that after adding all the combination of ControlValue, ControlType and ConditionControl, I have to exclude the ControlValue from the First dropdownlist ddlValues</strong></p> <p>Pls help </p> <p>I have an XML File with the following data.</p> <pre><code>&lt; ControlSet&gt; &lt; Control&gt; &lt; Values&gt; &lt; ValueID&gt;1&lt; /ValueID&gt; &lt; ValueName&gt; ABC &lt; /ValueName&gt; &lt; /Values&gt; &lt; Values&gt; &lt; ValueID&gt;2&lt; /ValueID&gt; &lt; ValueName&gt; DEF&lt; /ValueName&gt; &lt; /Values&gt; &lt; Values&gt; &lt; ValueID&gt;3&lt; /ValueID&gt; &lt; ValueName&gt; XYZ&lt; /ValueName&gt; &lt; /Values&gt; &lt; Controls&gt; &lt; ControlValues&gt; &lt; ValueID&gt;1 &lt;/ValueID&gt; &lt; ControlTypeID&gt;1 &lt; /ControlTypeID&gt; &lt; ConditonControlID&gt; 1 &lt; /ConditionControlID&gt; &lt; /ControlValues&gt; &lt; ControlValues&gt; &lt; ValueID&gt;1 &lt;/ValueID&gt; &lt; ControlTypeID&gt;1 &lt; /ControlTypeID&gt; &lt; ConditonControlID&gt; 2 &lt; /ConditionControlID&gt; &lt; /ControlValues&gt; &lt; ControlValues&gt; &lt; ValueID&gt;1 &lt;/ValueID&gt; &lt; ControlTypeID&gt;2 &lt; /ControlTypeID&gt; &lt; ConditonControlID&gt; 1 &lt; /ConditionControlID&gt; &lt; /ControlValues&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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