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
1250
Disable checkbox if node is disabled
posted

Hi,

I use WebDataTree, CheckBoxMode == CheckBoxMode.BiState

When I disable any node the text of this node becomes grey, that fine.

But the checkbox remains the same (not grey).

Please explain me how I can display checkbox as disabled when node is disabled?

I see that there is css class igdt_NodeDisabled, but  for some reason it is rendered only on anchor element. Following html represents the single node, the image I want to make disabled one.

<li class="igdt_NodeHolder">

<img id="x:419080887.5:mkr:check" alt="" src="ig_checkbox_off.gif" complete="complete"/>

<a  class="igdt_Node igdt_NodeDisabled" id="x:419080887.6:mkr:dtnContent" >

<li/>

Please help!

Parents
No Data
Reply
  • 5
    posted

    Hi,

    I have also same issue,

    I want to replace the UltraWebTree control with the WebDataTree controls,But for some condition I have to disabled some node

    I am able to disabled the node and the text of the node become dissabled but at the select all condition that disabled node check box also changed to selected .

    Please explain me how I can display check box as disabled when node is disabled?

    my code is :

    <ig:WebDataTree ID="WebDataTree1" runat="server" Height="400px" Width="100%" EnableAjax="true"
                                                                Visible="true" CheckBoxMode="BiState">
                                                                <DataBindings>
                                                                    <ig:DataTreeNodeBinding DataMember="Requirement" TextField="Text" ImageUrlField="ImageUrl" />
                                                                    <ig:DataTreeNodeBinding DataMember="RequirementCategories" TextField="Name" ImageUrlField="ImageUrl" />
                                                                </DataBindings>
            </ig:WebDataTree

Children
No Data