It is reading from grid view when I checked true it is must added but
always read checkbox.checked=false
my code
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim CheckBoxArray As ArrayList
If ViewState("CheckBoxArray") IsNot Nothing Then
CheckBoxArray = DirectCast(ViewState("CheckBoxArray"), ArrayList)
Else
CheckBoxArray = New ArrayList()
End If
If Page.IsPostBack Then -> this code for stay checked true if checked when go to next page
Dim CheckBoxIndex As Integer
Dim CheckAllWasChecked As Boolean = False
Dim chkAll As CheckBox = DirectCast(GVCont.HeaderRow.Cells(0).FindControl("ChbALL"), CheckBox)
Dim checkAllIndex As String = "ChbALL-" & GVCont.PageIndex
If chkAll.Checked Then
...
Go to the complete details ...