Click here to Skip to main content
15,902,189 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Delegate Event Pin
R. Giskard Reventlov11-Aug-10 20:35
R. Giskard Reventlov11-Aug-10 20:35 
GeneralRe: Delegate Event Pin
ksss_maheshece12-Aug-10 20:43
ksss_maheshece12-Aug-10 20:43 
QuestionDividing project Pin
future383911-Aug-10 17:05
future383911-Aug-10 17:05 
AnswerRe: Dividing project Pin
Raheem MA11-Aug-10 18:42
Raheem MA11-Aug-10 18:42 
GeneralRe: Dividing project Pin
future383911-Aug-10 21:28
future383911-Aug-10 21:28 
AnswerRe: Dividing project Pin
JHizzle11-Aug-10 22:22
JHizzle11-Aug-10 22:22 
GeneralRe: Dividing project Pin
future383912-Aug-10 14:31
future383912-Aug-10 14:31 
QuestionEmbedded Resources in base class [modified] Pin
Fayu11-Aug-10 12:26
Fayu11-Aug-10 12:26 
I have two projects:
1) MyProject1
2) MyProject2

Directory Structure

MyProject1

-Images
---BaseControl
------img1.gif
------img2.gif
------img3.gif
-Css
---BaseControl
------StyleSheet.css
-Controls
---BaseControl.cs - derived from CompositeControl
---Derived1.cs - derived from BaseControl
---Derived11.cs - derived from BaseControl
---Derived12.cs - derived from BaseControl


MyProject2

-Controls
---Derived4.cs - derived from BaseControl



Assembly.cs for MyProject1
NOTE: Image is set as an embedded resource
[assembly: WebResource("MyProjects1.Images.BaseControl.gif", "img/gif")]

To get the link to the WebResource, I do the following:
<br />
myImgControl.ImageUrl = this.GetImageUrl("MyProject1.Images.BaseControl.gif");<br />


This works fine with Derived1, Derived11 and Derived12 controls since the embedded resource is available to their parent. However, Derived4 control cannot find the images because the 'MyProject1.Images.BaseControl.gif' is not part of its embedded resource.


Let me know if you need anymore info.

Thanks.


modified on Wednesday, August 11, 2010 6:43 PM

Questionsite accessing Pin
netJP12L11-Aug-10 11:05
netJP12L11-Aug-10 11:05 
QuestionApplication cache problem Pin
shaul almog11-Aug-10 8:00
shaul almog11-Aug-10 8:00 
AnswerRe: Application cache problem Pin
Eaverae16-Aug-10 20:56
Eaverae16-Aug-10 20:56 
QuestionDirectory listening denied [modified] Pin
moein.serpico11-Aug-10 4:20
moein.serpico11-Aug-10 4:20 
AnswerRe: Directory listening denied Pin
Gregory Gadow11-Aug-10 4:58
Gregory Gadow11-Aug-10 4:58 
AnswerRe: Directory listening denied Pin
Sandeep Mewara11-Aug-10 7:05
mveSandeep Mewara11-Aug-10 7:05 
QuestionHow to close an aspx page from code behind? Pin
Raheem MA11-Aug-10 1:09
Raheem MA11-Aug-10 1:09 
AnswerRe: How to close an aspx page from code behind? Pin
Not Active11-Aug-10 2:34
mentorNot Active11-Aug-10 2:34 
GeneralRe: How to close an aspx page from code behind? Pin
Raheem MA11-Aug-10 20:48
Raheem MA11-Aug-10 20:48 
GeneralRe: How to close an aspx page from code behind? Pin
Not Active12-Aug-10 2:21
mentorNot Active12-Aug-10 2:21 
AnswerRe: How to close an aspx page from code behind? Pin
tanweer11-Aug-10 23:26
tanweer11-Aug-10 23:26 
GeneralRe: How to close an aspx page from code behind? Pin
Raheem MA11-Aug-10 23:51
Raheem MA11-Aug-10 23:51 
QuestionScheduler implementation in ASP.Net Pin
Amit Patel198511-Aug-10 0:26
Amit Patel198511-Aug-10 0:26 
AnswerDayPilot Pin
David Mujica11-Aug-10 3:22
David Mujica11-Aug-10 3:22 
AnswerRe: Scheduler implementation in ASP.Net Pin
m@dhu11-Aug-10 18:47
m@dhu11-Aug-10 18:47 
Questionsliding or collapsible display Pin
Vinay Varghese10-Aug-10 22:21
Vinay Varghese10-Aug-10 22:21 
AnswerRe: sliding or collapsible display Pin
Sandeep Mewara10-Aug-10 22:27
mveSandeep Mewara10-Aug-10 22:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.