skip to Main Content

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

Javascript – Maintain screen position fails to load the code behind actions – Asp.net

Using the below code to retain screen position <script type="text/javascript"> var xPos, yPos; var prm = Sys.WebForms.PageRequestManager.getInstance(); prm.add_beginRequest(BeginRequestHandler); prm.add_endRequest(EndRequestHandler); function BeginRequestHandler(sender, args) { xPos = $get('#UpdatePanel_1').scrollLeft; yPos = $get('#UpdatePanel_1').scrollTop; } function EndRequestHandler(sender, args) { $get('#UpdatePanel_1').scrollLeft = xPos; $get('#UpdatePanel_1').scrollTop = yPos;…

VIEW QUESTION
Back To Top
Search