tag:blogger.com,1999:blog-7805972021499203804.post6668747508156430460..comments2023-10-30T06:24:14.411-07:00Comments on ASP.NET,C#.NET,VB.NET,JQuery,JavaScript,Gridview: Maintaining State of CheckBoxes While Paging in a GridView ControlSuresh Dasarihttp://www.blogger.com/profile/01337689983379917267noreply@blogger.comBlogger36125tag:blogger.com,1999:blog-7805972021499203804.post-48845307908982125492015-05-08T06:31:01.883-07:002015-05-08T06:31:01.883-07:00In same way, how to manage the TextBox value on pa...In same way, how to manage the TextBox value on paging ?<br /><br />Thanks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-40483486163006055482014-09-11T08:58:40.238-07:002014-09-11T08:58:40.238-07:00Its very useful for me thank you boss.......... Its very useful for me thank you boss.......... Anonymoushttps://www.blogger.com/profile/11189970836263930321noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-8857279975494556302014-06-09T23:40:41.509-07:002014-06-09T23:40:41.509-07:00sir it was getting error gvdetails is used for dat...sir it was getting error gvdetails is used for data source and data bind<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-11144173292409558422014-02-16T06:35:41.528-08:002014-02-16T06:35:41.528-08:00how to maintain state of dropdownlists selection i...how to maintain state of dropdownlists selection in gridview while paging;plz help I'm tired of googling.Anonymoushttps://www.blogger.com/profile/01360265998988263877noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-91917514878187543222014-01-22T10:00:45.767-08:002014-01-22T10:00:45.767-08:00how can i do if i have more than 1 DataKeyNames?? ...how can i do if i have more than 1 DataKeyNames?? my DataKeyNames is:<br /><br />DataKeyNames="IdOferta,CódigoArtículoProveedor,WebURL"<br /><br />and "IdOferta" is the primarykey.Anonymoushttps://www.blogger.com/profile/08686896506427573294noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-39943025152128106312013-09-26T04:38:25.188-07:002013-09-26T04:38:25.188-07:00how to get value of selected checkboxes in grid vi...how to get value of selected checkboxes in grid view with paging?Anonymoushttps://www.blogger.com/profile/16048604133698839233noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-47376568703066043962013-06-17T01:15:12.268-07:002013-06-17T01:15:12.268-07:00Check Box Status is preserved when the page index ...Check Box Status is preserved when the page index is changed at client side but the status of check boxes is not preserved present on last page if grid view. To preserve the status of last page checkboxes we have to go back one page and then post the formSanjayhttps://www.blogger.com/profile/14522470077451674155noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-79920516749329123292012-12-05T22:38:27.196-08:002012-12-05T22:38:27.196-08:00Index was out of range. Must be non-negative and l...Index was out of range. Must be non-negative and less than the size of the collection.<br />Parameter name: index<br /><br />my code is following:<br /><br />protected void Grd_Degree_RowUpdating (object sender, GridViewUpdateEventArgs e)<br /> {<br /><br /> string id = Grd_Degree.DataKeys[e.RowIndex].Value.ToString();<br /><br /><br /> <br /> SqlDataAdapterSASIhttps://www.blogger.com/profile/02743909341415495067noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-33497142957174111432012-12-02T21:27:26.198-08:002012-12-02T21:27:26.198-08:00LOT OF THANKS TO U MR.SURESH DASARI FOR SUCH A HEL...LOT OF THANKS TO U MR.SURESH DASARI FOR SUCH A HELPFUL POST...EXPECTING FURTHER FROM U ...:)akhilnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-86586510652358420192012-10-10T08:17:51.273-07:002012-10-10T08:17:51.273-07:00Zabardast mean excellent and very simple no xtra w...Zabardast mean excellent and very simple no xtra work. I like itAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-74475631875342371202012-10-06T02:55:08.648-07:002012-10-06T02:55:08.648-07:00hello
when i am import data from gridview to exce...hello<br /><br />when i am import data from gridview to excel seat issubscribed image and checkbox icon also show plz tell me how can resolved this issue <br /><br />thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-61121119478776584682012-10-06T02:53:36.584-07:002012-10-06T02:53:36.584-07:00hello
how can remove inside excel seat image and ...hello<br /><br />how can remove inside excel seat image and check ox <br /><br />thanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-51102389667438848292012-07-11T02:30:52.674-07:002012-07-11T02:30:52.674-07:00Please let me know if I want to cont checked Check...Please let me know if I want to cont checked Checkbox in DataList with Paginng??? How it can b done???Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-49091899883927001252012-05-29T02:32:02.414-07:002012-05-29T02:32:02.414-07:00Thanks a lot for sharing this valuable code.Thanks a lot for sharing this valuable code.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-50999617534231156712012-04-09T13:51:17.059-07:002012-04-09T13:51:17.059-07:00I am getting below error
Instead of calling bind...I am getting below error <br /><br />Instead of calling binddata function <br /><br />my code is <br /> gridview.DataSourceID = "SqlDataSource1"<br /> gridview.DataBind()<br /><br />and i ma getting below error :( <br />System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.<br /><br />can you please help me ?sandy chposhttps://www.blogger.com/profile/01622976218015328497noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-6616493775641722642012-04-03T03:32:57.562-07:002012-04-03T03:32:57.562-07:00hi suresh,
i have one error
"Index was out of...hi suresh,<br />i have one error<br />"Index was out of range. Must be non-negative and less than the size of the collection.<br />Parameter name: index"<br /><br />index = (int)gvdetails.DataKeys[gvrow.RowIndex].Value;<br /><br />plz help meDINUhttps://www.blogger.com/profile/04107750259181198615noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-56155427083093017072012-04-03T03:28:02.920-07:002012-04-03T03:28:02.920-07:00hi suresh,
i have one error
"Index was out of...hi suresh,<br />i have one error<br />"Index was out of range. Must be non-negative and less than the size of the collection.<br />Parameter name: index"<br /><br />index = (int)gvdetails.DataKeys[gvrow.RowIndex].Value;Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-5989848442670866702012-02-20T23:22:07.885-08:002012-02-20T23:22:07.885-08:00Hi Suresh
i hav error when save checked ...Hi Suresh<br /> i hav error when save checked value in array list<br />****************<br />Unable to cast object of type 'System.String' to type 'System.Collections.ArrayList'.<br /><br />Line:- userdetails = (ArrayList )Session["CHECKED_ITEMS"];<br /><br />Plz Give me SolutionAnonymoushttps://www.blogger.com/profile/12636077253162156979noreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-43190578547581644572012-01-07T04:40:23.056-08:002012-01-07T04:40:23.056-08:00Hi suresh, this is kavitha. Your code is so expres...Hi suresh, this is kavitha. Your code is so expressive and clear. It helps many programmers like me. <br /><br />Thank you so much.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-87514461935251182632011-11-07T03:04:56.627-08:002011-11-07T03:04:56.627-08:00really super suresh...
Very thankful to ureally super suresh...<br />Very thankful to uAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-3810376629916498352011-11-01T05:26:59.380-07:002011-11-01T05:26:59.380-07:00Superb thanks a lot for sharing this code !!!!!
Ex...Superb thanks a lot for sharing this code !!!!!<br />Exactly what i was looking for.<br /><br />argunsunAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-86233418749393870662011-09-12T02:13:26.633-07:002011-09-12T02:13:26.633-07:00i got the error Specified cast is not valid when i...i got the error Specified cast is not valid when i run your code in <br />index = (int)gvdetails.DataKeys[gvrow.RowIndex].Value;<br /><br />Please help meJyothinoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-88464684875034071352011-09-12T02:11:02.277-07:002011-09-12T02:11:02.277-07:00i got the error Specified cast is not valid when i...i got the error Specified cast is not valid when i run your code in <br />index = (int)gvdetails.DataKeys[gvrow.RowIndex].Value;Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-4272937160728793872011-08-11T22:15:53.693-07:002011-08-11T22:15:53.693-07:00i got the error Specified cast is not valid when i...i got the error Specified cast is not valid when i run your code in <br /> index = (int)gvdetails.DataKeys[gvrow.RowIndex].Value;<br /><br />any solution ????Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7805972021499203804.post-56905880743703009512011-08-07T23:37:52.683-07:002011-08-07T23:37:52.683-07:00Good Post. Thank u very muchGood Post. Thank u very muchanuraj44https://www.blogger.com/profile/10417058757455880782noreply@blogger.com