Forums

Focused node

Last post 7/14/2010 7:32 AM by Mike (DevExpress Support). 1 replies.
Sort Posts: Previous Next
  • Stepan Vvedensky

    Focused node

    2/9/2010 3:52 AM
    • Not Ranked
    • Joined on 2/9/2010
    • Posts 1

    Hi. I have ASPxTreeList on my page and some buttons. When user clicked on any button he redirecting to anothe page.

    So. If user selecting node in the TreeList then clicked button and he see 2-nd page, something do with it.

    So. When user clicked 'back' button on brouser's toolbar he see ASPxTreeList, but now another node is focused.

    It is problem.

     

    Code:

    <dxwtl:ASPxTreeList ID="TreeView1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1"

                                                            KeyFieldName="ID" ParentFieldName="PARENTID" Width="100%" ClientInstanceName="TreeView1"

                                                            BackColor="White" Height="550px" OnCustomDataCallback="TreeView1_CustomDataCallback"

                                                            OnHtmlRowPrepared="TreeView_HtmlRowPrepared" EnableCallbacks="False">

                                                            <Columns>

                                                                <dxwtl:TreeListTextColumn FieldName="FIO" ReadOnly="True" VisibleIndex="0">

                                                                </dxwtl:TreeListTextColumn>

                                                            </Columns>

                                                            <Settings ShowColumnHeaders="False" />

                                                            <SettingsBehavior AllowFocusedNode="True" FocusNodeOnLoad="False" />

                                                            <SettingsSelection Enabled="True" />

                                                            <SettingsCookies CookiesID="UPC_U4_prog_TreeView1" Enabled="True" 

                                                                StoreColumnsVisibilePosition="True" StoreExpandedNodes="True" 

                                                                StorePaging="True" StoreSelection="True" StoreSorting="True" />

                                                            <ClientSideEvents CustomDataCallback="function(s, e) { /*...*/ }"  

    FocusedNodeChanged="function(s, e) {/*...*/}"/>

                                                            <Border BorderStyle="None" />

                                                        </dxwtl:ASPxTreeList>

    Filed under:
  • Mike (DevExpress Support)

    Re: Focused node

    7/14/2010 7:32 AM
    • Top 100 Contributor
    • Joined on 3/15/2010
    • Posts 253

    Hello Stepan,

    Please take a look at the Browser Refresh - Store/Restore Current Virtual Mode State? report, where we discussed a similar issue, in greater detail. I hope it will help you.

    Support, ASP.NET Team
    DevExpress ASP.NET Controls in the VS Gallery.
    P.S. For your guaranteed official answer within 24 h, contact our Support Team. We are here to help address your issues.
More from DevExpress
Live Chat
Have a pre-sales question?
Need assistance with your evaluation?
We are here to help.
Chat is one of the many ways you can contact members of the DevExpress Team. We are available Monday-Friday between 8:30am and 5:00pm Pacific Time.
If you need additional product information, require pre-sales assistance, or want help with your order, write to us at info@devexpress.com or call us at
+1 (818) 844-3383.