|
bubberz
Constraint Violating Yak Guru
289 Posts |
Posted - 10/11/2006 : 10:05:12
|
My basic goal is to highlight a row if there's a certain data condition. This is fine, until the user tries to page to the next page, and I get the: "Object not set to an instance of an object"
I went through the code, and if I comment out my ItemCreated even of the datagrid, I can page successfully.
Do I need to call something in my PageIndexChanged event so the ItemCreated event gets called as well? Here's the pageindexchanged event:
DG.CurrentPageIndex = e.NewPageIndex If txtWBSNumber.Text <> String.Empty Then Call BuildDGFiltered() Else Call BuildDG() End If
Thanks! |
|