Click here to Skip to main content
Rate this: bad
good
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 8:57am
Comments
kkakadiya at 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 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 OriginalGriff 400
1 Sergey Alexandrovich Kryukov 329
2 Afzaal Ahmad Zeeshan 264
3 BillWoodruff 245
4 CPallini 195
0 OriginalGriff 5,560
1 DamithSL 4,476
2 Maciej Los 3,942
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,175


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