Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
sarikavbhosale
Starting Member
24 Posts |
Posted - 2006-01-02 : 04:02:27
|
Hello Everybody,I was converted the VS2003 application to VS2005 and due to that i am facing many problems....Currently i get error on Submit(Button)click event which is called on onclick by a javascript function as: function callSRV() { document.regNewCompliant.subCLK.value ="1"; document.regNewCompliant.submit(); }regNewCompliant class in inherited by regNewComplaint.aspx.cs like this:<%@ Page language="c#" Inherits="C_I_M2.regNewCompliant" CodeFile="regNewCompliant.aspx.cs" EnableSessionState="True" %>But i get error like this....document.regNewCompliant.subCLK is null or not an object& no regNewCompliant class is found in document properties listing.....means my class in not inherited their so what r the settings so that i can include that class in document properties listing.....Plz give the solution..... |
|
jsmith8858
Dr. Cross Join
7423 Posts |
Posted - 2006-01-02 : 10:19:44
|
You are confusing client-side code with server side code. You should not be handling that button click with javascript on the client, it should be done with a standard server-side handle. The objects available on the client side are very different from the objects available on the server. |
 |
|
sarikavbhosale
Starting Member
24 Posts |
Posted - 2006-01-03 : 00:23:28
|
But the same code was working before this......without any error...... |
 |
|
afrika
Master Smack Fu Yak Hacker
2706 Posts |
Posted - 2006-01-05 : 11:21:27
|
As Jeff said....The object "subCLK" is missing your your page. its a client side jscript errorAfrika |
 |
|
|
|
|