Good day.
I've got a UltraWebTree control which is implemented in the code below. The problem I have is that the method "UltraWebTree1_NodeClicked" aren't being called when I click on a node. When I set AutoPostBack to false, then the event is fired, but when I set the value to false, it doesn't seem to fire.
The question, why don't I then simply set AutoPostBack to false? Well, when I do so, I need to double click to expand the first set of nodes (this problem occurs in IE6, not in IE7). Setting it to "True" solves the double-clicking problem.
I would be glad if someone can help me to either get the onnodeclicked event to fire while AutoPostBack="True" or to help me solve the double click problem.
DefaultImage="" onnodeclicked="UltraWebTree1_NodeClicked"
FullNodeSelect="True" ExpandOnClick="True" AutoPostBack="True"
ExpandAnimation="Decelerate">
NodeExpanded="False" NodeChecked="False" />
<Levels>
<ignav:Level Index="0" />
<ignav:Level Index="1" />
<ignav:Level Index="2" />
</Levels>
BackColor="#EAECEE" >
ColorRight="DarkGray" StyleBottom="Solid" StyleLeft="Solid" StyleRight="Solid"
WidthBottom="1px" WidthLeft="1px" WidthRight="1px" />
</NodeStyle>
<RootNodeStyle BackColor="#D4D8DC" Font-Bold="True" />
<ParentNodeStyle BackColor="#D4D8DC" />
<Images>
<RootNodeImage Url="./TreeMenuImages/arrow-big.gif" />
<ParentNodeImage Url="./TreeMenuImages/Arrow-transparent.gif" />
</Images>
<Nodes>
<ignav:Node Text="Bar Charts">
<ignav:Node Text="LogItems per Entity">
<ignav:Node Text="Due / Over due">
</ignav:Node>
<ignav:Node Text="Total count">
Hello,
It seems that the postback event handler is fired in any case if the NodeClicked server-side event is weird (either in code behind or declaratively in the ASPX declaration). So I suggest if this is applicable for you, to just not set NodeClicked if you do not need the postback to occur.
If this does not help, you can probably find ways to cancel the event using CSOM, the following forum thread is useful:
http://forums.infragistics.com/forums/p/8284/32943.aspx#32943
Best Regards, Ivan Baev The Infragistics ASP.NET Team