PanelManager Page Index


Author
Message
Andria Jensen
Andria Jensen
Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)Advanced StrataFrame User (600 reputation)
Group: Forum Members
Posts: 336, Visits: 497
Is there a way to access the Index of a PanelManager page?  I notice they each have an index when you view them in the page collection.  Is there a way to access that in code?  All I can find is TabIndex which is not what I want.  I would like to be able to do something like the following....

lstPanels.DisplayMember = "PageDescription"
lstPanels.ValueMember = "PageIndex"   '<---This would be the index property of the page

For Each panel as PanelManagerPage in PanelManager.PageCollection
   lstPanels.Items.Add(panel)
Next

Then on the SelectedIndexChanged event of lstPanels I would just have to do something like this....

PanelManager.SetActivePage(lstPanels.SelectedValue)

So, I just need to know how I can access this 'PageIndex' property I'm wanting to use.

GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search