On Fri, Jan 2, 2009 at 3:25 AM, pete08 <[email protected]> wrote: > > Hi, > > I am trying to set the transparency and visibility for new calendar > events in my C# .NET Compact Framework application. I can set the > EventEntry.Transparency field and can display the value to verify that > it is being set before I do an insert using > > AtomEntry insertedEntry = myService.Insert(postUri, > newentry); > > However the value is never displayed in the calendar. I have tried > setting Transparency to "http://schemas.google.com/g/ > 2005#event.opaque", "OPAQUE" and "Opaque". Should I be using a > different value? > > Also, I noticed that the insertedEntry object returned does not expose > a "Transparency" property. Am I using the correct method of inserting > the event? > > A code sample would help. > > Thanks in advance.
Pete, http://schemas.google.com/g/2005#event.opaque should work. In particular, the default transparency and visibility values are: <gd:visibility value="http://schemas.google.com/g/2005#event.default"/> <gd:transparency value="http://schemas.google.com/g/2005#event.opaque"/> Not receiving a value back does sound a little odd. What URL are you using for postUri? Would you be able to provide an HTTP transcript as described at the following URL? http://code.google.com/apis/gdata/articles/debugging_client_libs.html#dotnet -- Trevor Johns --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Calendar Data API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-calendar-help-dataapi?hl=en -~----------~----~----~----~------~----~------~--~---
