Is there a multi-page control that can be edited using Visual Studio .NET designer? I downloaded the Microsoft Web Controls, which includes the tabstrip and multi-page. You can drag a multi-page into the Visual Studio .NET designer, but you can't use the designer to add controls onto the multi-page. It says to do it in the HTML. Thanks in advance for the help.
What you're looking for is what is called a control with a ReadWriteControlDesigner -- that is, a control that allows you to drag and drop other controls inside (think of the Panel control). Well, if you Google for that word, you'll see that many control developers have faced this problem, and unfortunately, there's no solution to it in ASP.NET 1.x.
Ergo, stop your search for such a control now, and think about potential workarounds, one of which is creating a UserControl for each tab of the multi-page IE WebControl, so you can visually design it. Of course you will have to manually add it to the tabstrip or multi-page, but at least you don't have to design the whole UI. Another one is to use a Panel as a container for the controls and hook that panel to the tabstrip.
This last option is the one I used some time ago. I simply used the tabstrip, added some tabs to it, and then attached to its SelectedIndexChange event. At that event, you make the appropriate Panel visible.
Dig Deeper on .NET Framework 3.0 design and architecture tools
Related Q&A from Daniel Cazzulino
Here Daniel Cazzulino explains how to load a DSL (domain specific language) domain model instance file programmatically. This requires the .NET type ... Continue Reading
Here we offer a glimpse at 12 of .NET development expert Danny Cazzulino's top ASP.NET questions and answers. Continue Reading
C# developers should NOT be modifying InitializeComponent method in the code-behind (or any of the variable definitions) by hand. Continue Reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.