how to make object for the class file and
-
how to make object for the class file and after use that object and call the function in the aspx pg which is inherited
-
how to make object for the class file and after use that object and call the function in the aspx pg which is inherited
Was this your first attempt at the question above ? It still makes no sense. I can't even begin to guess what you mean. Try explaining it with a more concrete example.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
how to make object for the class file and after use that object and call the function in the aspx pg which is inherited
Hey... You mean you want to call a function of ASPX page from your object. Is it remote aspx, or local one. If it is local one to the same application, you can do it by creating an object of the class corresponds to the aspx page.. or otherwise make the function static one and call it using Classname. Really.. as all others suggested, you need to read basic books on C# before you ask anything. :rose:
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET Templates -
Hey... You mean you want to call a function of ASPX page from your object. Is it remote aspx, or local one. If it is local one to the same application, you can do it by creating an object of the class corresponds to the aspx page.. or otherwise make the function static one and call it using Classname. Really.. as all others suggested, you need to read basic books on C# before you ask anything. :rose:
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET TemplatesIf he wants to call a method in his ASPX, he needs to move that method out of his ASPX, because it clearly does not belong there.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
-
If he wants to call a method in his ASPX, he needs to move that method out of his ASPX, because it clearly does not belong there.
Christian Graus Driven to the arms of OSX by Vista. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums. I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
Yes ... I agree, calling an ASPX class is really not making any sense if we are to use it as a normal class. Not making any sense.. as to his question... :rose:
Abhishek Sur My Latest Articles Working with Excel using MDAC
Basics on LINQ and Lambda Expressions
Create .NET Templates