Solved

URLRequest  / NavigatoURL control

Posted on 2009-07-15
2
639 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 500 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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

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 problem is more common than not and I will show you some things to check to solve this problem.
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

778 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