hi venkatesh
-
hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri
-
hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri
Use javascript to open a pop window which loads your addsecurity form. Check the syntax for window.open(), since I am not sure about the syntax... Your addsecurity would have all the code to update the database and close the pop window using window.close() method.
Regards, Venkatesh Mookkan. Software Engineer, India My: Website | Yahoo Group
-
hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri
Hi Gayatri, Use this code for parent form: function ChooseDept() { var winSettings = "dialogWidth:400px;dialogHeight:250px; help: no; status: no"; var values = window.showModalDialog("DeptFrame.aspx"," ", winSettings); if(values) { values[0] += "," + values[1]; document.all("txtDept").value = values[0]; return true; } else { return false; } } And on ur child window use this: function AddDeptDesg() { var dept = document.all("<%=cmbDeptName.ClientID%>"); var desg = document.all("<%=cmbDesgName.ClientID%>"); var MyArgs = new Array(); MyArgs[0] = dept.options[dept.selectedIndex].value; MyArgs[1] = desg.options[desg.selectedIndex].value; window.returnValue = MyArgs; window.close(); } Hope this helps u.......
-
hello i have one security form in that form when i will click add button that time small addsecurity form will be open, in that form i want to take security name, code etc fields and ok button . when i click on ok button that time record will add on sql database. ok pls reply me Gayatri
wrote:
hi venkatesh
Do not create posts aimed at one single person. If you are following up from something the person already said then "REPLY" to their message. Do not create a new thread.
-
wrote:
hi venkatesh
Do not create posts aimed at one single person. If you are following up from something the person already said then "REPLY" to their message. Do not create a new thread.
These people don’t know the basic manners in a forum :doh: