-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Vishal
Message 2 in Discussion

Hi Mr Govind

These are the answers to your queries(doubts)
1. In asp.net every page(aspx) page is an class derived from system.web.page so what 
ever controls you put on page are actually members of the class and only class 
instantaites them and in Initialize method.
Each page has only one codebehind and you even have no codebehind(if you want to go by 
classic asp way, embeeded code in html)
If you are going by codebehind approach, you can see the declaration(directives) at 
the top of aspx about the codebehind file. So whenever, you request aspx, your pase is 
parsed by aspnet_isapi.dll(the dll which interpretes th asp.net) and which 
automatically refer your codebehind. Hope this will be clear to you.
2. I answered above
3. aspx page is itself webform so one - one.
4. No you can't call ascx from webbrowser, ascx is meant for reusability and s'ld be 
inmbedded in aspx.
5. You can't refer the ascx in html page, we can refer only in aspx page.
6. Yes we can that is what the code access security of .net.


I think i answered all your doubts.

Vishal




-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to