NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: kashiash on May 15, 2010, 12:06:18 PM
-
I have button with hyperlink to other page
in client side tab i check send value to server and exceute some code
when user press button link page is opened but code on server side is not executed
This happens in one of my app , when i try to other all is ok
is possible to disable somewhere in app settings server side actions on button ?
what's wrong ?
-
Is your button set as type "Button" or type "Submit"?
Also check the log, maybe the click is doing two things, but not in the order you expect.
cheers
Bruce
-
I check both Button and submit
i use debugview for "debiggign" and im sure - program only go to new page
when i remove hyperlink then button server code is executed
-
I have run into the same prob - I think it is because when you add a hyperlink URL it goes to that page and your server side code does not run.
The way I have got around it is to add a parameter to the url and trap that on the next procedure and run the code I want.
Of course it might be just a matter of moving some code around.
-
its no so easy
this code determine where i should go to next page - then i should jnow result before opening next page
-
can you run that code based on any other event on the form? even if the code did run on that button I don't think it would work anyway. in my experience (and I could easily be wrong) I have always had to set the URL before the page is created and if I change it after that I would need to refresh the control that held the URL ie the button.