Click here to Skip to main content
15,920,005 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hi Sir,

Sir Please help me for that, I am trying to access asp.net controls to static
methods . And I am trying to access non static method to static method .I tried but not working properly.
Please sir reply soon.Thanks in advance.
Posted
Updated 26-Nov-12 22:50pm
v3
Comments
Sergey Alexandrovich Kryukov 27-Nov-12 1:41am    
What is "call a control"? Control is not a function, procedure, method, subroutine, operator, not a property...
"Not working properly" is not informative. Please explain properly.
--SA
kareem salem 27-Nov-12 13:38pm    
thank you for your interest,I deleted that stupid solution, I just want to say that it's not good oop thinking
Sergey Alexandrovich Kryukov 27-Nov-12 17:41pm    
Great. I agree it's bad OOP thinking, if you are talking about the question.
I just want to say that in fact the Control classes themselves use every attribute of decent OOP approach: late binding, polymorphism and nearly everything else...
But there are many ways to spoil good OOP approaches...
--SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900