Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

URLRequest  / NavigatoURL control

Posted on 2009-07-15
2
Medium Priority
?
679 Views
Last Modified: 2012-05-07
I have an advanced data grid that is being loaded from an XML file.  I also have a panel which loads an image also from the XML file based on the selected item on the grid.  They would like to be able to either double click the image or have a link such that when clicked a full size PDF will open of the drawing. If I use NavigatoURL with the PDF path hard coded this works, but it does me no good as I need this to be loaded from the xml file as well.

Using navigatoURL ({datagrtid.selecteditem.linkurl}) = does not appear to work. Is there some way to make this work?

Thanks
0
Comment
Question by:interstate
2 Comments
 
LVL 9

Accepted Solution

by:
danyul_c earned 2000 total points
ID: 24864748
try:
var urlRequest:URLRequest = new URLRequest(datagrid.selectedItem.linkurl);
navigateToURL(urlRequest);

Open in new window

0
 

Author Closing Comment

by:interstate
ID: 31603706
I took your suggestion and did this right on the object itself and it worked!!!!

doubleClick="navigateToURL(new URLRequest(intbaseboardsDatagrid0.selectedItem.url),'_blank')"

Life is good

Thanks
0

Featured Post

Learn Veeam advantages over legacy backup

Every day, more and more legacy backup customers switch to Veeam. Technologies designed for the client-server era cannot restore any IT service running in the hybrid cloud within seconds. Learn top Veeam advantages over legacy backup and get Veeam for the price of your renewal

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

First things first - Preparation We need all the part for this install and it's much nicer to have them all on hand when you need them so here's what's required. Download Eclipse 3.5 32 bit (I like the Classic flavour) from here. (http://www.e…
This article will show you step-by-step instructions to build your own NTP CentOS server.  The network diagram shows the best practice to setup the NTP server farm for redundancy.  This article also serves as your NTP server documentation.
Loops Section Overview
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question