Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 3.5 > ASP.NET 3.5 Basics
Password Reminder
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old December 5th, 2008, 10:11 AM
Authorized User
Join Date: May 2008
Location: Hyderabad, AP, India.
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to kalyanykk
Default Paging problem in gridview

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.

  #2 (permalink)  
Old December 8th, 2008, 03:33 AM
Registered User
Join Date: Aug 2008
Location: Hyderabad, AP, India.
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to yugi9966

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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

All times are GMT -4. The time now is 09:20 PM.

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