skip to Main Content

Javascript – How can i hadndle json data for registraton in my asp.net web api

Microsoft.AspNetCore.Http.BadHttpRequestException: Failed to read parameter "RegisterRequest registration" from the request body as JSON. ---> System.Text.Json.JsonException: JSON deserialization for type 'Microsoft.AspNetCore.Identity.DTO.RegisterRequest' was missing required properties, including the following: password at System.Text.Json.ThrowHelper.ThrowJsonException_JsonRequiredPropertyMissing(JsonTypeInfo parent, BitArray requiredPropertiesSet) at System.Text.Json.Serialization.Converters.ObjectWithParameterizedConstructorConverter`1.OnTryRead(Utf8JsonReader& reader, Type typeToConvert, JsonSerializerOptions options,…

VIEW QUESTION

Asp.net – Is there a way to get different values from a single radiobuttonlist field used in ASP:Gridview

I am using a radiobuttonlist in my ASPX page inside a Gridview : <asp:GridView ID="grdRampPrepQues" runat="server" class="table table-dark table-striped" AlternatingRowStyle-BackColor="#eaeaea" ShowHeader="true" EmptyDataRowStyle-HorizontalAlign="Center" EmptyDataRowStyle-ForeColor="Red" OnRowCreated="grdRampPrepQues_RowCreated" OnRowDataBound="grdRampPrepQues_RowDataBound" ShowHeaderWhenEmpty="true" EmptyDataText="No Data Found !!" AutoGenerateColumns="false"> <Columns> <asp:TemplateField HeaderText="Sl. No" ItemStyle-Width="4%" ItemStyle-HorizontalAlign="Center" HeaderStyle-CssClass="gridHeader" HeaderStyle-HorizontalAlign="Center" ItemStyle-CssClass="gridRow">…

VIEW QUESTION
Back To Top
Search