before selecting items on gridview