Getting Info from a ascx Control.

mhsueh001

Freshman
Joined
Dec 31, 1969
Messages
41
I'm new to all this ASP stuff. I designed a simple control for my company that handles part numbers. The part numbers are actually a 3 part process of prefix, part number and suffix.

However when I drag my ascx control to my aspx page, I can't figure out how to get the information out of my ascx control. So I see a nice control on my aspx page, but I can't determine what information was entered in the respective control's text box.

Help!
:confused:
 
declare a variable of the control in ur web form
Protected Ctl1 As Ctl

declare properties in the web control to expose ur controls properties
 
fadi said:
declare a variable of the control in ur web form
Protected Ctl1 As Ctl

declare properties in the web control to expose ur controls properties

Thanks, got it to work. :cool:
 
Back
Top