From: anr on
Hi,

i have created a class with a sub, which removes a control
from the original page...

for example, in the original page:

dim usertextbox as new textbox
usertextbox.id = "TEXTBOXIE"
form1.controls.add(usertextbox)

in the class:
public sub DeleteTextBox
dim pagetextbox as textbox
pagetextbox = page.findcontrol("TEXTBOXIE")

if not pagetextbox is nothing then
page.controls.remove(pagetextbox)
end if
end sub


the code in the class doesn't work... somebody can help me??
thx for the help! :D

*** Sent via Developersdex http://www.developersdex.com ***