Startek Posted January 26, 2017 Share Posted January 26, 2017 What is the best way to go to a web page when you click an element? For example, it is common for a company logo to be displayed in a corner. In HTML you would just wrap a href around it. After extensive searching in the forum I found the following method, which does the job. Injecting JS in this way seems overkill but I guess is the only/best way? UniSession.AddJS('window.location.href="http://mycompany.com";'); Link to comment Share on other sites More sharing options...
Sherzod Posted January 26, 2017 Share Posted January 26, 2017 Hi, http://forums.unigui.com/index.php?/topic/6739-open-url-on-its-parent-page-by-click-button/&do=findComment&comment=34354 Best regards. Link to comment Share on other sites More sharing options...
Startek Posted January 26, 2017 Author Share Posted January 26, 2017 Thanks, that other thread was "interesting" to read. The following looks better than AddJS: UniSession.UrlRedirect(EDT_Url.Text); 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now