Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BindBack controls inside wizard control
Message
 
To
16/07/2007 14:14:04
Bill Oeftering
Mainstreet Computers, Inc.
Belleville, Michigan, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Environment versions
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01240801
Message ID:
01240930
Views:
22
Bill,

>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.

Is this a Windows or Web application? Are you using business objects in your wizard?

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform