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>