Monday, April 21, 2014

ASP.NET

grouping in an ASP.Net GridView
http://www.c-sharpcorner.com/uploadfile/e06010/grouping-in-asp-net-gridview/


<asp:RadioButtonList ID="rdoPlanExist" CssClass="plan-chooser" runat="server"                                         RepeatDirection="Horizontal">
                            <asp:ListItem Value="0" Selected="True">New Plan</asp:ListItem>
                            <asp:ListItem Value="1">Existing Plan </asp:ListItem>
 </asp:RadioButtonList>


  proposal.IsExisting = rdoPlanExist.SelectedItem.Value == "0" ? false : true;
                    if (proposal.IsExisting.Value)
                    {
                        proposal.PlanAsset = txtAssets.Text == "" ? 0 : decimal.Parse(txtAssets.Text);                    
                        proposal.NumberOfParticipant = txtParticipants.Text == "" ? 0 :                        int.Parse(txtParticipants.Text);
                        proposal.Recordkeeper = txtRecordkeeper.Text;              
                        proposal.PlanType = int.Parse(ddlPlanType.SelectedValue);
                    }






Persisting CheckBox State While Paging in GridView Control 

http://highoncoding.com/Articles/697_Persisting_CheckBox_State_While_Paging_in_GridView_Control.aspx

http://www.aspsnippets.com/Articles/Preserving-state-of-Checkboxes-while-paging-in-ASP.Net-GridView-Control.aspx

http://aspalliance.com/774_Maintaining_State_of_CheckBoxes_While_Paging_in_a_GridView_Control.3 

Radio
http://www.aspsnippets.com/Articles/ASPNet-GridView-Radio-Button-Single-Selection---Select-only-one-RadioButton-from-Column.aspx

No comments:

Post a Comment