Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
WebGrid Target URL not working properly with Windows7 and IE8
posted

Hi

I am having a web app using infra 2009, I am using target URL property to some cell values to show as a hyper link and whn user clicks on the link it wil open an in house application called Image viewer to show the images.

In WIN XP this was working perfectly fine without any issues. But in WIndows 7 with IE8, when the user clicks on the Link, it will open a new blank tab page and then tries to open the application.

I tried using value and text propery of cell instead of target URL and calling a JavaSCript to open the image. if I am calling the same JS on a button click its working fine. below is the code in row intialiaze method..

 

 

string

 

 

URL = GetOMFPathName() + OMF_ID + "?" + ConfigurationManager.AppSettings["OMFPAGENUMBER"] + "&title=<" + OMF_Title + ">";

 

 

//e.Row.Cells[4].TargetURL = URL;

e.Row.Cells[4].Text =

@"<a href=""" + URL + @""" onClick='GoToView(href)'>" + "click here to view Image" + "</a>";

Please advice how to proceed.