Accessing webform controls in class
C#
1
Posts
1
Posters
0
Views
1
Watching
-
hello everybody, I'm creating a web applocation in ASP.Net using C# as page behind code. I've one form named WebForm1.aspx and there is a textbox control TextBox1 on it. Then I added a class Class1.cs in the application. There are some functions in the class. Now i want to acces the TextBox1 control of WebForm1.aspx in my class Class1.cs . I think we can not acces Webform controls inside a class. Is there any way to acces the control in the class. Thanks in advance.