njtz2011 Posted August 14, 2011 Share Posted August 14, 2011 I Dynamic write a href on clientside page like "'<a href="#" onclick="ajaxRequest(null, 'testvalue', [''param0=A'',''param1=B''])">Test</a>'",when i click the href,on serverside how to catch the ajaxevent? Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted August 15, 2011 Administrators Share Posted August 15, 2011 In ajaxRequest first parameter can not be null. You must provide an instance of an existing object. Try this: ajaxRequest(MainForm.form, "testvalue", ["param0=A","param1=B"]) on server side monitor AjaxEvent of MainForm. Quote Link to comment Share on other sites More sharing options...
njtz2011 Posted August 15, 2011 Author Share Posted August 15, 2011 Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.