Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: C#4.0
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 25-Nov-12 20:52pm
Edited 26-Nov-12 23:50pm
v3
Comments
Sergey Alexandrovich Kryukov at 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 at 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 at 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)

  Print Answers RSS
0 DamithSL 495
1 Maciej Los 258
2 OriginalGriff 229
3 BillWoodruff 170
4 Zoltán Zörgő 165
0 OriginalGriff 7,934
1 DamithSL 6,084
2 Sergey Alexandrovich Kryukov 5,449
3 Maciej Los 5,174
4 Kornfeld Eliyahu Peter 4,539


Advertise | Privacy | Mobile
Web04 | 2.8.141223.1 | Last Updated 27 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100