Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Building Controls > Help Building a specialized tab control with inherited user contro

Thread Tools

Help Building a specialized tab control with inherited user contro

Posts: n/a

I want to build a custom tabbed control.

I have built two controls, one has two listboxes, takes an array of strings,
and allows the user to select a list from the listbox on the left into the
listbox on the right - this list is then exposed as an array property so it
can be resused...

The other control has a datepicker and a listbox. The user can select one or
several dates, which are stored in the listbox, and exposed as an array
property of dates...

I want to now build a special tab control that will display as many of these
controls are needed...

This is so the user can select a stored procedure from a list, the app will
retrieve a list of the parameters from the database with the information if
they are strings, dates, in-out etc, and for each parameter a new tab will be
added with the correct selector control (dates or string lists)...

Now, I've added an inherited control, and modified the code in the class so
it adds my string list selector user control.

In my main form, I added a button, and a tabstrip... and in the on_click
event of the button I put this code:

selectionTabPage(selectionTabPage.ArrayTypeEnum.tS tring))

unfortunately my special list selector control is now loaded and displayed
in my TabControl.

What can I do to fix this please?



Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to check whether user put a check in a toolbox CheckBox contro JB ASP .Net 1 08-26-2009 11:18 PM
How can I gatherinformation from a dynamically created user contro =?Utf-8?B?RXRoYW4gU3RyYXVzcw==?= ASP .Net 2 08-29-2007 02:14 PM
Loading user control when a link is clicked on another user contro =?Utf-8?B?U3JpZGhhcg==?= ASP .Net 1 11-18-2005 03:00 AM
Incorrect clientID for Calendar control as part of web user contro =?Utf-8?B?TWFyY0RlVm9zLkJF?= ASP .Net 0 07-20-2004 10:00 AM