A little help needed with a Web Part

ssherif

New member
Joined
Jun 24, 2009
Messages
1
Programming Experience
Beginner
Hi all, hope I'm posting this in the right forum

I'm designing a page around web parts (which I'm completely new to) and I've got a question that feels kind of silly to ask.

The way my project is set up is that I named a .ascx file addPart.ascx and this file contains a button and a textbox (named txtAdd). Then, on another form (mainForm.aspx), I added a webpartzone and added my addPart.ascx to the zone. What I want to do is modify the txtAdd.Text property when the page loads, but I can't access it from mainForm.vb as the text box is declared in the addPart.ascx file.

Pushing the button isn't a problem as I can just double click the button on the addPart.ascx file and write the needed code there.



If anyone could give me a hand I'd really appreciate it, thanks.
 
Back
Top