Click here to Skip to main content
11,718,013 members (80,265 online)
Rate this: bad
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
kkakadiya at 10-Dec-12 3:34am
please paste your .aspx code and .aspx.cs code also.

1 solution

Rate this: bad
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"
Comments at 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
0 Sergey Alexandrovich Kryukov 849
1 OriginalGriff 215
2 F-ES Sitecore 210
3 Maciej Los 140
4 Jochen Arndt 120
0 Sergey Alexandrovich Kryukov 1,494
1 OriginalGriff 535
2 Maciej Los 529
3 Richard MacCutchan 440
4 CHill60 415

Advertise | Privacy | Mobile
Web02 | 2.8.150901.1 | Last Updated 10 Dec 2012
Copyright © CodeProject, 1999-2015
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