Click here to Skip to main content
15,921,840 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Navigating from a page to Wizrd page Pin
meeram39511-Nov-10 12:30
meeram39511-Nov-10 12:30 
GeneralRe: Navigating from a page to Wizrd page Pin
Not Active11-Nov-10 12:46
mentorNot Active11-Nov-10 12:46 
QuestionAspDotNetStorefront Pin
Civic0611-Nov-10 2:33
Civic0611-Nov-10 2:33 
Questionhow to show busy indicator in the center of multiline textbox control Pin
Tridip Bhattacharjee11-Nov-10 1:51
professionalTridip Bhattacharjee11-Nov-10 1:51 
AnswerRe: how to show busy indicator in the center of multiline textbox control Pin
Not Active11-Nov-10 2:31
mentorNot Active11-Nov-10 2:31 
GeneralRe: how to show busy indicator in the center of multiline textbox control Pin
Tridip Bhattacharjee11-Nov-10 19:09
professionalTridip Bhattacharjee11-Nov-10 19:09 
GeneralRe: how to show busy indicator in the center of multiline textbox control Pin
Rhys Gravell11-Nov-10 21:33
professionalRhys Gravell11-Nov-10 21:33 
QuestionXmlSerializer(typeof()) : There was an error reflecting type exception. [modified] Pin
swjam11-Nov-10 1:00
swjam11-Nov-10 1:00 
I have the following classes:

namespace MyDept.MyTeam<br />
    public class AnElement1 : ConfigurationElement<br />
    {



namespace MyDept.MyTeam<br />
    public abstract class ConfigurationElement : System.Configuration.ConfigurationElement, ICustomTypeDescriptor<br />
    {


I am trying to serialize AnElement1 to an xml string format, so I make the following call to create a serializer:

XmlSerializer xmlSerializer = new<br />
    XmlSerializer(typeof(MyDept.MyTeam.AnElement1));


But I get the following inner exception:

{"Types 'System.Configuration.ConfigurationElement' and MyDept.MyTeam.ConfigurationElement' both use the XML type name, 'ConfigurationElement', from namespace ''. Use XML attributes to specify a unique XML name and/or namespace for the type."}

Has anyone encountered this? I've googled a bit but couldn't find a solution that doesn't require changing either class names. I can't change the abstract class name as it is being used somewhere else and I need the behaviour of this class in my configuration elements.
----------------------------------------------------------
Lorem ipsum dolor sit amet.
modified on Thursday, November 11, 2010 6:16 PM

Questionusing image control with Browse Pin
Jassim Rahma10-Nov-10 22:14
Jassim Rahma10-Nov-10 22:14 
AnswerRe: using image control with Browse Pin
Not Active11-Nov-10 2:16
mentorNot Active11-Nov-10 2:16 
AnswerRe: using image control with Browse Pin
farogh haider15-Nov-10 0:53
farogh haider15-Nov-10 0:53 
Questionwordwrap in asp:Literal Pin
Jassim Rahma10-Nov-10 22:11
Jassim Rahma10-Nov-10 22:11 
AnswerRe: wordwrap in asp:Literal Pin
Anurag Gandhi10-Nov-10 22:55
professionalAnurag Gandhi10-Nov-10 22:55 
GeneralRe: wordwrap in asp:Literal Pin
Not Active11-Nov-10 2:27
mentorNot Active11-Nov-10 2:27 
GeneralRe: wordwrap in asp:Literal Pin
Anurag Gandhi11-Nov-10 7:34
professionalAnurag Gandhi11-Nov-10 7:34 
GeneralRe: wordwrap in asp:Literal Pin
Not Active11-Nov-10 8:10
mentorNot Active11-Nov-10 8:10 
GeneralRe: wordwrap in asp:Literal Pin
Anurag Gandhi11-Nov-10 8:42
professionalAnurag Gandhi11-Nov-10 8:42 
AnswerRe: wordwrap in asp:Literal Pin
brunoseixas19-Nov-10 5:46
brunoseixas19-Nov-10 5:46 
QuestionTop hosting companies Pin
Jassim Rahma10-Nov-10 21:48
Jassim Rahma10-Nov-10 21:48 
GeneralRe: Top hosting companies Pin
Anurag Gandhi10-Nov-10 22:46
professionalAnurag Gandhi10-Nov-10 22:46 
QuestionApplication Idle timer Pin
Jassim Rahma10-Nov-10 21:45
Jassim Rahma10-Nov-10 21:45 
AnswerRe: Application Idle timer Pin
Anurag Gandhi10-Nov-10 22:42
professionalAnurag Gandhi10-Nov-10 22:42 
GeneralRe: Application Idle timer Pin
Jassim Rahma10-Nov-10 22:59
Jassim Rahma10-Nov-10 22:59 
GeneralRe: Application Idle timer Pin
Anurag Gandhi11-Nov-10 0:33
professionalAnurag Gandhi11-Nov-10 0:33 
GeneralRe: Application Idle timer Pin
JHizzle11-Nov-10 3:23
JHizzle11-Nov-10 3:23 

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.