Author: Aivenssar2 | Posted on: 5/26/2009 5:47:59 AM | Views : 277

I am trying to build a web custom control that can contain multiple child controls that have their own set of properties.  For example, I would like to create a web custom control that has two gridviews.  I understand this should be a composite control.
My issue is that once creating the control and dropping it onto a new page, I am only able to set one property on one of the child gridviews in the designer.  The designer won't remember any changes after I set the first change.  I drop the control on the page and set the bordercolor of gridview1 to red.  I check the markup and it shows that I have set the bordercolor to red.  Then I go back to the designer and change the border color from red to green.  The change never takes place.
In short, does anyone have an example, or can possibly post a snippet of a short version of a web custom control containing 2 gridviews that can remember changes made in the designer?  I need to ...

Go to the complete details ...