Click here to Skip to main content
12,073,837 members (67,876 online)
Rate this:
 
Please Sign up or sign in to vote.
See more: C# ASP.NET
Hi
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 3:59am
Edited 4-Jun-12 4:02am
v2

1 solution

Rate this: bad
 
good
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!
  Permalink  
Comments
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 | Mobile
Web04 | 2.8.160208.1 | Last Updated 4 Jun 2012
Copyright © CodeProject, 1999-2016
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