Advertisement

02.09.2008 at 12:12PM PST, ID: 23150473
[x]
Attachment Details

web user controls in ASP.NET 2.0 VB - How do I access the control's listview, buttons, textboxes, etc?

Asked by bd9000 in Programming for ASP.NET

Tags: ASP.NET 2.0, VB.NET 2.0

I have no clue as how to access a web user control's parts.
I created one with a listbox (lbTestListBox), called mycontrol.ascx, then dragged/dropped it onto a new default.aspx page.
I can see the control's properties (as in: me.mycontrol. ... ) but don't know how to access any of the properties, methods, etc of the "lbTestListBox" on the web user control.
I thought it would pop up in the intellisense - (as in: me.mycontrol.lbTestListBox.items.add ...  )
What do I need to do to expose the web user control's controls?

Start Free Trial
[+][-]02.10.2008 at 08:59PM PST, ID: 20864070

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Programming for ASP.NET
Tags: ASP.NET 2.0, VB.NET 2.0
Sign Up Now!
Solution Provided By: Rejojohny
Participating Experts: 1
Solution Grade: A
 
 
[+][-]02.11.2008 at 10:00AM PST, ID: 20868525

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]02.11.2008 at 10:39AM PST, ID: 20868894

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628