Click here to Skip to main content
15,890,845 members
Home / Discussions / C#
   

C#

 
QuestionHow to convert Windows Application to .NET ASP Application Pin
sandeeppathuri14-Sep-05 15:22
sandeeppathuri14-Sep-05 15:22 
AnswerRe: How to convert Windows Application to .NET ASP Application Pin
Luis Alonso Ramos14-Sep-05 16:20
Luis Alonso Ramos14-Sep-05 16:20 
QuestionDataGrid Pin
Taurian11014-Sep-05 13:45
Taurian11014-Sep-05 13:45 
AnswerRe: DataGrid Pin
Taurian11017-Sep-05 4:17
Taurian11017-Sep-05 4:17 
QuestionAuto generated code breaks Pin
Christian Graus14-Sep-05 12:57
protectorChristian Graus14-Sep-05 12:57 
AnswerRe: Auto generated code breaks Pin
Ashok Dhamija14-Sep-05 23:32
Ashok Dhamija14-Sep-05 23:32 
GeneralRe: Auto generated code breaks Pin
Christian Graus15-Sep-05 11:06
protectorChristian Graus15-Sep-05 11:06 
GeneralRe: Auto generated code breaks Pin
Ashok Dhamija15-Sep-05 20:14
Ashok Dhamija15-Sep-05 20:14 
What appears to me is that when the default ResourceManager method with one parameter, i.e., ResourceManager(typeof(DetailsActions)) is called, it is getting called in the correct assembly (i.e., "RDC") because the error mentioned by you clearly shows the name of the assembly being searched, i.e.,

"Make sure "DetailsActions.resources" was correctly embedded or linked into assembly "RDC"."

So, when you compare the aforesaid single-parameter ResourceManager method with the two-parameters method namely ResourceManager("RDC.controls.DetailsActions", System.Reflection.Assembly.GetExecutingAssembly()), it appears that the assembly is being identified correctly. The only problem is that the call to typeof(DetailsActions) is resulting into something like "DetailsActions" instead of resulting into the required fully qualified Namespace / path of "RDC.Controls.DetailsActions". So, perhaps what is required to be done is that when the InitializeComponent method of the user control is called for the purpose of constructing the embedded resources, it should make typeof(DetailsActions) to produce fully qualified Namespace / path of "RDC.Controls.DetailsActions". So, I wonder whether the Namespace mentioned in the source file containing the user control can be changed to the fully qualified Namespace of "RDC.Controls...." if it is not so already and whether it helps in solving the problem. If it does not help (unfortunately I cannot visualize your actual code), you may please try to somehow ensure that the typeof operator when run on the class of user control returns the full Namespace path. This problem might perhaps have arisen due to the user control having been initially designed in one environment and then the same being copied to a different solution leading to conflict of namespaces.

As an alternative, you may also try changing the default namespace to the fully qualified namespace (if not so already) in the properties of the project containing user control.

I can only hope that it works.

Regards,
Ashok Dhamija
_____________________________
Padam Technologies
QuestionStatusbar Pin
Taurian11014-Sep-05 10:45
Taurian11014-Sep-05 10:45 
AnswerRe: Statusbar Pin
Mark0614-Sep-05 11:26
Mark0614-Sep-05 11:26 
AnswerRe: Statusbar Pin
Luis Alonso Ramos14-Sep-05 16:24
Luis Alonso Ramos14-Sep-05 16:24 
Questionmeasuring string Pin
xilefxilef14-Sep-05 10:31
xilefxilef14-Sep-05 10:31 
AnswerRe: measuring string Pin
seee sharp15-Sep-05 2:40
seee sharp15-Sep-05 2:40 
Question.net going away? Pin
Daniel132414-Sep-05 10:07
Daniel132414-Sep-05 10:07 
AnswerRe: .net going away? Pin
Colin Angus Mackay14-Sep-05 10:28
Colin Angus Mackay14-Sep-05 10:28 
GeneralRe: .net going away? Pin
Paul Conrad14-Sep-05 19:40
professionalPaul Conrad14-Sep-05 19:40 
AnswerRe: .net going away? Pin
Michael P Butler14-Sep-05 10:38
Michael P Butler14-Sep-05 10:38 
AnswerRe: .net going away? Pin
Alvaro Mendez14-Sep-05 11:20
Alvaro Mendez14-Sep-05 11:20 
GeneralRe: .net going away? Pin
Daniel132414-Sep-05 11:22
Daniel132414-Sep-05 11:22 
AnswerRe: .net going away? Pin
Christian Graus14-Sep-05 11:31
protectorChristian Graus14-Sep-05 11:31 
GeneralRe: .net going away? Pin
Judah Gabriel Himango14-Sep-05 12:37
sponsorJudah Gabriel Himango14-Sep-05 12:37 
AnswerRe: .net going away? Pin
Matt Gerrans14-Sep-05 18:42
Matt Gerrans14-Sep-05 18:42 
GeneralRe: .net going away? Pin
Daniel132415-Sep-05 2:06
Daniel132415-Sep-05 2:06 
GeneralRe: .net going away? Pin
mav.northwind15-Sep-05 2:15
mav.northwind15-Sep-05 2:15 
GeneralRe: .net going away? Pin
Daniel132415-Sep-05 2:19
Daniel132415-Sep-05 2:19 

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.