Hi Mudassar Ahmed Khan
On your article Ajax control inside grid i'm facing an exception "Object reference not set to an instance of an object" on this line
int rowIndex = ((sender as Rating).NamingContainer as GridViewRow).RowIndex;
please help me
As you are saying you are getting GridViewRow, so let me know are getting the rowIndex?
If you are getting rowIndex then check based on rowIndex and DataKeys are you getting MID value or not.
© COPYRIGHT 2025 ASPSnippets.com ALL RIGHTS RESERVED.