Solved

URLRequest  / NavigatoURL control

Posted on 2009-07-15
2
660 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Learn how to optimize MySQL for your business need

With the increasing importance of apps & networks in both business & personal interconnections, perfor. has become one of the key metrics of successful communication. This ebook is a hands-on business-case-driven guide to understanding MySQL query parameter tuning & database perf

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…
There are times when I have encountered the need to decompress a response from a PHP request. This is how it's done, but you must have control of the request and you can set the Accept-Encoding header.
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

634 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