Click here to Skip to main content
16,004,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I worked on Popup window:

I clicked on the linkbutton the popup will be open.I have get the popup feel using jquery. used this method

XML
<a href="remote.html" rel="facebox">text</a>


then just call the facebox plugin

jquery
jQuery(document).ready(function($) {
    $(&'a[rel*=facebox]&').facebox()
});


is Working Fine.

After Clicked on another linkbutton(or any server side function) to redirect remote.html page.

Please help (urgent)
Posted
Updated 18-Nov-10 1:17am
v2

1 solution

Use:

C#
Response.Redirect("remote.html");
 
Share this answer
 
Comments
jshaliny 18-Nov-10 7:31am    
There are two link button.popup and photo

<a href="remote.html" rel="facebox">popup</a>
Collapse
<asp:linkbutton id="lnkphoto" runat="server" text="Photo" onclick="lnkphoto_click" xmlns:asp="#unknown">br mode="hold" />
Collapse
protected void lnkphoto_click(object sender, EventArgs e)
{
Response.Redirect("ViewPhoto.aspx");
}


I have clicked on popup link. 'remote.html' page open like Facebox popup window

Then I have Clicked on Photo link.'remote.html page open in new page.

lnkphoto click event is not firing. If I have use on hyperlink is working fine

Collapse

My problem is after click on popup, server side function is not working.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900