chamnab Junior Poster in Training 70 posts since Aug 2010 Reputation Points: 0 [?] Q&As Helped to Solve: 0 [?] Skill Endorsements: 0 [?] 0 1 Year 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 ?