facebook share page in c#

lyncMelty

New Member
test.aspx\[code\]<div id="page-wrap"> <!-- AnythingSlider #1 --> <ul id="slider1" style="width: 778px; height: 452px; background:#fff;"> <li> <div style="float: left; padding-right: 35px; padding-left:50px;"> <img src="http://stackoverflow.com/img/temp.jpg" style="width: 264px; height: 377px; border: none;" /> <uc:DownloadControl ID="DownloadControl1" runat="server" PageParameters="1" /> </div> </li> <li> <uc:DownloadControl ID="DownloadControl1" runat="server" PageParameters="2" />\[/code\]This is DownloadControl.ascx\[code\] <div style="float: left"> <a class="icerik" id="facebookShare" runat="server" target="_blank"> <img border="0" src="http://stackoverflow.com/questions/12723850/images/facebook_ust.jpg" alt="Resorts" title="Hotels & Resortss" />&nbsp; Payla? </a> </div>\[/code\]DownloadControl.ascx.cs\[code\]facebookShare.HRef = "http://www.facebook.com/sharer.php?u=http://www.test.com/test.aspx";\[/code\]When I click 'Payla?', then it opens facebook share page in a new tab. I want to appears temp.jpg in left bar in this page. How to do this?
 
Back
Top