Click here to Skip to main content
15,899,126 members
Home / Discussions / C#
   

C#

 
GeneralRe: System.Uri problem Pin
MoustafaS7-Jun-05 16:22
MoustafaS7-Jun-05 16:22 
Generalstring replace() problem Pin
sysmatrix7-Jun-05 13:45
sysmatrix7-Jun-05 13:45 
GeneralRe: string replace() problem Pin
Alex Korchemniy7-Jun-05 14:05
Alex Korchemniy7-Jun-05 14:05 
GeneralRe: string replace() problem Pin
Christian Graus7-Jun-05 14:06
protectorChristian Graus7-Jun-05 14:06 
GeneralRe: string replace() problem Pin
MoustafaS7-Jun-05 14:18
MoustafaS7-Jun-05 14:18 
GeneralRe: string replace() problem Pin
S Sansanwal7-Jun-05 16:38
S Sansanwal7-Jun-05 16:38 
GeneralRe: string replace() problem Pin
nemopeti8-Jun-05 5:00
nemopeti8-Jun-05 5:00 
QuestionWebService SoapInclude, custom classes? Pin
methodincharge7-Jun-05 13:28
methodincharge7-Jun-05 13:28 
Yeah so I created a nice little Web Service that returned a custom class called Site which has 3 strings and an int. I kept getting:

System.InvalidOperationException: There was an error generating the XML document. ---> System.InvalidOperationException: The type PortalService.Site was not expected. Use the XmlInclude or SoapInclude attribute to specify types that are not known statically.
   at System.Xml.Serialization.XmlSerializationWriter.WriteTypedPrimitive(String name, String ns, Object o, Boolean xsiType)


And I used both XmlInclude and SoapInclude to no avail. So I said screw it and created a string with a delimiter that I could parse when it returned to the client. Perfect. Except now when I call the WebService, the webpage's graphics don't load completely and at random. I suppose this perhaps attributed to the fact that I just did <% Function() %> since the basic Repeater did not suite my needs. Any suggestions?
QuestionWhats wrong with this? Pin
Tom Wright7-Jun-05 12:35
Tom Wright7-Jun-05 12:35 
AnswerRe: Whats wrong with this? Pin
eddieg767-Jun-05 13:49
eddieg767-Jun-05 13:49 
AnswerRe: Whats wrong with this? Pin
Christian Graus7-Jun-05 14:08
protectorChristian Graus7-Jun-05 14:08 
GeneralRe: Whats wrong with this? Pin
Robert Rohde7-Jun-05 19:38
Robert Rohde7-Jun-05 19:38 
GeneralRe: Whats wrong with this? Pin
Dan Neely8-Jun-05 2:51
Dan Neely8-Jun-05 2:51 
GeneralRe: Whats wrong with this? Pin
Tom Wright8-Jun-05 7:26
Tom Wright8-Jun-05 7:26 
GeneralRe: Whats wrong with this? Pin
Christian Graus8-Jun-05 13:33
protectorChristian Graus8-Jun-05 13:33 
Generalcreate a text file in c# Pin
Farhad Eft7-Jun-05 12:13
Farhad Eft7-Jun-05 12:13 
GeneralRe: create a text file in c# Pin
Christian Graus7-Jun-05 12:27
protectorChristian Graus7-Jun-05 12:27 
GeneralRe: create a text file in c# Pin
nemopeti8-Jun-05 5:10
nemopeti8-Jun-05 5:10 
Generalsetting the property for radioButtons Pin
abhishk2001@yahoo.com7-Jun-05 12:07
abhishk2001@yahoo.com7-Jun-05 12:07 
GeneralRe: setting the property for radioButtons Pin
S Sansanwal7-Jun-05 16:39
S Sansanwal7-Jun-05 16:39 
Generalload a multileve png Pin
Sasuko7-Jun-05 11:18
Sasuko7-Jun-05 11:18 
GeneralGetting selected value of databound combobox Pin
greg_quinn7-Jun-05 11:06
greg_quinn7-Jun-05 11:06 
GeneralRe: Getting selected value of databound combobox Pin
Alex Korchemniy7-Jun-05 14:01
Alex Korchemniy7-Jun-05 14:01 
GeneralLaboratory Data Program in C# Pin
dr4davis7-Jun-05 9:37
dr4davis7-Jun-05 9:37 
GeneralRe: Laboratory Data Program in C# Pin
Christian Graus7-Jun-05 12:31
protectorChristian Graus7-Jun-05 12:31 

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.