The Wrecking Bawl
Destructuring query language, one keyword at a time.
Site Sections
Home
Contact
Syndication
Login
Posts
120
Comments
117
Trackbacks
22
<< quote of the week
|
Home
|
environmental information of the week >>
getting web app assembly from composite control
If you have a composite control you've created for use in ASP.Net, and you want to use that control to display the name and version of the web application's assembly, there's something you need to know: As far as I can tell, there's no way to get the correct assembly if you're only embedding the control in the HTML code. In this case, GetCallingAssembly() returns System.Web rather than the app name. But if you add the control from the codebehind, or if you add a method to the control that gets called on Page_Load() from the ASP.Net page, then you will get the app name and version you're looking for, presumably because the calling assembly returned by GetCallingAssembly() is the web app assembly.
posted on Thursday, March 15, 2007 7:45 PM
Print
Comments
No comments posted yet.
Post Comment
Title
*
Name
*
Email
Url
Comment
*
Remember Me?
Enter the code shown above
Archives
November, 2009 (1)
July, 2009 (1)
June, 2009 (1)
April, 2009 (3)
March, 2009 (1)
February, 2009 (2)
August, 2008 (2)
June, 2008 (1)
May, 2008 (1)
April, 2008 (4)
February, 2008 (3)
January, 2008 (1)
December, 2007 (1)
November, 2007 (1)
October, 2007 (2)
September, 2007 (2)
August, 2007 (3)
July, 2007 (2)
June, 2007 (7)
May, 2007 (6)
April, 2007 (5)
March, 2007 (18)
February, 2007 (22)
January, 2007 (18)
December, 2006 (12)
Post Categories
all tech stuff
all the other stuff
C#
SQL Server
general .Net stuff
News
Copyright © 2005 Alex Bransky
This work is licensed under a
Creative Commons License