Thank you Ray, its issue No 125. Here I have first cleared location values contained by EventEntry & then set its value to blank.
But the original value is retained & blank value given in location is not updated. Is this issue solved in 2.0 version? -Manoj On Jun 12, 8:29 pm, "Ray Baxter" <[EMAIL PROTECTED]> wrote: > Isn't this issue #125? > > http://code.google.com/p/gdata-issues/issues/detail?id=125 > > Ray > > On Thu, Jun 12, 2008 at 5:13 AM, Frank Mantek <[EMAIL PROTECTED]> wrote: > > > Can you file a bug here and make it clearer on what the problem is? Do > > you mean with "make location blank" that you are clearing the > > collection in Locations.Clear() or that the oWhere.ValueString is set > > to an empty string? > > >http://code.google.com/p/google-gdata/issues/list > > > Thanks > > > Frank Mantek > > Google > > On Jun 12, 2008, at 12:48 PM, manoj wrote: > > >> Hi, > > >> I am using .NET Calendar API 2.0 > > >> If I edit event & make location blank, then event location is not > >> updated. The old event location name remains there. > > >> If I edit event with some other location name, then it is updated. > > >> Here is code snippet:- > > >> EventQuery objEventQuery = new EventQuery(EventId); > > >> EventFeed objEventFeed = > >> objCalendarService.Query(objEventQuery); > > >> oEventEntry = (EventEntry) objEventFeed.Entries[0]; > > >> oEventEntry.Title.Text = "Title"; > > >> oEventEntry.Content.Content = "Content"; > > >> oEventEntry.Times.Clear(); > > >> oWhen = new When(); > > >> oWhen.StartTime = StartTime; > > >> oWhen.EndTime = EndTime; > > >> oWhen.AllDay = AllDay; > > >> oEventEntry.Times.Add(oWhen); > > >> oEventEntry.Locations.Clear(); > > >> oWhere = new Where(); > > >> oWhere.ValueString = Location; > > >> oEventEntry.Locations.Add(oWhere); > > >> oEventEntry.Update(); --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
