Differences betwen ASPX and ASCX

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Paul King

    Differences betwen ASPX and ASCX

    Sorry for the dumb question but what is the difference between ASPX and ASCX
    pages?

    Cheers
    PK.


  • Christopher Kimbell

    #2
    Re: Differences betwen ASPX and ASCX

    ASPX is a page and ASCX is a usercontrol. A page can contain usercontrols.

    Chris


    "Paul King" <kin0363k@hotma il.com> wrote in message
    news:%23aLH2kHh EHA.536@TK2MSFT NGP11.phx.gbl.. .[color=blue]
    > Sorry for the dumb question but what is the difference between ASPX and[/color]
    ASCX[color=blue]
    > pages?
    >
    > Cheers
    > PK.
    >
    >[/color]


    Comment

    • Paul King

      #3
      Re: Differences betwen ASPX and ASCX

      Why would you want a user control then.

      I had seen this example of a copyright notice - in a usercontrol but this
      won't never change


      "Christophe r Kimbell" <c_kimbell@onli ne.nospam> wrote in message
      news:41223b80$1 @news.broadpark .no...[color=blue]
      > ASPX is a page and ASCX is a usercontrol. A page can contain usercontrols.
      >
      > Chris
      >
      >
      > "Paul King" <kin0363k@hotma il.com> wrote in message
      > news:%23aLH2kHh EHA.536@TK2MSFT NGP11.phx.gbl.. .[color=green]
      > > Sorry for the dumb question but what is the difference between ASPX and[/color]
      > ASCX[color=green]
      > > pages?
      > >
      > > Cheers
      > > PK.
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • Joerg Jooss

        #4
        Re: Differences betwen ASPX and ASCX

        Paul King wrote:[color=blue]
        > Sorry for the dumb question but what is the difference between ASPX
        > and ASCX pages?[/color]

        ..aspx files are a Web Forms (i.e. pages), whereas .ascx are User Controls
        (*not* pages, but page fragments).

        Cheers,
        --
        Joerg Jooss
        joerg.jooss@gmx .net

        Comment

        • S. Justin Gengo

          #5
          Re: Differences betwen ASPX and ASCX

          Paul,

          Let's say you have a control that you want to appear on every page. A login
          with username and password fields and button is a good example. With a user
          control you could create one single login control and then drop it onto
          every page of your website instead of having to recreate it on every page.

          --
          Sincerely,

          S. Justin Gengo, MCP
          Web Developer / Programmer



          "Out of chaos comes order."
          Nietzsche
          "Paul King" <kin0363k@hotma il.com> wrote in message
          news:%23RHr84Hh EHA.2812@tk2msf tngp13.phx.gbl. ..[color=blue]
          > Why would you want a user control then.
          >
          > I had seen this example of a copyright notice - in a usercontrol but this
          > won't never change
          >
          >
          > "Christophe r Kimbell" <c_kimbell@onli ne.nospam> wrote in message
          > news:41223b80$1 @news.broadpark .no...[color=green]
          >> ASPX is a page and ASCX is a usercontrol. A page can contain
          >> usercontrols.
          >>
          >> Chris
          >>
          >>
          >> "Paul King" <kin0363k@hotma il.com> wrote in message
          >> news:%23aLH2kHh EHA.536@TK2MSFT NGP11.phx.gbl.. .[color=darkred]
          >> > Sorry for the dumb question but what is the difference between ASPX and[/color]
          >> ASCX[color=darkred]
          >> > pages?
          >> >
          >> > Cheers
          >> > PK.
          >> >
          >> >[/color]
          >>
          >>[/color]
          >
          >[/color]


          Comment

          • Paul King

            #6
            Re: Differences betwen ASPX and ASCX

            I see - now I understand cheers matey

            :)

            "S. Justin Gengo" <sjgengo@aboutf ortunate[no-spam].com> wrote in message
            news:10i4m4792b ivv5e@corp.supe rnews.com...[color=blue]
            > Paul,
            >
            > Let's say you have a control that you want to appear on every page. A[/color]
            login[color=blue]
            > with username and password fields and button is a good example. With a[/color]
            user[color=blue]
            > control you could create one single login control and then drop it onto
            > every page of your website instead of having to recreate it on every page.
            >
            > --
            > Sincerely,
            >
            > S. Justin Gengo, MCP
            > Web Developer / Programmer
            >
            > www.aboutfortunate.com
            >
            > "Out of chaos comes order."
            > Nietzsche
            > "Paul King" <kin0363k@hotma il.com> wrote in message
            > news:%23RHr84Hh EHA.2812@tk2msf tngp13.phx.gbl. ..[color=green]
            > > Why would you want a user control then.
            > >
            > > I had seen this example of a copyright notice - in a usercontrol but[/color][/color]
            this[color=blue][color=green]
            > > won't never change
            > >
            > >
            > > "Christophe r Kimbell" <c_kimbell@onli ne.nospam> wrote in message
            > > news:41223b80$1 @news.broadpark .no...[color=darkred]
            > >> ASPX is a page and ASCX is a usercontrol. A page can contain
            > >> usercontrols.
            > >>
            > >> Chris
            > >>
            > >>
            > >> "Paul King" <kin0363k@hotma il.com> wrote in message
            > >> news:%23aLH2kHh EHA.536@TK2MSFT NGP11.phx.gbl.. .
            > >> > Sorry for the dumb question but what is the difference between ASPX[/color][/color][/color]
            and[color=blue][color=green][color=darkred]
            > >> ASCX
            > >> > pages?
            > >> >
            > >> > Cheers
            > >> > PK.
            > >> >
            > >> >
            > >>
            > >>[/color]
            > >
            > >[/color]
            >
            >[/color]


            Comment

            Working...