Click here to Skip to main content
13,092,310 members (65,066 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I am creating the order form I have Gridview where I am fetching three columns from database table namely Id, Name And price , and added fourth column as new template field with TextBox for quantity, and for gridview allow paging is true with 5 rows per page.

After putting quantity in text-boxes When I click on Grid View page index the text box contents gets lost.

I want to put quantity on each Gridview page for all items and then want to add that all selecetd rows to new Gridview With mainly four columns and fifth column for Remove Row link please help me for this.
Posted 4-Jun-12 2:59am
Updated 4-Jun-12 3:02am

1 solution

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

Solution 1

EnableViewState = "true" : if you set this at your control you can keep your data alive on post back, try it on your control, if it doesn't work tell me to know!
amol kapsikar 6-Jun-12 6:44am
I saw that Its set To true but it wont work...

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 |
Web01 | 2.8.170813.1 | Last Updated 4 Jun 2012
Copyright © CodeProject, 1999-2017
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