There are 2 guesses:
1-
if you goto:
C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\CONFI G
(winnt on 2000, and possible a different version number)
and open up machine.config (don't mess with it unless you know what are you
are doing), do a search for PageHandlerFactory and you'll see how asp.net
internally maps an extension to an HttpHandler.
There'd be no advantage to this method other thanbeing cool. Their ascx
would still need to inherit from Page and be like your normal Page
2-
They are using UrlRewriting, so while it looks like it's going to
index.ascx?asds=asd it's really going to another page(say index.aspx). For
this to work, they'd again need to remove .ascx as a "HttpForbiddenHandler"
in the web.config and really wouldn't be how I'd recommend they do whatever
they are trying to do..
Karl
--
MY ASP.Net tutorials
http://www.openmymind.net/ http://openmymind.net/redirector.aspx?documentId=51 - Learn about AJAX!
"Henry Sun" <pa******@bigpond.net.au> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi all,
New to ASP.NET and this Newsgroup. recently I saw some major websites use
ascx page as their index page (e.g. index.ascx?ProductId=blah). I did a
little bit rearch but I still couldn't find any word about this... My
question is How does it work? What's benefit of this? Was that some kind
of templet?
Thank you in advance
Henry