ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2017 www.aspforums.com. All rights reserved.why i cant get email with facebook login in asp.net<p>Hi.</p> <p>I use&nbsp;aspsnippets.facebookapi.dll for login into facebook in my web site.&nbsp;But when login into facebook, returned username and email is empty. In my facebook account, email is public. Where is my Fault.</p> <p>Thank a lot.</p> <pre class="brush: csharp">FaceBookConnect.API_Key = &#34;...&#34;; FaceBookConnect.API_Secret = &#34;...&#34;; if (!IsPostBack) { if (Request.QueryString[&#34;error&#34;] == &#34;access_denied&#34;) { ClientScript.RegisterStartupScript(this.GetType(), &#34;alert&#34;, &#34;alert(&#39;User has denied access.&#39;)&#34;, true); return; } string code = Request.QueryString[&#34;code&#34;]; if (!string.IsNullOrEmpty(code)) { string data = FaceBookConnect.Fetch(code, &#34;me&#34;); FaceBookUser faceBookUser = new JavaScriptSerializer().Deserialize&lt;FaceBookUser&gt;(data); string Pass = faceBookUser.Id; string Username = faceBookUser.UserName; string Fullname = faceBookUser.Name; string User_Email = faceBookUser.Email; } }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/113954/why-i-cant-get-email-with-facebook-login-in-aspnet/http://www.aspforums.net/Threads/113954/why-i-cant-get-email-with-facebook-login-in-aspnet/Wed, 03 Feb 2016 07:21:50 GMTWhat is the logic behind same login for all Google sites can we do same in ASP.Net<p>Hi,</p> <p><em>we have login&nbsp; the any one iof the&nbsp; Google Group site</em> .it not required login to another.its automatically open requested page.</p> <p>when i close the one site. another site working. what is the login behind this.</p> <p>Please suggest me. Thanks in advance.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/901627/What-is-the-logic-behind-same-login-for-all-Google-sites-can-we-do-same-in-ASPNet/http://www.aspforums.net/Threads/901627/What-is-the-logic-behind-same-login-for-all-Google-sites-can-we-do-same-in-ASPNet/Sat, 17 Aug 2013 09:16:36 GMTUpload Files to Google Drive using Google Drive API using C# and VB.Net in ASP.Net<p>Hi,&nbsp;</p> <p>Please let me know how to upload&nbsp;&nbsp;image from local folder to google drive by&nbsp;programmatically C#, Please Explain in brief.&nbsp;</p> <p>Thanks in advance..</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/452417/Upload-Files-to-Google-Drive-using-Google-Drive-API-using-C-and-VBNet-in-ASPNet/http://www.aspforums.net/Threads/452417/Upload-Files-to-Google-Drive-using-Google-Drive-API-using-C-and-VBNet-in-ASPNet/Tue, 31 Jan 2017 05:26:27 GMTUpload file to Google Drive directly from Folder (Directory) without using FileUpload control in ASP.Net<p>i want to know how to upload local file to google drive without using file upload or html input file control.. i have file path and other information</p> <p>i m using web application and vb language</p>http://www.aspforums.net/Threads/212966/Upload-file-to-Google-Drive-directly-from-Folder-Directory-without-using-FileUpload-control-in-ASPNet/http://www.aspforums.net/Threads/212966/Upload-file-to-Google-Drive-directly-from-Folder-Directory-without-using-FileUpload-control-in-ASPNet/Tue, 12 Jan 2016 02:27:52 GMTUpload Video on Facebook wall using asp.net c#<p>Hi,</p> <p>I am trying to upload video on facebook using asp.net with c#. But my code is not working.</p> <p>Please help me out to upload video on facebook using asp.net application with c#.</p> <p>&nbsp;</p> <p>I am using code from here http://aspnetpk.wikispaces.com/Facebook+Video+Upload</p>http://www.aspforums.net/Threads/149911/Upload-Video-on-Facebook-wall-using-aspnet-c/http://www.aspforums.net/Threads/149911/Upload-Video-on-Facebook-wall-using-aspnet-c/Wed, 19 Jun 2013 23:29:40 GMTUpdate Twitter status through ASP.Net Web Application using Twitter API<p>Hi</p> <p>I need to update the status in Twitter&nbsp; in asp.net.</p> <p>I need to use Twitter API to acheive this.</p> <p>Thanks in advance.</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/103309/Update-Twitter-status-through-ASPNet-Web-Application-using-Twitter-API/http://www.aspforums.net/Threads/103309/Update-Twitter-status-through-ASPNet-Web-Application-using-Twitter-API/Mon, 06 Aug 2012 04:18:40 GMTUpdate Twitter status through ASP.Net Web Application<p>Hi <a class="username">Mudassar</a>,</p> <p>I have tried the demo and the code example and it did not work. I was reading that some of the Twitter request uri's have changed and that some are not in use anymore, not sure what that means.</p> <p>When I run the code it authenticates but when I post I get a 404 error on the Tweet_Click on this line - twitter.Tweet(txtTweet.Text)</p> <p>On the demo it does not do anything when the button is pressed, the page only refreshes.</p> <p>Any help would be much appreciated.</p> <p>Kind regards, Carlo</p>http://www.aspforums.net/Threads/722851/Update-Twitter-status-through-ASPNet-Web-Application/http://www.aspforums.net/Threads/722851/Update-Twitter-status-through-ASPNet-Web-Application/Wed, 16 Jan 2013 09:44:46 GMTUpdate google map after 40 seconds so that my google map updated in ASP.Net<p>dear sir<br />i have add google map on my project but i have to do it update or set timer for 40 seconds.<br /><br />i have to update my google map after 40 seconds or apply time so that my google map updated according to my database latitude and longtitude values. my java script cod is .....</p>http://www.aspforums.net/Threads/880408/Update-google-map-after-40-seconds-so-that-my-google-map-updated-in-ASPNet/http://www.aspforums.net/Threads/880408/Update-google-map-after-40-seconds-so-that-my-google-map-updated-in-ASPNet/Thu, 16 Jun 2016 03:15:28 GMTUnable to Show google map on Page in ASP.Net<p>I went through your article of reverse geocoding, this is the link where i found your article:</p> <p><a href="http://www.aspsnippets.com/Articles/ASPNet-Google-Maps-V3-with-Multiple-Markers-Database-Example.aspx">http://www.aspsnippets.com/Articles/ASPNet-Google-Maps-V3-with-Multiple-Markers-Database-Example.aspx</a></p> <p>but unfortunately it is not working and i am getting code error in htm. Following is the picture of the code and error</p> <p><img src="http://i.imgur.com/zLTGgkb.png" alt="" width="472" height="298" /></p> <p>&nbsp;</p>http://www.aspforums.net/Threads/205836/Unable-to-Show-google-map-on-Page-in-ASPNet/http://www.aspforums.net/Threads/205836/Unable-to-Show-google-map-on-Page-in-ASPNet/Mon, 20 Jun 2016 02:03:06 GMTTwitter like TextBox AutoComplete for selecting multiple items in ASP.Net<p><span lang="EN-GB">i would like to fill the textbox autocomplete stringcollection "on the fly" while typing.</span> using with the Particular symbols Like @,#</p> <p>&nbsp;Same as twitter "Compose new tweet" textbox</p> <p>And the Data from the backend</p>http://www.aspforums.net/Threads/138243/Twitter-like-TextBox-AutoComplete-for-selecting-multiple-items-in-ASPNet/http://www.aspforums.net/Threads/138243/Twitter-like-TextBox-AutoComplete-for-selecting-multiple-items-in-ASPNet/Mon, 05 Aug 2013 01:59:39 GMTtwitter integration code<p>How can we integtate twitter(contact,id,twitt) in our own website.......plz respond as soon as possible</p>http://www.aspforums.net/Threads/385107/twitter-integration-code/http://www.aspforums.net/Threads/385107/twitter-integration-code/Thu, 11 Oct 2012 02:44:57 GMTTwitter API: Space Character gets changed to 2520 when Tweet is liked<p>I have a url&nbsp;http://www.abc.com/Colors/View Catalogues . when i click on Like tweet then it is changed into&nbsp;http://www.abc.com/Colors/View%2520Catalogues. Except Tweet Like i have no problem. In others it is changed into&nbsp;http://www.abc.com/Colors/View%20Catalogues. So i don't have any problem. For Twitter Like I am using this Code:</p> <p>&nbsp;&lt;a href="https://twitter.com/share" class="twitter-share-button"&gt;Tweet&lt;/a&gt; &nbsp;</p> <pre> &lt;script language="javascript" type="text/javascript"&gt; !function(d, s, id) {<br /> var js, fjs = d.getElementsByTagName(s)[0];<br /> if (!d.getElementById(id)) {<br /> js = d.createElement(s);<br /> js.id = id; js.src = "//platform.twitter.com/widgets.js";<br /> fjs.parentNode.insertBefore(js, fjs); <br /> } } (document, "script", "twitter-wjs");&lt;/script&gt;</pre> <pre>&nbsp;</pre> <pre>I have done URL Routing:</pre> <pre> System.Web.Routing.RouteTable.Routes.MapPageRoute("View Catalogues", "Colors/View Catalogues", "~/ViewCatalogues.aspx");</pre> <pre>&nbsp;</pre> <pre>Please suggest me what is the solution of this problem<br /> </pre> <pre class="brush: csharp">&nbsp;</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/769955/Twitter-API-Space-Character-gets-changed-to-2520-when-Tweet-is-liked/http://www.aspforums.net/Threads/769955/Twitter-API-Space-Character-gets-changed-to-2520-when-Tweet-is-liked/Wed, 12 Dec 2012 04:08:41 GMTSolved FaceBook Invalid redirecturi: Given URL is not allowed by the Application configuration.<p>Everything is running successfully (Last login in app 07/01/2014), now try and get the error:</p> <p>&nbsp;</p> <pre>{ "error": { "message": "Invalid redirect_uri: Given URL is not allowed by the Application configuration.", "type": "OAuthException", "code": 191 } }</pre> <pre>&nbsp;</pre> <pre>On https://developers.facebook.com nothing has changed!</pre> <pre>Does anyone have similar problems?</pre> <pre>I see facebook has changed the app panel :(</pre>http://www.aspforums.net/Threads/100096/Solved-FaceBook-Invalid-redirecturi-Given-URL-is-not-allowed-by-the-Application-configuration/http://www.aspforums.net/Threads/100096/Solved-FaceBook-Invalid-redirecturi-Given-URL-is-not-allowed-by-the-Application-configuration/Mon, 03 Feb 2014 06:17:18 GMTTwitter API in asp.net<p>Sir,</p> <p>I've tried the below code but the error shows "TwitterConnect doesnot exist in current context". And also I unable to add the namespace&nbsp;using&nbsp;ASPSnippets.TwitterAPI;</p> <p>&nbsp;</p> <p>I've attach the code for your reference.</p> <pre class="brush: csharp">using System; using System.Collections.Generic; using System.Web; using System.Xml; using ASPSnippets.TwitterAPI; using System.Web.UI; using System.Web.UI.WebControls; public partial class TwitterCover : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { TwitterConnect.API_Key = &#34;6zyQCeBnUKEKpPKMI9kVbo0jv&#34;; TwitterConnect.API_Secret = &#34;nxMxjauFirruCTeeKvuNji5yfYkhCpntfuqGdJKjGRRt2BdZIY&#34;; if (!IsPostBack) { if (TwitterConnect.IsAuthorized) { btnAuthorize.Enabled = false; pnlTweet.Enabled = true; } if (TwitterConnect.IsDenied) { ClientScript.RegisterStartupScript(this.GetType(), &#34;key&#34;, &#34;alert(&#39;User has denied access.&#39;)&#34;, true); } } } protected void btnAuthorize_Click(object sender, EventArgs e) { if (!TwitterConnect.IsAuthorized) { TwitterConnect twitter = new TwitterConnect(); twitter.Authorize(Request.Url.AbsoluteUri.Split(&#39;?&#39;)[0]); } } protected void btnTweet_Click(object sender, EventArgs e) { TwitterConnect twitter = new TwitterConnect(); twitter.Tweet(txtTweet.Text); } }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/212312/Twitter-API-in-aspnet/http://www.aspforums.net/Threads/212312/Twitter-API-in-aspnet/Tue, 14 Mar 2017 01:52:41 GMTTracking .aspx Page via Google Search<p>Sir,<br /><br />&nbsp;&nbsp;&nbsp; As given a url <a title="Journal Display Sample Page" href="http://earthpublishers.com/journaldetails.aspx?SubjectID=2&amp;JournalID=18" target="_blank">http://earthpublishers.com/journaldetails.aspx?SubjectID=2&amp;JournalID=18</a>,</p> <p>It shows the <strong>current Journal name</strong>, <strong>picture</strong>, <strong>Website</strong>, <strong>ISSN Print</strong> and <strong>ISSN Online</strong>.<br /><br />As you see that <strong>Website</strong> title with a url as <em><strong>http://earthpublishers.com/IJBRR/</strong></em>. <br /><br />There are no.of Journals and every Journal would have a website url with it.<br /><br />Now could it be possible that if someone copy the Website url for any journal&nbsp; (eg: <em><strong>http://earthpublishers.com/IJBRR/</strong></em>) and <span style="text-decoration: underline;">paste it on the Google's Search Page</span> and searches for it, then <span style="text-decoration: underline;">Google should display the link for this page</span> in search results as (<a title="Journal Display Sample Page" href="http://earthpublishers.com/journaldetails.aspx?SubjectID=2&amp;JournalID=18" target="_blank">http://earthpublishers.com/journaldetails.aspx?SubjectID=2&amp;JournalID=18</a>) ???</p> <p>Would it be possible programmatically?? </p> <p>&nbsp;</p>http://www.aspforums.net/Threads/433421/Tracking-aspx-Page-via-Google-Search/http://www.aspforums.net/Threads/433421/Tracking-aspx-Page-via-Google-Search/Thu, 01 Aug 2013 02:28:22 GMTTrace customer name and location using mobile number in ASP.Net<div>Respected&nbsp; Sir,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; how to trace&nbsp; customer name and&nbsp; customer&nbsp; location(state and&nbsp;&nbsp; city) by mobile number using asp.net.</div> <div>Thank you in advance .</div>http://www.aspforums.net/Threads/224649/Trace-customer-name-and-location-using-mobile-number-in-ASPNet/http://www.aspforums.net/Threads/224649/Trace-customer-name-and-location-using-mobile-number-in-ASPNet/Tue, 30 Sep 2014 01:04:32 GMTTwitter API ASP.Net not (working) posting to the tweet on the wall.<p>I have commented things which caused error as suggested by you&nbsp;</p> <p>Now no error persists but not posting as well</p> <pre class="brush: csharp"> &lt;configSections&gt; &lt;sectionGroup name=&#34;system.web.extensions&#34; type=&#34;System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;sectionGroup name=&#34;scripting&#34; type=&#34;System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;!--&lt;section name=&#34;scriptResourceHandler&#34; type=&#34;System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt;--&gt; &lt;sectionGroup name=&#34;webServices&#34; type=&#34;System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34;&gt; &lt;!--&lt;section name=&#34;jsonSerialization&#34; type=&#34;System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;Everywhere&#34;/&gt;--&gt; &lt;!--&lt;section name=&#34;profileService&#34; type=&#34;System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt;--&gt; &lt;!--&lt;section name=&#34;authenticationService&#34; type=&#34;System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt; &lt;section name=&#34;roleService&#34; type=&#34;System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35&#34; requirePermission=&#34;false&#34; allowDefinition=&#34;MachineToApplication&#34;/&gt;--&gt; &lt;/sectionGroup&gt; &lt;/sectionGroup&gt; &lt;/sectionGroup&gt; &lt;/configSections&gt;</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/932168/Twitter-API-ASPNet-not-working-posting-to-the-tweet-on-the-wall/http://www.aspforums.net/Threads/932168/Twitter-API-ASPNet-not-working-posting-to-the-tweet-on-the-wall/Thu, 05 Mar 2015 09:26:18 GMTShare TextBox Text on Facebook in ASP.Net<p>Sir,</p> <p>&nbsp;</p> <ul> <li>having 4 radio buttons, a mutiline textbox and button on page.</li> <li>all radio button getting values from database</li> </ul> <ul> <li>all radiobutton having same group name.</li> </ul> <ul> <li>I want if user selects any radiobutton and write something on textbox , then clicks on button should get posted on facebook.</li> </ul> <p>any suggetion..</p>http://www.aspforums.net/Threads/644823/Share-TextBox-Text-on-Facebook-in-ASPNet/http://www.aspforums.net/Threads/644823/Share-TextBox-Text-on-Facebook-in-ASPNet/Mon, 09 Dec 2013 03:57:22 GMTShare text and images on Google Plus using C#<p>I want to share text and images on Google Plus using C# asp.net application.</p>http://www.aspforums.net/Threads/528268/Share-text-and-images-on-Google-Plus-using-C/http://www.aspforums.net/Threads/528268/Share-text-and-images-on-Google-Plus-using-C/Tue, 26 Aug 2014 02:48:49 GMTShare text and images on Google Plus in ASP.Net<p>Hello Sir/Mam,</p> <p>I want to share text and images on Google Plus using C# asp.net application. I have alredy implemented this &nbsp;for &nbsp;Facebook wall Post and Twitter Twitt using your refrance code.</p> <p>Please do help full. (I am using 3- tire architeture (C# ASP.NET) for implementing website )</p> <p>Thanks and Regards</p> <p>Amol Salunke</p> <p>+91 88051019910&nbsp;</p>http://www.aspforums.net/Threads/264040/Share-text-and-images-on-Google-Plus-in-ASPNet/http://www.aspforums.net/Threads/264040/Share-text-and-images-on-Google-Plus-in-ASPNet/Wed, 11 Dec 2013 22:40:45 GMTShare images on Facebook using Share Button in ASP.Net<p>I am showing thumbnail images in dataList on a page of my website. When i click on any image they open in big size. How i will share(Facebook). that particular big size image. My code is given below:</p> <pre class="brush: xml">&lt;script type=&#34;text/javascript&#34;&gt; var CurrentPage = 1; function GetImageIndex(obj) { while (obj.parentNode.tagName != &#34;TD&#34;) obj = obj.parentNode; var td = obj.parentNode; var tr = td.parentNode; if (td.rowIndex % 3 == 0) { return td.cellIndex + tr.rowIndex; } else { return td.cellIndex + (tr.rowIndex * 3); } } // function LoadTextDiv(url, lnk) { debugger; var img = new Image(); var bcgDiv = document.getElementById(&#34;divBackground&#34;); var imgDiv = document.getElementById(&#34;divImage&#34;); var imgFull = document.getElementById(&#34;imgFull&#34;); var imgLoader = document.getElementById(&#34;imgLoader&#34;); var dl = document.getElementById(&#34;&lt;%=dList.ClientID%&gt;&#34;); var imgs = dl.getElementsByTagName(&#34;img&#34;); CurrentPage = GetImageIndex(lnk.parentNode) + 1; imgLoader.style.display = &#34;block&#34;; img.onload = function () { imgFull.src = img.src; document.getElementById(&#34;hdnId&#34;).value = imgFull.src; imgFull.style.display = &#34;block&#34;; imgLoader.style.display = &#34;none&#34;; }; img.src = url; Prepare_Pager(imgs.length); var width = document.body.clientWidth; if (document.body.clientHeight &gt; document.body.scrollHeight) { bcgDiv.style.height = document.body.clientHeight + &#34;px&#34;; } else { bcgDiv.style.height = document.body.scrollHeight + &#34;px&#34;; } imgDiv.style.left = (width - 650) / 2 + &#34;px&#34;; imgDiv.style.top = &#34;20px&#34;; bcgDiv.style.width = &#34;100%&#34;; bcgDiv.style.display = &#34;block&#34;; imgDiv.style.display = &#34;block&#34;; // ProductGallery.getProductName(img.src, retC); return true; function retC(response) { document.getElementById(&#34;lblPdtName&#34;).innerHTML = response.value; document.getElementById(&#34;hdnPdtName&#34;).innerHTML = response.value; } return false; } // function LoadDiv(url, lnk) { debugger; var img = new Image(); var bcgDiv = document.getElementById(&#34;divBackground&#34;); var imgDiv = document.getElementById(&#34;divImage&#34;); var imgFull = document.getElementById(&#34;imgFull&#34;); var imgLoader = document.getElementById(&#34;imgLoader&#34;); var dl = document.getElementById(&#34;&lt;%=dList.ClientID%&gt;&#34;); var imgs = dl.getElementsByTagName(&#34;img&#34;); CurrentPage = GetImageIndex(lnk.parentNode) + 1; imgLoader.style.display = &#34;block&#34;; img.onload = function () { imgFull.src = img.src; document.getElementById(&#34;hdnId&#34;).value = imgFull.src; imgFull.style.display = &#34;block&#34;; imgLoader.style.display = &#34;none&#34;; }; img.src = url; Prepare_Pager(imgs.length); var width = document.body.clientWidth; if (document.body.clientHeight &gt; document.body.scrollHeight) { bcgDiv.style.height = document.body.clientHeight + &#34;px&#34;; } else { bcgDiv.style.height = document.body.scrollHeight + &#34;px&#34;; } imgDiv.style.left = (width - 650) / 2 + &#34;px&#34;; imgDiv.style.top = &#34;20px&#34;; bcgDiv.style.width = &#34;100%&#34;; bcgDiv.style.display = &#34;block&#34;; imgDiv.style.display = &#34;block&#34;; // ProductGallery.getProductName(img.src, retC); return true; function retC(response) { document.getElementById(&#34;lblPdtName&#34;).innerHTML = response.value; document.getElementById(&#34;hdnPdtName&#34;).innerHTML = response.value; } return false; } function HideDiv() { var bcgDiv = document.getElementById(&#34;divBackground&#34;); var imgDiv = document.getElementById(&#34;divImage&#34;); var imgFull = document.getElementById(&#34;imgFull&#34;); bcgDiv.style.display = &#34;none&#34;; imgDiv.style.display = &#34;none&#34;; imgFull.style.display = &#34;none&#34;; } function doPaging(lnk) { // debugger; var dl = document.getElementById(&#34;&lt;%=dList.ClientID%&gt;&#34;); var imgs = dl.getElementsByTagName(&#34;img&#34;); var imgLoader = document.getElementById(&#34;imgLoader&#34;); var imgFull = document.getElementById(&#34;imgFull&#34;); var pdtName = document.getElementById(&#34;lblPdtName&#34;); var img = new Image(); if (lnk.id == &#34;Next&#34;) { if (CurrentPage &lt; imgs.length) { CurrentPage++; imgLoader.style.display = &#34;block&#34;; imgFull.style.display = &#34;none&#34;; img.onload = function () { imgFull.src = imgs[CurrentPage - 1].src; imgFull.style.display = &#34;block&#34;; imgLoader.style.display = &#34;none&#34;; document.getElementById(&#34;hdnId&#34;).value = imgFull.src; ProductGallery.getProductName(imgFull.src, retB); return true; }; function retB(response) { document.getElementById(&#34;lblPdtName&#34;).innerHTML = response.value; document.getElementById(&#34;hdnPdtName&#34;).innerHTML = response.value; } } } else { if (CurrentPage &gt; 1) { CurrentPage--; imgLoader.style.display = &#34;block&#34;; imgLoader.style.display = &#34;none&#34;; img.onload = function () { imgFull.src = imgs[CurrentPage - 1].src; imgFull.style.display = &#34;block&#34;; imgLoader.style.display = &#34;none&#34;; document.getElementById(&#34;hdnId&#34;).value = imgFull.src; ProductGallery.getProductName(imgFull.src, retA); return true; }; function retA(response) { document.getElementById(&#34;lblPdtName&#34;).innerHTML = response.value; document.getElementById(&#34;hdnPdtName&#34;).innerHTML = response.value; } } } Prepare_Pager(imgs.length); img.src = imgs[CurrentPage - 1].src; } function Prepare_Pager(imgCount) { var Previous = document.getElementById(&#34;Previous&#34;); var Next = document.getElementById(&#34;Next&#34;); var lblPrevious = document.getElementById(&#34;lblPrevious&#34;); var lblNext = document.getElementById(&#34;lblNext&#34;); if (CurrentPage &lt; imgCount) { lblNext.style.display = &#34;none&#34;; Next.style.display = &#34;block&#34;; } else { lblNext.style.display = &#34;block&#34;; Next.style.display = &#34;none&#34;; } if (CurrentPage &gt; 1) { Previous.style.display = &#34;block&#34;; lblPrevious.style.display = &#34;none&#34;; } else { Previous.style.display = &#34;none&#34;; lblPrevious.style.display = &#34;block&#34;; } } &lt;/script&gt; &lt;style type = &#34;text/css&#34;&gt; .modal { display: none; position: absolute; top: 0px; left: 0px; background-color:black; z-index:100; opacity: 0.8; filter: alpha(opacity=60); -moz-opacity:0.8; min-height: 100%; } #divImage { display: none; z-index: 1000; position: fixed; top: 0; left: 0; background-color:White; height: 550px; width: 630px; padding: 3px; border: solid 1px black; } .dlTable { width:144px; text-align:left; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;form id=&#34;form1&#34; runat=&#34;server&#34;&gt; &lt;div id=&#34;main&#34;&gt;&lt;!-- Main starts here --&gt; &lt;div&gt;&lt;Overlay:OverlayWindow ID=&#34;overlay&#34; runat =&#34;server&#34; /&gt;&lt;/div&gt; &lt;div&gt;&lt;FHeader:Header ID=&#34;Fheader1&#34; runat=&#34;server&#34; /&gt;&lt;/div&gt; &lt;div&gt;&lt;!----Start body Container----&gt; &lt;div id=&#34;BodyHolder&#34;&gt;&lt;!--Start of Body holder--&gt; &lt;!----------------------------Body code start Here----------------------------------------&gt; &lt;div id=&#34;pagePath&#34;&gt;&lt;a href=&#34;Homepage&#34;&gt; Home&lt;/a&gt; -&gt; Product Gallery&lt;/div&gt;&lt;!--page path--&gt; &lt;div id=&#34;titlecont_photogallery&#34;&gt;&lt;!--open title cont --&gt; &lt;div id=&#34;pagetitle&#34;&gt;Product Gallery&lt;/div&gt; &lt;div id=&#34;smallicons&#34;&gt;&lt;!--Open small icons --&gt; &lt;%-- &lt;a href=&#34;#&#34;&gt;&lt;img src=&#34;images/fav_ico.gif&#34; alt=&#34;My favorites&#34; width=&#34;21&#34; height=&#34;19&#34; title=&#34;My favorites&#34; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp; &lt;a id=&#34;friendemail&#34; href=&#34;#&#34;&gt;&lt;img src=&#34;images/sentto_ico.gif&#34; alt=&#34;Send to Friend&#34; width=&#34;21&#34; height=&#34;19&#34; title=&#34;Send to Friend&#34; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;--%&gt; &lt;MyFavourate:MyFav ID=&#34;Favourate&#34; runat=&#34;server&#34; /&gt; &lt;/div&gt;&lt;!--Close small icons --&gt; &lt;/div&gt;&lt;!--Close title cont --&gt; &lt;div id=&#34;blocksContainer_photogallery&#34;&gt;&lt;!-- Open Blocks Container --&gt; &lt;div id=&#34;column&#34;&gt; &lt;asp:DataList ID=&#34;dList&#34; runat=&#34;server&#34; RepeatColumns=&#34;3&#34; RepeatDirection=&#34;Horizontal&#34; RepeatLayout=&#34;Table&#34; DataKeyField=&#34;PId&#34; &gt; &lt;ItemTemplate&gt; &lt;div id=&#34;block&#34;&gt;- &lt;table class=&#34;dlTable&#34;&gt; &lt;tr&gt; &lt;td width=&#34;277&#34; align=&#34;left&#34;&gt; &lt;img id=&#34;Image1&#34; src=&#34;images/Product/Gallery/&lt;%#Eval(&#34;Image&#34;)%&gt;&#34; onclick =&#34;javascript:LoadDiv(this.src, this); return false;&#34; height=&#34;210px&#34; width=&#34;277px&#34; alt=&#39;&lt;%#Eval(&#34;Sona&#34;)%&gt;&#39; style =&#34;cursor:pointer&#34;&gt;&lt;/img&gt; &lt;div id=&#34;blacktxt&#34; class=&#34;IEblacktxt&#34; &gt; &lt;a href=&#39;images/Product/Gallery/&lt;%#Eval(&#34;Image&#34;)%&gt;&#39; onclick=&#34;javascript:LoadTextDiv(this.href, this); return false;&#34;&gt;&lt;asp:Label ID=&#34;lblCatName&#34; runat=&#34;server&#34; Text=&#39;&lt;%#Eval(&#34;Sona&#34;)%&gt;&#39;&gt;&lt;/asp:Label&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;%--div&gt;--%&gt; &lt;/ItemTemplate&gt; &lt;/asp:DataList&gt; &lt;%--&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;--%&gt; &lt;/div&gt; &lt;table border=&#34;0&#34; align=&#34;left&#34; id=&#34;counter&#34; runat=&#34;server&#34; cellpadding=&#34;0&#34; cellspacing=&#34;0&#34; style=&#34;margin-left:35px; width:865px&#34;&gt; &lt;tr&gt; &lt;td&gt;&lt;br/&gt;&lt;br /&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt;&lt;hr/&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;table width=&#34;0%&#34; border=&#34;0&#34; align=&#34;right&#34; cellpadding=&#34;0&#34; cellspacing=&#34;0&#34; &gt; &lt;tr&gt; &lt;td&gt;&lt;asp:Label ID=&#34;lblPageInfo&#34; runat=&#34;server&#34;&gt;&lt;/asp:Label&gt;&lt;/td&gt; &lt;td width=&#34;20px&#34;&gt;&lt;/td&gt; &lt;td&gt;&lt;asp:LinkButton ID=&#34;lbtnFirst&#34; Text=&#34;lblFirst&#34; runat=&#34;server&#34; CausesValidation=&#34;false&#34; OnClick=&#34;lbtnFirst_Click&#34; ToolTip=&#34;First Page&#34;&gt;&lt;img src=&#34;images/first.jpg&#34; width=&#34;13&#34; height=&#34;13&#34; alt=&#34;First Page&#34; /&gt;&lt;/asp:LinkButton&gt;&lt;/td&gt; &lt;td&gt; &lt;asp:LinkButton ID=&#34;lbtnPrevious&#34; runat=&#34;server&#34; CausesValidation=&#34;false&#34; OnClick=&#34;lbtnPrevious_Click&#34; ToolTip=&#34;Previous Page&#34;&gt;&lt;img src=&#34;images/previous.jpg&#34; width=&#34;13&#34; height=&#34;13&#34; alt=&#34;Previous Page&#34;/&gt;&lt;/asp:LinkButton&gt; &lt;/td&gt; &lt;td&gt;&lt;asp:LinkButton ID=&#34;lbtnNext&#34; runat=&#34;server&#34; CausesValidation=&#34;false&#34; OnClick=&#34;lbtnNext_Click&#34; ToolTip=&#34;Next Page&#34;&gt;&lt;img src=&#34;images/next.jpg&#34; width=&#34;13&#34; height=&#34;13&#34; alt=&#34;Next Page&#34; /&gt;&lt;/asp:LinkButton&gt;&lt;/td&gt; &lt;td&gt;&lt;asp:LinkButton ID=&#34;lbtnLast&#34; runat=&#34;server&#34; CausesValidation=&#34;false&#34; OnClick=&#34;lbtnLast_Click&#34; ToolTip=&#34;Last Page&#34;&gt;&lt;img src=&#34;images/last_page.jpg&#34; width=&#34;13&#34; height=&#34;13&#34; alt=&#34;Last Page&#34; /&gt;&lt;/asp:LinkButton&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;/div&gt;&lt;!--Close block--&gt; &lt;/div&gt;&lt;!--Close Blocks Container --&gt; &lt;!----------------------------Body Code End Here----------------------------------------&gt; &lt;div id=&#34;divBackground&#34; class=&#34;modal&#34;&gt; &lt;/div&gt; &lt;div id=&#34;divImage&#34; &gt; &lt;table style=&#34;height: 100%; width: 100%&#34;&gt; &lt;tr&gt; &lt;td valign=&#34;middle&#34; align=&#34;center&#34; colspan =&#34;4&#34; style =&#34;height:468px;&#34;&gt; &lt;img id=&#34;imgLoader&#34; runat=&#34;server&#34; alt=&#34;&#34; src=&#34;images/loader.gif&#34; /&gt; &lt;img id=&#34;imgFull&#34; alt=&#34;&#34; src=&#34;&#34; runat=&#34;server&#34; style=&#34;display: none; height: 468px;width: 617px&#34; /&gt; &lt;/td&gt; &lt;/tr&gt; &lt;tr&gt;&lt;td colspan=&#34;3&#34; align=&#34;center&#34;&gt;&lt;asp:Label ID=&#34;lblPdtName&#34; runat=&#34;server&#34; Text=&#34;&#34;&gt;&lt;/asp:Label&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt; &lt;td align = &#34;left&#34; style=&#34;padding:10px;width:100px&#34; valign=&#34;middle&#34; &gt; &lt;a id = &#34;Previous&#34; href =&#34;javascript:&#34; onclick =&#34;javascript:doPaging(this); return false;&#34;&gt;&lt;img src=&#34;images/Arrows-Left-round-icon.png&#34; width=&#34;20&#34; height=&#34;20&#34; alt=&#34;Previous&#34; title=&#34;Previous&#34;/&gt;&lt;/a&gt; &lt;span id = &#34;lblPrevious&#34; style =&#34;display:none&#34;&gt;&lt;img src=&#34;images/Arrows-Left-round-icon.png&#34; width=&#34;20&#34; height=&#34;20&#34; alt=&#34;Previous&#34; title=&#34;Previous&#34;/&gt;&lt;/span&gt; &lt;/td&gt; &lt;td align =&#34;left&#34; valign=&#34;middle&#34; style=&#34;padding:10px;width:217px&#34; &gt;&lt;asp:HiddenField runat=&#34;server&#34; ID=&#34;hdnId&#34; /&gt;&lt;asp:HiddenField runat=&#34;server&#34; ID=&#34;hdnPdtName&#34; /&gt; &lt;asp:ImageButton ID=&#34;imgDownLoad&#34; runat=&#34;server&#34; ToolTip=&#34;Download&#34; ImageUrl=&#34;images/download.jpg&#34; onclick=&#34;Download_Click&#34; AlternateText=&#34;Download&#34; /&gt; &lt;/td&gt; &lt;td align=&#34;right&#34; valign=&#34;middle&#34; style =&#34;padding:10px;width:200px&#34;&gt; &lt;a href=&#34;#&#34;&gt; &lt;img id=&#34;btnClose&#34; onclick=&#34;HideDiv()&#34; src=&#34;images/close-round-icon.png&#34; alt=&#34;Close&#34; title=&#34;Close&#34; width=&#34;20&#34; height=&#34;20&#34;/&gt;&lt;/a&gt; &lt;/td&gt; &lt;td align = &#34;right&#34; valign=&#34;middle&#34; style =&#34;padding:10px;width:100px&#34;&gt; &lt;a id = &#34;Next&#34; href =&#34;javascript:&#34; onclick =&#34;javascript:doPaging(this); return false;&#34; style=&#34;text-decoration:none; font-size:10px&#34; &gt;&lt;img src=&#34;images/Arrows-right-round-icon.png&#34; width=&#34;20&#34; height=&#34;20&#34; alt=&#34;Next&#34; title=&#34;Next&#34; /&gt;&lt;/a&gt; &lt;span id = &#34;lblNext&#34; style =&#34;display:none&#34;&gt;&lt;img src=&#34;images/Arrows-right-round-icon.png&#34; width=&#34;20&#34; height=&#34;20&#34; alt=&#34;Next&#34; title=&#34;Next&#34; /&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/div&gt;&lt;!--End of Body holder --&gt; &lt;%--&lt;/div&gt;&lt;!--close body Container --&gt; --%&gt; &lt;div&gt;&lt;FFooter:Footer ID=&#34;Footer1&#34; runat=&#34;server&#34; /&gt;&lt;/div&gt; &lt;/div&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/392526/Share-images-on-Facebook-using-Share-Button-in-ASPNet/http://www.aspforums.net/Threads/392526/Share-images-on-Facebook-using-Share-Button-in-ASPNet/Sat, 29 Jun 2013 00:05:59 GMTTranslate TextBox Text using Google Translate API in ASP.Net<div>Respected Sir,<br clear="all" />I want use Google API to Translate&nbsp; the English to Marathi and vice-versa.</div> <p>this below code successfully run .but i want to the use a&nbsp; TextBox control to</p> <pre class="brush: html"> &lt;textarea id=&#34;transliterateTextarea&#34; style=&#34;width:600px;height:100px&#34;&gt;&lt;/textarea&gt;</pre> <p>replce the this code like wise</p> <pre class="brush: html">&lt;asp:TextBox ID=&#34;transliterateTextarea&#34; runat=&#34;server&#34;&gt;&lt;/asp:TextBox&gt;</pre> <p>&nbsp;Please help me</p> <pre class="brush: html">&lt;%@ Page Language="C#" AutoEventWireup="true" CodeBehind="googleAPI.aspx.cs" Inherits="WebApplication1.googleAPI" %&gt; &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"/&gt; &lt;script type="text/javascript" src="https://www.google.com/jsapi"&gt; &lt;/script&gt; &lt;%--&lt;script type="text/javascript"&gt;--%&gt; &lt;%--&lt;script type="text/javascript" src="google.js"&gt;&lt;/script&gt;--%&gt; &lt;%-- &lt;/script&gt;--%&gt; &lt;script type="text/javascript"&gt; // Load the Google Transliterate API google.load("elements", "1", { packages: "transliteration" }); function onLoad() { var options = { sourceLanguage: google.elements.transliteration.LanguageCode.ENGLISH, destinationLanguage: [google.elements.transliteration.LanguageCode.MARATHI], shortcutKey: 'ctrl+e', transliterationEnabled: true }; // Create an instance on TransliterationControl with the required // options. var control = new google.elements.transliteration.TransliterationControl(options); // Enable transliteration in the textbox with id // 'transliterateTextarea'. control.makeTransliteratable(['transliterateTextarea']); } google.setOnLoadCallback(onLoad); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;span&gt; English to Marathi&lt;/span&gt;&lt;br&gt; &lt;textarea id=&#34;transliterateTextarea&#34; style=&#34;width:600px;height:100px&#34;&gt;&lt;/textarea&gt; &lt;/body&gt; &lt;/html&gt; </pre>http://www.aspforums.net/Threads/744135/Translate-TextBox-Text-using-Google-Translate-API-in-ASPNet/http://www.aspforums.net/Threads/744135/Translate-TextBox-Text-using-Google-Translate-API-in-ASPNet/Thu, 17 Apr 2014 08:42:15 GMTShare content to social media like Facebook, Twitter, LinkedIn using C# and VB.Net in ASP.Net<p>Hey, is it possible to share a text box to twitter or Facebook? And post a picture? And can i share a Pdf to linkedIn all from my asp.net website using C#?&nbsp;</p>http://www.aspforums.net/Threads/214648/Share-content-to-social-media-like-Facebook-Twitter-LinkedIn-using-C-and-VBNet-in-ASPNet/http://www.aspforums.net/Threads/214648/Share-content-to-social-media-like-Facebook-Twitter-LinkedIn-using-C-and-VBNet-in-ASPNet/Mon, 06 Mar 2017 02:07:02 GMTShare content on users FaceBook Wall using Graph API in ASP.Net<p>hi,</p> <p>how a user can see facebook share button and when click facebook share button the post of my website should share on the user wall.</p> <p>&nbsp;</p> <p>please advice thanks</p>http://www.aspforums.net/Threads/606169/Share-content-on-users-FaceBook-Wall-using-Graph-API-in-ASPNet/http://www.aspforums.net/Threads/606169/Share-content-on-users-FaceBook-Wall-using-Graph-API-in-ASPNet/Wed, 08 Mar 2017 01:49:59 GMTShare an image from database to Facebook<p>Good evning Mr.Mudassar,</p> <p>i just saw your article:</p> <h1 class="header"><a title="Share Image, Photo Pictures on Facebook in ASP.Net using Graph API'a" href="https://www.aspsnippets.com/Articles/Share-Image-Photo-Pictures-on-Facebook-in-ASPNet-using-Graph-API.aspx">Share Image, Photo Pictures on Facebook in ASP.Net using Graph API</a></h1> <p>and it helped me alot, i wanted to share pictures from the database(they are stored as binary) do i need to create a link for them in order to achive that? how can i do that?</p> <p>&nbsp;</p> <p>Regards,</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/268187/Share-an-image-from-database-to-Facebook/http://www.aspforums.net/Threads/268187/Share-an-image-from-database-to-Facebook/Wed, 08 Mar 2017 09:17:53 GMTShare (Post) selected image in ListView to FaceBook wall in ASP.Net<p>Hello&nbsp;<a class="username">Mudassar,</a></p> <p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;please help me still i am not able to share image on facebook wall. Here i attach my cs code and aspx code. Please go through. Also added namespace "using ASPSnippets.FaceBookAPI;"</p> <pre class="brush: html"> <script src=&#34;http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js&#34; type=&#34;text/javascript&#34;></script> <script type=&#34;text/javascript&#34;>// <![CDATA[ $(function () { var info = $(&#34;.info&#34;); $(&#34;.picture&#34;).bind(&#34;mouseenter&#34;, function () { var p = GetScreenCordinates(this); $(&#34;input&#34;, info).attr(&#34;rel&#34;, this.src); info.show(); info.css(&#34;height&#34;, $(this)[0].offsetHeight / 2); info.css(&#34;width&#34;, $(this).width()); info.css({ &#34;left&#34;: p.x, &#34;top&#34;: p.y + this.offsetHeight - info[0].offsetHeight }); }); $(&#34;.info a, .info&#34;).bind(&#34;mouseenter, mousemove, mouseover&#34;, function () { info.show(); }); // $(&#34;.picture&#34;).bind(&#34;mouseleave&#34;, function () { // info.hide(); // }); $(&#34;[id*=imgFaceBook]&#34;).bind(&#34;click&#34;, function () { if (this.alt == &#34;login&#34;) { window.open(&#34;SearchMobile.aspx?login=1&#34;, &#34;LoginPopup&#34;, &#34;width=550,height=300,resizable=1&#34;); return false; } var hidden = $(&#34;<input name = &#39;image_url&#39; type = &#39;hidden&#39; />&#34;); hidden.val($(this).attr(&#34;rel&#34;)); $(&#34;form&#34;).append(hidden); }); }); function GetScreenCordinates(obj) { var p = {}; p.x = obj.offsetLeft; p.y = obj.offsetTop; while (obj.offsetParent) { p.x = p.x + obj.offsetParent.offsetLeft; p.y = p.y + obj.offsetParent.offsetTop; if (obj == document.getElementsByTagName(&#34;body&#34;)[0]) { break; } else { obj = obj.offsetParent; } } return p; } // ]]></script> </pre> <p>&nbsp;</p> <pre class="brush: csharp"> protected void Page_Load(object sender, EventArgs e) { FaceBookConnect.API_Key = &#34;1494012027574666&#34;; FaceBookConnect.API_Secret = &#34;038285518de2cf90c0928335658f35d4&#34;; int tabid = _TabID; // num = 2; if (!IsPostBack) { BindModel(); BindOperatingSystem(); BindBrand(); num = 6; ViewState[&#34;num&#34;] = num; if (Request.QueryString[&#34;login&#34;] == &#34;1&#34;) { FaceBookConnect.Authorize(&#34;publish_actions&#34;, Request.Url.AbsoluteUri.Split(&#39;?&#39;)[0]); return; } if (Request.QueryString[&#34;code&#34;] != null) { Session[&#34;Code&#34;] = Request.QueryString[&#34;code&#34;]; ClientScript.RegisterStartupScript(GetType(), &#34;script&#34;, &#34;window.opener.location.reload(); window.close();&#34;, true); return; } if (Session[&#34;Code&#34;] != null) { imgFaceBook.AlternateText = &#34;share&#34;; imgFaceBook.ImageUrl = &#34;~/img/fbshare.png&#34;; } Search(); CountNewUsed(); GetCount(); } } protected void ShareImage(object sender, EventArgs e) { string imageUrl = Request.Form[&#34;image_url&#34;]; Dictionary&lt;string, string&gt; data = new Dictionary&lt;string, string&gt;(); data.Add(&#34;link&#34;, imageUrl); data.Add(&#34;picture&#34;, imageUrl); FaceBookConnect.Post(Session[&#34;Code&#34;].ToString(), &#34;me/feed&#34;, data); ClientScript.RegisterStartupScript(GetType(), &#34;alert&#34;, &#34;alert(&#39;Image has been shared.&#39;);&#34;, true); }</pre> <p>&nbsp;</p>http://www.aspforums.net/Threads/575930/Share-Post-selected-image-in-ListView-to-FaceBook-wall-in-ASPNet/http://www.aspforums.net/Threads/575930/Share-Post-selected-image-in-ListView-to-FaceBook-wall-in-ASPNet/Wed, 13 Jan 2016 02:08:20 GMTSingle sign on using facebook<p>Hi,</p> <p>&nbsp;</p> <p>Based on Mudassar Ahmed Khans post(Single Sign on using Facebook), In my asp.net application I added the single sign on functionalty using FaceBook.</p> <p>But it only shows the userid, email profile photo , id etc.</p> <p>My need is, after getting the credentials the suser should also be logged in to my application.</p> <p>For that i need the password also.</p> <p>&nbsp;</p> <p>If the user is new to my application, i should register the user to my application as well.</p> <p>I am inluding the login button click event handler which In which I added code for my registration/sign in&nbsp;</p> <p>&nbsp;</p> <p>#region Login-Facebook<br /> protected void Login(object sender, EventArgs e)<br /> {<br /> FaceBookConnect.Authorize("user_photos,email", Request.Url.AbsoluteUri.Split('?')[0]);<br /> Access _access = new Access();<br /> List&lt;CheckEmail_Result&gt; list = _access.CheckDuplicate(lblEmail.Text);<br /> if (list.Count() &gt; 0)<br /> {</p> <p>//here i want the user to be automatically signed in by setting some session variables for the user id, email id which i receive from facebook</p> <p>}<br /> else<br /> {</p> <p>// this means, the user is new to my application, so i need to register him.</p> <p>// for this i need password.<br /> MemberDAL mDAL = new MemberDAL();<br /> bool active = true;<br /> int id = mDAL.InsertMember(lblEmail.Text, txtPassword1.Text, active, txtReferrer.Text);</p> <p>//rest of the code for setting session variables goes here....</p> <p>.............<br /> }<br /> }</p> <p>#endregion</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>&nbsp;</p> <p>Please help to achieve this.</p> <p>&nbsp;</p> <p>Regards</p> <p>&nbsp;</p> <p>Bhavana Retheesh</p>http://www.aspforums.net/Threads/567237/Single-sign-on-using-facebook/http://www.aspforums.net/Threads/567237/Single-sign-on-using-facebook/Sat, 23 Nov 2013 23:31:41 GMTSingle sign in facebook URL Error<p>I successfully added the single sign in frm facebook in my application.</p> <p>&nbsp;</p> <p>But there is an issue now.</p> <p>In facebook when I created the application I added the url as:</p> <p>http://websitename.com/MemberAccess.aspx</p> <p>Because</p> <p>when I access typing &nbsp;http://www.websitename.com/MemberAccess.aspx</p> <p>&nbsp;</p> <p>it gives invalid url error</p> <p>&nbsp;</p> <p>how to solve this issue to use both with www and without www in url</p>http://www.aspforums.net/Threads/126414/Single-sign-in-facebook-URL-Error/http://www.aspforums.net/Threads/126414/Single-sign-in-facebook-URL-Error/Mon, 25 Nov 2013 01:52:46 GMTShow google map with markers and list the address in ListView in ASP.Net<p>Hi,</p> <p>I have a scenario where, when user searches for a particular program a list of possible programs should be&nbsp; displayed from database and show&nbsp; it on google map with google markers depicting those addresses.I have acheived it successfull with the help of your answer <a href="http://aspsnippets.com/Articles/ASPNet-Populate-Google-Maps-V3-with-Multiple-Markers-using-Address-Latitude-and-Longitude-values-stored-in-database.aspx">ASP.Net: Populate Google Maps V3 with Multiple Markers using Address Latitude and Longitude values stored in database</a></p> <p>Now my question is how can we display those markers with numbers and show the address corresponding to that number in listview.</p> <p>For Reference</p> <p>Webiste :http://www.bostonnavigator.org/</p> <p>Type <strong>baketball</strong> in the field QuickSearch and click the search button</p> <p>&nbsp;</p>http://www.aspforums.net/Threads/785859/Show-google-map-with-markers-and-list-the-address-in-ListView-in-ASPNet/http://www.aspforums.net/Threads/785859/Show-google-map-with-markers-and-list-the-address-in-ListView-in-ASPNet/Thu, 11 Apr 2013 00:49:25 GMTShow direction Arrow on Routes in Google Maps V3<p>Hi,</p> <p>I have per minute Lat-Lang values of user and using it i want to draw a Route on Google Maps with arrow to show direction after some distance.</p> <p>I am using <a href="http://www.aspsnippets.com/Articles/Google-Maps-V3-Draw-route-line-between-two-geographic-locations-Coordinates-Latitude-and-Longitude-points.aspx" target="_blank">this tutorial</a>&nbsp;for refrence but unable to modify the same.</p> <p>Kindly Guide me.</p>http://www.aspforums.net/Threads/796366/Show-direction-Arrow-on-Routes-in-Google-Maps-V3/http://www.aspforums.net/Threads/796366/Show-direction-Arrow-on-Routes-in-Google-Maps-V3/Fri, 26 Sep 2014 03:08:29 GMT