General information
Category:
The Mere Mortals .NET Framework
Title:
BindBack controls inside wizard control
Environment versions
Network:
Windows 2003 Server
I have controls that are bound to the same source on different step pages of the wizard control. Before the step changes, I bindback each control so that the values will be stored in the dataset (I can't call Save yet). Then I call DataBind to update the values on the new page.
Question: Is there a better way to do this without coding the bindback call foreach control on the page ?
If that's the only way, how do enumerate the controls on a step like:
foreach (Object cont in this.Wizard1.WizardSteps[1].Controls)
cont.BindBack(...
obvoiusly Object won't work here but I don't know how to do this.
Thanks
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only