Hi all,
     i'm done with showing the presentation but it is asking to login
to the google.com again ,
is there any way my browser would know the custom login i've given.
Hari,

On Aug 14, 11:17 am, "prasadz...@gmail.com" <prasadz...@gmail.com>
wrote:
> hello all,
>        I've a web application in which am trying to integrate google
> presentations as in linked in.
> using google client libraries am able to login and retrieve all the
> documents present.
>
> here is the sample code am using:
>
> for login:
>
>  service = new DocumentsService("DocListUploader");
>                     ((GDataRequestFactory)
> service.RequestFactory).KeepAlive = false;
>                     service.setUserCredentials(Username.Text.Trim(),
> Password.Text.Trim());
>                     //force the service to authenticate
>                     DocumentsListQuery query = new DocumentsListQuery
> ();
>                     query.NumberToRetrieve = 1;
>                     service.Query(query);
>                     loggedIn = true;
>
> for retrieving:
>
>  DocumentsFeed feed = GetDocs();
>
>                 foreach (DocumentEntry entry in feed.Entries)
>                 {
>                     ListItem item = new ListItem(entry.Title.Text);
>                     item.Value = entry.AlternateUri.ToString();
>                     DocList.Items.Add(item);
>                 }
>
>   public DocumentsFeed GetDocs()
>         {
>             DocumentsListQuery query = new DocumentsListQuery();
>             DocumentsFeed feed = service.Query(query);
>             return feed;
>         }
>
> but i want to retrieve only ppt documents .
>
> Also clicking on the document , i like to show it in the iframe
>
> sample:
>
>  <iframe src="http://docs.google.com/present/embed?
> id=dd7rd6b4_3595ghws4ckh" frameborder="0" width="410" height="342"></
> iframe>
>
> for this am using selection change
>
> protected void DocList_SelectedIndexChanged(object sender, EventArgs
> e)
>         {
>            //DocList.SelectedValue;
>             iframe.Attributes["src"] = DocList.SelectedValue;
>         }
>
> but the value is not same as sample iframe and am not able to show the
> presentation.
>
> Could anyone please help me with this????
>
> Thanks,
> Hari.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Docs Data APIs" group.
To post to this group, send email to Google-Docs-Data-APIs@googlegroups.com
To unsubscribe from this group, send email to 
google-docs-data-apis+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Docs-Data-APIs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to