askardn Posted May 24, 2011 Posted May 24, 2011 can anyone solve this,, more details chek the image Line 852: CheckBox CBX1 = ((CheckBox)grid_add_contacts_list.Rows[rowindex].FindControl("cbk_edit_cprimary")); Line 853: Line 854: CBX1.Checked = true; Line 855: Line 856: } error Line: 854 Quote
Administrators PlausiblyDamp Posted May 24, 2011 Administrators Posted May 24, 2011 It looks as though CheckBox CBX1 = ((CheckBox)grid_add_contacts_list.Rows[rowindex].FindControl("cbk_edit_cprimary")); isn't returning a valid object, are you sure the control has that id and is present in the row? Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.