NEWBIE trying to learn. Creating a simple ASPX page. Have a simple table and I am using VS2005. I created the formview and I turned on Update/Insert/Delete. In the Update template, I made the "UPDATEBUTTON" (ID) not visible. I gave that link a new text of "Confirm Update". I added a Button1 and gave it a text of "Update". I want the Button1_click to make the UpdateButton (ID) visible. I basically want people confirm they want to update before they are allowed to do so. I have attached the actual code. Can someone tell me how I can make the UPDATEBUTTON visible? I know how to do it when it's not in form view with "control.visible = true", but I can not get it to work in this format. Thanks! Phil / newbie
I just put this in the OnClick and it worked. FormView1.FindControl("updatebutton").Visible = True "Phillip Vong" <phillip_vong*at*yahoo*dot*com> wrote in message news:eeT77UQeGHA.3348@TK2MSFTNGP03.phx.gbl... > NEWBIE trying to learn. Creating a simple ASPX page. > > Have a simple table and I am using VS2005. I created the formview and I > turned on Update/Insert/Delete. In the Update template, I made the > "UPDATEBUTTON" (ID) not visible. I gave that link a new text of "Confirm > Update". I added a Button1 and gave it a text of "Update". I want the > Button1_click to make the UpdateButton (ID) visible. > > I basically want people confirm they want to update before they are > allowed > to do so. > > I have attached the actual code. Can someone tell me how I can make the > UPDATEBUTTON visible? > > I know how to do it when it's not in form view with "control.visible = > true", but I can not get it to work in this format. > > Thanks! > > Phil / newbie > > > > > >