6
Reply

What is relation between ASPX and its code behind class ?

Imran Javed Zia

Imran Javed Zia

Dec 06, 2015
1.1k
0

    ASPX is the design code ASPX.Cs is the code behind server code

    Manoj Kumar
    January 03, 2017
    0

    ASPX is the design code ASPX.Cs is the code behind server code

    Manoj Kumar
    January 03, 2017
    0

    The codebehind in 1.x was a "complete" class. It would extend the "page" super class, and have all the controls for declared and added within that class.The 2.0 model uses a "partial" class which allows you to split a class over a few files. this way you dont get the "designer generated code" clogging up your work area. Quite a nice idea actually, it keeps things nice and tidy. Here is a more indepth explanation...http://davidhayden.com/blog/dave/archive/2005/01/19/783.aspx

    Munesh Sharma
    May 27, 2016
    0

    code behind class main function.. aspx is just apperance

    Keerthi Venkatesan
    May 13, 2016
    0

    Analogy: You can think of ASPX as the human face and skin and the code-behind (ASPX.CS) is the brain and other internal organs that signals your body what to do.

    ASPX inherits Code behind class.

    Imran Javed Zia
    December 06, 2015
    0