Hi
History: (C# code)
I have one Test.ASPX page in one project and parse.cs class file in different project. Both projects are in one solution.
I had written one method in parse.cs which will accept controll collection object, this method will get called from Test.ASPX and it will set different properties of collection object.
Problem:
In a class I want to do loop through control collection object, and want to set specific control properties like if I find control of Lable type then I will change the Lable1.TEXT values. Like wise I want to do it for some more controls. How I can do that in .NET web application.
I am getting the control collection object in parse.cs file, but how I can use reflection or any other method to access it as a control object for seting up property in a class file.
Bye
Sudarshan
History: (C# code)
I have one Test.ASPX page in one project and parse.cs class file in different project. Both projects are in one solution.
I had written one method in parse.cs which will accept controll collection object, this method will get called from Test.ASPX and it will set different properties of collection object.
Problem:
In a class I want to do loop through control collection object, and want to set specific control properties like if I find control of Lable type then I will change the Lable1.TEXT values. Like wise I want to do it for some more controls. How I can do that in .NET web application.
I am getting the control collection object in parse.cs file, but how I can use reflection or any other method to access it as a control object for seting up property in a class file.
Bye
Sudarshan