Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. how to make object for the class file and

how to make object for the class file and

Scheduled Pinned Locked Moved ASP.NET
tutorial
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anbusenthil
    wrote on last edited by
    #1

    how to make object for the class file and after use that object and call the function in the aspx pg which is inherited

    C A 2 Replies Last reply
    0
    • A anbusenthil

      how to make object for the class file and after use that object and call the function in the aspx pg which is inherited

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      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

      1 Reply Last reply
      0
      • A anbusenthil

        how to make object for the class file and after use that object and call the function in the aspx pg which is inherited

        A Offline
        A Offline
        Abhishek Sur
        wrote on last edited by
        #3

        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

        C 1 Reply Last reply
        0
        • A Abhishek Sur

          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

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          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

          A 1 Reply Last reply
          0
          • C Christian Graus

            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

            A Offline
            A Offline
            Abhishek Sur
            wrote on last edited by
            #5

            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

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups