Wrox Programmer Forums
|
ASP.NET 3.5 Basics If you are new to ASP or ASP.NET programming with version 3.5, this is the forum to begin asking questions. Please also see the Visual Web Developer 2008 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 3.5 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 5th, 2008, 10:11 AM
Authorized User
 
Join Date: May 2008
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kalyanykk
Default Paging problem in gridview

Hi ALL,
I am running an apllication in VS2008 with C# 3.5 framework.
In one form i am using gridview with paging.

In gridview i have 1 to 6 page id's

My problem is when i click on any one page id in gridview control it is opening in new window with url

"javascript:__doPostBack('gvView','Page$4')" --gvView is gridview ID
.
It is not redirecting to the appropriate page no.

I am using ajax in that page.

Plz give the solution.


 
Old December 8th, 2008, 03:33 AM
Registered User
 
Join Date: Aug 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to yugi9966
Default

just write javascript function call in code behind of on row command event, implement calling function in .js open child window.

"on row command" get the id of current record

Yugi P





Similar Threads
Thread Thread Starter Forum Replies Last Post
Paging in gridview control VadimZ ASP.NET 2.0 Professional 8 February 17th, 2010 02:12 AM
[Resolved] GridView Sorting and Paging snufse ASP.NET 2.0 Basics 1 October 9th, 2008 07:45 AM
Sorting and Paging of gridview lily611 C# 2005 0 April 24th, 2008 03:09 AM
Chapter 1-GridView Paging Carl Tseng BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 November 25th, 2007 06:56 AM
Sorting and Paging GridView using Alphabets yukijocelyn ASP.NET 2.0 Basics 9 August 29th, 2007 04:05 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.