C# Get the row index of a GridView by clicking a cell

All we need is an easy explanation of the problem, so here it is. I have this GridView: <asp:GridView ID="gvTabelaTeste" runat="server" AutoGenerateColumns="false" CssClass="w3-table w3-striped w3-white w3-hoverable w3-centered" OnRowDataBound="gvTabelaTeste_RowDataBound"> <Columns> <asp:BoundField…

Continue ReadingC# Get the row index of a GridView by clicking a cell

IIS 8.5 overriding custom JSON error response, instead returns the default 500 error response page. How can I get IIS 8.5 to return my custom error?

All we need is an easy explanation of the problem, so here it is. I've come across an annoying issue, which I think is being caused by IIS 8.5. With…

Continue ReadingIIS 8.5 overriding custom JSON error response, instead returns the default 500 error response page. How can I get IIS 8.5 to return my custom error?