Posted on: 12/28/2013 4:20:47 AM | Views : 637

Hi! The folowing is my code
<script language="VBScript" type="text/vbscript">
Sub document_onkeydown() if (window.event.keyCode="113") then   if LCase(Button(document.getElementById("<%=FormView1.FindControl("SaveButton1").ClientID%>")))<>"nothing" then   document.getElementById("<%=FormView1.FindControl("SaveButton1").ClientID%>").focus()   end if
end if
When I change the formveiw1 mode in ReadOnly,it will show SaveButton1 is invalid,so how can I judge the object is valid,Thank you for your help.

Go to the complete details ...