Differences betwen ASPX and ASCX

P

Paul King

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

Cheers
PK.
 
P

Paul King

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
 
C

Christopher Kimbell

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

Chris
 
J

Joerg Jooss

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

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

Cheers,
 
S

S. Justin Gengo

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

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 
P

Paul King

I see - now I understand cheers matey

:)

S. Justin Gengo said:
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

www.aboutfortunate.com

"Out of chaos comes order."
Nietzsche
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top