I solved it by changing my feed Uri to private\full...
manoj wrote:
> I am searching for an event in updateFeed,
> I want to update the event I have received, but I get exception "Can
> not update a read-only entry".
> Is there any way to update this event?
>
> code snippet for your reference:-
>
> EventQuery UpdateQuery = new EventQuery(feedUri);
> UpdateQuery.Query = "some event";
> EventFeed UpdateFeed = service.Query(UpdateQuery) as
> EventFeed;
> Console.WriteLine("Events matching :");
> Console.WriteLine();
> for (int i = 0; i < UpdateFeed.Entries.Count; i++)
> {
> Console.WriteLine(UpdateFeed.Entries[i].Title.Text);
> UpdateFeed.Entries[i].Title.Text = "Change Title";
> UpdateFeed.Entries[i].Update();//Here get Exception
> Console.WriteLine("Updated Event" +
> UpdateFeed.Entries[i].Title.Text );
> }
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---