|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Parent of WebControlI'm trying to get the version of the web page my webcontrol is on. When I
use the following code, I get the correct class, but I get the assembly located in Temporary ASP.Net Files directory, instead of the assembly that is referenced: Me.Page.GetType().Assembly Can anyone help me get the reference to the correct assembly (I do not have a path to the correct assembly, just the Me.Page for the page the control resides in). Thanks! Mythran When you say "instead of the assembly that is referenced", what do you mean?
Do you mean the codebehind assembly? If so, then do this: Me.Page.GetType().BaseType.Assembly -Brock DevelopMentor http://staff.develop.com/ballen Show quoteHide quote > I'm trying to get the version of the web page my webcontrol is on. > When I use the following code, I get the correct class, but I get the > assembly located in Temporary ASP.Net Files directory, instead of the > assembly that is referenced: > > Me.Page.GetType().Assembly > > Can anyone help me get the reference to the correct assembly (I do not > have a path to the correct assembly, just the Me.Page for the page the > control resides in). > > Thanks! > > Mythran >
Table height 100% has no effect
Problem using AddHandler for dynamically created WebControls Dynamic Web Control Event Handling Question about IE Web Controls Toolbar. Displaying label at runtime MasterPages in ASP.NET 2.0 Need a list of radiobuttons with a specfic format asp.net 1.1 wizard control Alignment of a System.Web.UI.WebControls.Image object Using html controls or asp controls |
|||||||||||||||||||||||