Click here to Skip to main content
12,299,790 members (56,649 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: ASP.NET jQuery
Today i am stuck into a big problem and unable to get the solution-
I am using jquery load() function to load a page2 inside a div tag on page1. This is done on click of a button placed inside updatepanel.
When i lick the button the page2 is loaded perfectly.
But after that, if i click on datapager or any other control inside updatepanel in redirects me to page2. while it should remain on page1.

Please help.
Posted 9-Dec-12 7:57am
Comments
kkakadiya 10-Dec-12 3:34am
   
please paste your .aspx code and .aspx.cs code also.

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Probably the links that was generated on page2.aspx has url with location of "Page2" instead of "Page1" because they were generated on "Page2"
  Permalink  
Comments
AnkitGoel.com 10-Dec-12 8:49am
   
couldn't understand. please, can u elaborate?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web01 | 2.8.160525.2 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100