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
695
Webtree events are not getting fired
posted

Similar to another post in this forum, I am also not getting the events.

 I am using this as template under ultraweblistbar and I've added node clicked and node selected events in code behind. But I am not getting any events.

I tried client side events and it is working.

I am using V7,3. Wondering if this is a know bug and fixed in later releaser.

and here is the html code

<Template>

<ignav:UltraWebTree ID="tagsWebTree" runat="server" Cursor="Default" ForeColor="Black"

Font-Size="8pt" Font-Names="Verdana" BorderColor="Pink" BorderStyle="None" Height="100%"

Width="100%" Indentation="20" WebTreeTarget="ClassicTree" LoadOnDemand="ManualSmartCallbacks"CompactRendering="False" EnableViewState="False" SingleBranchExpand="True" OnNodeClicked="tagsWebTree_NodeClicked"

onnodeselectionchanged="tagsWebTree_NodeSelectionChanged">

<SelectedNodeStyle Cursor="Hand" CssClass="SelectClass"></SelectedNodeStyle>

<HoverNodeStyle Cursor="Hand" CssClass="Hover"></HoverNodeStyle>

<NodePaddings Left="5px"></NodePaddings>

<Padding Bottom="2px" Left="2px" Top="2px" Right="2px"></Padding>

<ClientSideEvents AfterNodeSelectionChange="tagsWebTree_AfterNodeSelectionChange" />

<Levels>

<ignav:Level Index="0"></ignav:Level>

<ignav:Level Index="1"></ignav:Level>

</Levels>

<NodeMargins Top="2px"></NodeMargins>

<Styles>

<ignav:Style Cursor="Hand" ForeColor="Black" BackColor="OldLace" CssClass="HiliteClass">

</ignav:Style>

<ignav:Style BorderWidth="1px" BorderColor="DarkGray" BorderStyle="Solid" BackColor="Gainsboro"

CssClass="Hover">

<Padding Bottom="2px" Left="2px" Top="2px" Right="2px"></Padding>

</ignav:Style>

<ignav:Style ForeColor="White" BackColor="#333333" CssClass="SelectClass">

<Padding Bottom="2px" Left="2px" Top="2px" Right="2px"></Padding>

</ignav:Style>

</Styles>

</ignav:UltraWebTree>

</Template>

  • 28464
    posted

    Hello,

    I am not 100% sure if this is a bug or by design - maybe it is expected NodeClick and NodeSelectionChanged to be mutually exclusive? Still, our great community has contributed this superb thread on workarounds and suggestions how this can be addressed:

    http://forums.infragistics.com/forums/p/1862/15290.aspx

    Hope this helps.