Added check for total row count not being null (this also handles case where control is not visible)
Added check for total row count not being null (this also handles case where control is not visible)

grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation,grahammendick/navigation