Ask a Question related to ASP.NET General, Design and Development.
-
varun #1
visual inheritance of web form
hello friends,
i have been developing an application in asp.net.
i want to inherit a web page on all other web pages of
my application.
i took a form and callded it mybaseform1.
then i took another form, say webform1, and tried to
inherit
mybaseform1 with this page in its codebehind file as
follows.
public class webform1
inherits mybaseform1
end class
i observed that this does not work in asp.net for web forms
but it works very well form windows forms.
so how can i achieve this ?
please help me in this matter.
thank you.
varun Guest
-
Show PDF File in Windows Form using Visual Basic 2005
Hello. I am a developer beginner in acrobat products. I'm developing an application and I need to open one pdf file in one form with various... -
inheritance
by default new aspnet webforms inherits from page which gives us the intellisense of the basic objects such as request, response etc. I want my... -
Inheritance in ActionScript
Hi, I am trying to get to grips with Inheritance in ActionScript.. I have created a symbol in the library called "Wall" and it is linked to a... -
Multiple Inheritance.
On Wednesday, August 20, 2003, at 04:30 PM, Erich Musick wrote: Methods are the easy part: our @ISA = qw(ClassOne ClassTwo Etc); Perl... -
Page inheritance
I have created an aspx page called Page1. The class associated with the page in code behind is abstract. Now I want to create another aspx page... -
dave wanta #2
Re: visual inheritance of web form
check out the master pages in the control gallery. If you are going to use a
technique, that's the one to use.
hth,
Dave
[url]www.aspnetemail.com[/url]
"varun" <varun_789@yahoo.com> wrote in message
news:01a801c342dd$8fd655a0$a001280a@phx.gbl...> hello friends,
>
> i have been developing an application in asp.net.
>
> i want to inherit a web page on all other web pages of
> my application.
>
> i took a form and callded it mybaseform1.
>
> then i took another form, say webform1, and tried to
> inherit
> mybaseform1 with this page in its codebehind file as
> follows.
>
> public class webform1
> inherits mybaseform1
>
> end class
>
>
> i observed that this does not work in asp.net for web forms
> but it works very well form windows forms.
>
> so how can i achieve this ?
>
> please help me in this matter.
>
> thank you.
dave wanta Guest
-
dave wanta #3
Re: visual inheritance of web form
btw, I'm not saying master pages are necessarily better (especially compared
to some of the 3rd party products), its just that it might help you a year
or two from now.
hth,
Dave
[url]www.aspNetEmail.com[/url]
"dave wanta" <nospam@nospam.com> wrote in message
news:OgmVghuQDHA.2128@TK2MSFTNGP12.phx.gbl...a> check out the master pages in the control gallery. If you are going to use> technique, that's the one to use.
>
> hth,
> Dave
> [url]www.aspnetemail.com[/url]
>
>
>
> "varun" <varun_789@yahoo.com> wrote in message
> news:01a801c342dd$8fd655a0$a001280a@phx.gbl...>> > hello friends,
> >
> > i have been developing an application in asp.net.
> >
> > i want to inherit a web page on all other web pages of
> > my application.
> >
> > i took a form and callded it mybaseform1.
> >
> > then i took another form, say webform1, and tried to
> > inherit
> > mybaseform1 with this page in its codebehind file as
> > follows.
> >
> > public class webform1
> > inherits mybaseform1
> >
> > end class
> >
> >
> > i observed that this does not work in asp.net for web forms
> > but it works very well form windows forms.
> >
> > so how can i achieve this ?
> >
> > please help me in this matter.
> >
> > thank you.
>
dave wanta Guest
-
varun varun #4
Re: visual inheritance of web form
Hi dave,
i found your answer too short to understand.
can you explore it a bit ?
where are control gallery ?
what are master pages ?
plase help me here if you can.
thank you.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
varun varun Guest
-
dave wanta #5
Re: visual inheritance of web form
Hi,
no prob!
here you go:
[url]http://www.asp.net/ControlGallery/ControlDetail.aspx?Control=385&tabindex=2[/url]
Cheers!
Dave
[url]www.aspNetEmail.com[/url]
"varun varun" <anonymous@devdex.com> wrote in message
news:#iEQoOvQDHA.2476@TK2MSFTNGP10.phx.gbl...> Hi dave,
>
> i found your answer too short to understand.
>
> can you explore it a bit ?
>
> where are control gallery ?
>
> what are master pages ?
>
> plase help me here if you can.
>
> thank you.
>
> *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
> Don't just participate in USENET...get rewarded for it!
dave wanta Guest
-
varun varun #6
Re: visual inheritance of web form
hi dave,
i found that there is a problem with masterpages.
let me first tell you that i use visual studio.net
enterprise edition.
i opened a new web application ,say webapplication1, at its
default location in wwwroot directory.
then i tried to unzip masterpages into the folder
webapplication1.
then i ran mk.dll but nothing happened.
i could not run the application and see what is exactly happening.
also, i found that this version of masterpages is in C#.
firstly, i am a poor developer in vb.net.
so C# is just too tough for me.
so if possible, try to provide me vb.net version of the
same code.
also if you can, dictacte the exact stpes to follow to
accomplish successful running of this code.
so please help me in this matter.
thank you.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
varun varun Guest



Reply With Quote

