dont remember but can be used in some other languages not in vbs. Next ' j Next ' i sash - And now it should make sense to Wrap your code in code tags. I did accomplish this process with other web tables where I can get the row/column count but for some reason I can not get the row/column of either web tables.You don't need to do that, I've gone back to my implemention of this and its set to true in both the page and the web.config I have never used this in previous versions of the framework and this example was lifted from a 2.0 project. I'd suggest that you look that the data in your Grid View, and the other controls on your page. If I have a select field visable on the gridview then it works ok when clicked. To String())) End If End Sub Note here that I'm not using a handler for this function.You will probably have data that is upsetting your viewstate. If I remove this it does not and it willnot fire the Selected Index Changed event on the gridview Please can you help You can solve the invalidation problem very easy : Use the select Command Field and set it's visible property to true. If you do this funciton gets called twice every time you click a row - once from the On Row Data Bound property in the gridview, and the other from the handler. The way I understand it is he tricks server into thinking that postback came from the server control.Register For Event Validation method in order to register the postback or callback data for validation. Html Text Writer) i'm using visual basic and the codes seems not to work at all. hello paul, i just one question and i hope you could help me because i have been surfing the net for a week and i could not find the answer. For those that are getting the validation issue, I have solved it in my project by adding the following (be sure to replace the "Grid View Control Name" with your own: Protected Overrides Sub Render(By Val writer As System. when my application goes from one page to another based on a selected row in my grid i want ,when i click on the back button, to see the selected already kept selected in the privouse table.
Then set the Display Style of Both the Item Style and Header Style to none. To get this to work if you are getting the " Event validation is enabled using..... A few things to note with his hack is that if you haven't already, you need to add a link to the stylesheet you are going to use up the top of your aspx page between the The guy who posted (and didn't leave a name) on April 26, 2007 - PM was on the right track. Data Bind() End Sub Having searching for ages, reading countless blogs why the Selected Index Changed event was refusing to trigger on my Grid View - trying several suggestions and failing - finally I found the comment left by cxspan - and it works. im using a master page which includes a search i search an employee i used to show all the employees in gridview and i can select the employee by clikin on gridview i clik on gridview row im creating a session variable of that employee's ID.