Hello Emily, Maybe something is wrong with the client library; unfortunately, I don't have a test environment right now and cannot confirm, but can you try doing this: entry.Title = null; entry.Title.Text = "";
Maybe that will workaround the issue. Best, Alain On Wed, Jun 8, 2011 at 7:30 PM, Emily <[email protected]> wrote: > > Thanks for reply. > In the same case, I also first create a event without title and > content using the .NET C# api with the following code > > EventEntry insertedEntry = > calendarService.Insert(calendarEntry.Content.AbsoluteUri), eventEntry); > > I listen to the packet transmitted also, found that the api > generates > > ....<title/><content/>..... > > so the google calendar on web also creates a calendar entry with no > title, no content. > > then after updating the title and content with some data like "this is > a title", "that is a content" with the following code > > entry.Title.Text="this is a title"; > entry.Content.Content="that is a content"; > entry.Update(); > > The listened packet is generated as follow : > ....<Title>this is a title</Title><Content>that is a > content</Content> > > Finally I try to clean them up without deleting the event > > entry.Title.Text =""; > entry.Content.Content=""; > entry.Update(); > > I got the result of XML : > ....<Title>this is a title</Title><Content></Content>....... > > The content is cleaned up correctly, but the title remains the same > without any change. > If I put some other string into title field, the packet will be > generated correctly as the same I input. > If I put the empty string into title field, that packet will be > generated as the same before I made any modification. > > How can I keep the same event without create new one, and clean up the > Title and Content both ? (the content is cleaned up successfully, but the > title is not) > > > many thanks > > > > > > > > > > > > -- > 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://code.google.com/apis/calendar/community/forum.html > -- Alain Vongsouvanh -- 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://code.google.com/apis/calendar/community/forum.html
