Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual Inheritance?
Message
From
17/06/2010 14:04:42
 
 
To
17/06/2010 13:53:50
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01469439
Message ID:
01469463
Views:
49
>>Hi,
>>
>>I am designing a web page that is to add an Insurance Policy. The Policy can have three different people associated with it: the Insured, the Owner and the Payor. The details for each of these is exactly the same so I want to create a standard interface for a "Person", then drop it 3 times on my ASP page and set each one to be bound to different data.
>>
>>Is this possible? Or is there another way that I am supposed to be thinking?
>
>Very possible and I do it often. What you want to create is a "WebUserControl" and put all the controls you want on there. Call it say "ctrlContact". Then on your ASP.net form you can add this control as many times as you want. You will probably need to add a property or two to that control to allow you to set the binding sources at runtime differently.
>Tim

OK, that is what I was looking at doing, but couldn't work out how the binding would work. I'll hold off on this until I have my other question on the multiple BOs sorted out as this would be the interface for those objects.

Thanks
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform