CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums

ASP.NET Web Hosting – 3 Months Free!



Zone: > NEWSGROUP > Asp.Net Forum > windows_hosting.hosting_open_forum Tags:
Item Type: NewsGroup Date Entered: 11/19/2003 10:52:38 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
(NR, 0)
XPoints: N/A Replies: 1 Views: 27 Favorited: 0 Favorite
Can Reply:  No Members Can Edit: No Online: Yes
2 Items, 1 Pages 1 |< << Go >> >|
icelava
Asp.Net User
Can uncompiled codebehind inherit from base class in assembly11/19/2003 10:52:38 AM

0/0

I have authored a special UserControl base class, which I intend for a group of UserControls to inherit from.

The issue is this: the base class is compiled into an assembly, for it is unlikely to change its logic/process. The inheriting UserControls have Codebehind, but are NOT compiled into the same assembly; they are added/removed on a more flexible basis. They use the Src attribute rather than Codebehind.

In this manner, it will throw exception complaining the base class can't be found, since there's no reference to the assembly. It can work only (of course) when they are compiled together.

How can one reference an assembly of the base class in the raw-text Codebehind?
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
icelava
Asp.Net User
Re: Can uncompiled codebehind inherit from base class in assembly11/20/2003 8:35:43 AM

0/0

I am sorry, please ignore this plea. It appears the non-assembly UserControls can actually locate the base class in the assembly now. I can't determine why then the previous attempts complained the base class could not be found.
The melody of logic will always play out the truth. ~ Narumi Ayumu, Spiral
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
InformIT: Separating Code from Presentation > Using Code Behind It consists of an uncompiled Visual Basic class file. ... You can inherit multiple presentation pages from the same code-behind file. ...
Coding Model and Compilation in ASP.NET 2.0 Partial classes remove the inheritance relationship that is present with the ... You can put your uncompiled code-behind files and any other associated code ...
Customize a SharePoint Login Page In addition to knowing what class to inherit from, you need to know how to .... The culture for the assembly, which defaults to neutral but can be changed. ...
Reflection Inherits from the Assembly class. ConstructorBuilder ... A type can have field members. A module or a type can also reference fields defined in the .sdata ...
David Ebbo's blog : Turning an ascx user control into a ... I can access the control and it's properties from the page code behind but ... to use a different class name for the inherits (which is the base class), ...
Web Application Project vs Web Site Project in VS 2005 « ASP.NET ... When we deliver our product the web application code behind is delivered in a ... In the website model you couldn’t setup a class to inherit from base that ...
RE: Accessing Parent Page Members from a User Control Define a BasePage and compiled it in an assembly so that the Util class can reference it, then provide another page's code-behind file for ...
Feature Changes in ASP.NET 2.0 NET 2.0 is that a code behind file is now a partial class rather than a full class that inherits from the ASPX page. A partial class is a new . ...
ASP.NET Applications NET can use files that are stored in the GAC (global assembly cache), a computer -wide ... The code-behind class won’t inherit from Page, because it doesn’t ...
Moving to ASP.NET: Web Development with VB .NET WebService classes, which are the base classes for Web. ch1 3/15/02 4:47 PM Page 30 ...... uncompiled code-behind classes,. 385–386. Unload events, 59, 60 ...




Search This Site:










adding property

custom server control designer icon

trying to set focus to a control in a usercontrol from a web page

composite control postback issue

please help me decide on a host

reflection class returns string tags problem

user control

help with hosting, please

how to fire an event (radiobuttonlist) ?

splitting dotnetnuke and ibuyspy controls?

what to open url and make button visible

datagrid position in a usercontrol

simple templated control

ispostback and viewstate not initialized in composite control

registrar questions

programatically putting space between multiple controls in a custom control

using table properties in inherited class

setting style tags for designers

how to reload a page(webform1.aspx) on click of a button in .ascx page

extending dropdownlist

setting property options for a composite control

templated control and state of the child controls

compiles, properties manipulatable in editor, runtime compilation error

where to get a host to practice live

can i output content at the position of my end tag!? </mycontrol:endme!>

is using impersonation complex if in hosted environment?

calendar control - only gregorian?

hosting requirements

asp.net 2.0 free web hosting

custom dropdownlist not passing selected value

  Privacy | Contact Us
All Times Are GMT