chamnab Junior Poster in Training 70 posts since Aug 2010 Reputation Points: 0 [?] Q&As Helped to Solve: 0 [?] Skill Endorsements: 0 [?] •Community Member 0 2 Years Ago Dim edit As New Button edit.ID = "edit" & i edit.CssClass = "floatLeft" This code will create a button but its type is 'submit' . How can i change it to 'button' type ?