Click here to Skip to main content
15,888,401 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Encryption and Decryption Pin
Ashfield29-Sep-08 1:22
Ashfield29-Sep-08 1:22 
AnswerRe: Encryption and Decryption Pin
Paddy Boyd29-Sep-08 2:23
Paddy Boyd29-Sep-08 2:23 
AnswerRe: Encryption and Decryption Pin
Guffa29-Sep-08 6:13
Guffa29-Sep-08 6:13 
QuestionAuto Fill Grid Pin
srinivaskonijeti29-Sep-08 0:39
srinivaskonijeti29-Sep-08 0:39 
AnswerRe: Auto Fill Grid Pin
HemJoshi29-Sep-08 2:43
HemJoshi29-Sep-08 2:43 
AnswerRe: Auto Fill Grid Pin
ednrg1-Oct-08 3:50
ednrg1-Oct-08 3:50 
QuestionA generic error occurred in GDI+ Pin
mehrdadc4829-Sep-08 0:04
mehrdadc4829-Sep-08 0:04 
QuestionGridview page change is affecting sessions Pin
eyeseetee28-Sep-08 22:44
eyeseetee28-Sep-08 22:44 
Hi
I have the following code which is running on the page load:

ArrayList originalTrue = new ArrayList();
ArrayList originalFalse = new ArrayList();

for (int x = 0; x < GridView4.Rows.Count; x++)
{
GridViewRow row = GridView4.Rows[x];
bool isCheckedIgnore = ((CheckBox)row.FindControl("chkIgnore")).Checked;
string strID = GridView4.DataKeys[x].Values[0].ToString();

if (strID != null)
{
if (isCheckedIgnore == true)
{
originalTrue.Add(strID.ToString());
}
else
{
originalFalse.Add(strID.ToString());
}
}
}
ViewState["originalTrue"] = originalTrue;
ViewState["originalFalse"] = originalFalse;

The problem is when I go to the second page of the gridview it doesnt run.How can I get the code to run on the second page of the gridview?
thanks

The answers posted by me are suggestions only and cannot be used in anyway against me.
AnswerRe: Gridview page change is affecting sessions Pin
simsen29-Sep-08 0:37
simsen29-Sep-08 0:37 
GeneralRe: Gridview page change is affecting sessions Pin
eyeseetee29-Sep-08 0:53
eyeseetee29-Sep-08 0:53 
AnswerRe: Gridview page change is affecting sessions Pin
eyeseetee29-Sep-08 1:18
eyeseetee29-Sep-08 1:18 
Questionhow to get the grid items??? Pin
sarala.s28-Sep-08 22:34
sarala.s28-Sep-08 22:34 
AnswerRe: how to get the grid items??? Pin
whatUrunning.com28-Sep-08 22:47
whatUrunning.com28-Sep-08 22:47 
Questionshow image usin binding problem Pin
sepel28-Sep-08 22:32
sepel28-Sep-08 22:32 
AnswerRe: show image usin binding problem Pin
Ashfield28-Sep-08 23:10
Ashfield28-Sep-08 23:10 
AnswerRe: show image usin binding problem Pin
AlexeiXX329-Sep-08 13:47
AlexeiXX329-Sep-08 13:47 
GeneralRe: show image usin binding problem Pin
sepel29-Sep-08 19:07
sepel29-Sep-08 19:07 
Questionlinkbutton open link Pin
UD(IA)28-Sep-08 22:15
UD(IA)28-Sep-08 22:15 
AnswerRe: linkbutton open link Pin
Ashfield28-Sep-08 23:22
Ashfield28-Sep-08 23:22 
QuestionHow to get System Language? Pin
kindman_nb28-Sep-08 21:27
kindman_nb28-Sep-08 21:27 
AnswerRe: How to get System Language? Pin
whatUrunning.com28-Sep-08 21:42
whatUrunning.com28-Sep-08 21:42 
Questionmail attachment repeating Pin
kvsreedhar28-Sep-08 21:23
kvsreedhar28-Sep-08 21:23 
AnswerRe: mail attachment repeating Pin
whatUrunning.com28-Sep-08 21:34
whatUrunning.com28-Sep-08 21:34 
GeneralRe: mail attachment repeating Pin
kvsreedhar28-Sep-08 21:39
kvsreedhar28-Sep-08 21:39 
GeneralRe: mail attachment repeating Pin
whatUrunning.com28-Sep-08 21:46
whatUrunning.com28-Sep-08 21:46 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.