You can achieve this using the second solution which you have said.
What you need do is give the url value to the GenFireServerEvent method.
Before:
{ddwrt:GenFireServerEvent('__commit;__redirect={/}')};
After:
{ddwrt:GenFireServerEvent('__commit;__redirect={http://www.microsoft.com}')};
Note: If you change like his, you will receive a
warning message like this: “You are about to be redirected to a new internet site.” Of course, if the target url is in the same site with the page, you will not receive the warning message.
Hope it’s helpful.
No comments:
Post a Comment