Skip to main content

Posts

Showing posts with the label User Controls

To create a User Control for add new rows dynamically using JavaScript, Asp.net, C#

User Control Code AddMore.ascx <% @ Control Language ="c#" Inherits ="Ind.UC.AddMore" CodeFile ="AddMore.ascx.cs" %> < table cellpadding ="0" cellspacing ="0" width ="100%" align ="center" id ="tblAddMore"> < tr > < td align ="right"> < input class ="button" id ="btnAdd" type ="button" value ="Add Row" runat ="server"> < input class ="button" id ="btnDelete" type ="button" value ="Delete Row" runat ="server"> td > tr > < tr style ="display:none"> < td align ="right"> < input class ="button" id ="btnGet" type ="button" value ="Get Values"