Click here to Skip to main content
15,914,351 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Javascript Error: "Object Required" Pin
Chetan.visodiya24-Jun-09 1:57
Chetan.visodiya24-Jun-09 1:57 
QuestionWhats error in the bold line Pin
KhandelwalA23-Jun-09 21:22
KhandelwalA23-Jun-09 21:22 
AnswerRe: Whats error in the bold line Pin
Abhijit Jana23-Jun-09 21:30
professionalAbhijit Jana23-Jun-09 21:30 
GeneralRe: Whats error in the bold line Pin
KhandelwalA23-Jun-09 21:41
KhandelwalA23-Jun-09 21:41 
AnswerRe: Whats error in the bold line Pin
Amol-11123-Jun-09 21:34
Amol-11123-Jun-09 21:34 
AnswerRe: Whats error in the bold line Pin
Christian Graus23-Jun-09 21:36
protectorChristian Graus23-Jun-09 21:36 
QuestionASP.NET Gridview control does not fire rowcommand event inside an ajax toolkit's update panel Pin
Inderjeet Kaur23-Jun-09 20:39
Inderjeet Kaur23-Jun-09 20:39 
QuestionInteresting problem when opening a PDF file inside iFrame element in an aspx file Pin
Renukapadhamanaban23-Jun-09 20:20
Renukapadhamanaban23-Jun-09 20:20 
HI,

If I am posting this in wrong category please advice me the right one. I am really not sure...

Here is the problem i have,

I have a PDF document that has

1. intranet link (http://server/guideline.aspx)
2. internet external link (http://www.google.com)
3. physical link to a file in a server (file:\\localserver\shared\guideline.html)

When I open this PDF file in adobe all of the above 3 links works very fine and take me to the right page/document.

When I open this PDF file in IE all of the above 3 links wokrs very well and takes me to the right page/document.

But in my .NET 2.0 C# application I am trying to open this up by a aspx page using iFrame, it opens up very well and first 2 links works very well. When i click the third link I am receiving "Page cannot be found" error. I checked the property of this page and looks like IE is trying me to open up
http://localhost/localserver/shared/guideline.html
instead of
file:\\localserver\shared\guideline.html

I spent 3 days finding a answer to this problem But no luck.

Here is the code in side aspx page:


<body id="bdContent" bottomMargin="0" leftMargin="0" topMargin="0" rightMargin="0" runat="server">
<form id="Form1" method="post" runat=server >
<iframe id="frmBrowser" marginWidth="5" hspace="0" vspace="0" src="medseed.htm"
width="100%" height="100%" runat="server" scrolling="auto">
</iframe>
</form>
</body>

This is the code I am using to load the PDF file dynamically,

string script = String.Format("<script>document.all.frmBrowser.src='{0}';</script>", url);
RegisterStartupScript("scriptBreakframe", script);

Here url is the the actual URL for PDF something like this http://localhost/workingproject/guidleine/linksfile.pdf

Anyone faced this problem before?? Please please.. anyone know the solution?

THanks in advance for your valuable time.

Cheers
RenuConfused | :confused:
GeneralRe: Interesting problem when opening a PDF file inside iFrame element in an aspx file Pin
Renukapadhamanaban24-Jun-09 16:21
Renukapadhamanaban24-Jun-09 16:21 
QuestionJavaScript-IE6 [modified] Pin
Elango N23-Jun-09 19:29
Elango N23-Jun-09 19:29 
AnswerRe: JavaScript-IE6 Pin
Chetan.visodiya24-Jun-09 1:22
Chetan.visodiya24-Jun-09 1:22 
Questionproblem with threads in asp.net Pin
prasadbuddhika23-Jun-09 19:28
prasadbuddhika23-Jun-09 19:28 
AnswerRe: problem with threads in asp.net Pin
Christian Graus23-Jun-09 21:14
protectorChristian Graus23-Jun-09 21:14 
Questiondatatable.select("dintinct columnName"); Pin
S.Aijaz23-Jun-09 19:21
S.Aijaz23-Jun-09 19:21 
AnswerRe: datatable.select("dintinct columnName"); Pin
padmanabhan N23-Jun-09 19:47
padmanabhan N23-Jun-09 19:47 
GeneralRe: datatable.select("dintinct columnName"); Pin
S.Aijaz23-Jun-09 19:57
S.Aijaz23-Jun-09 19:57 
AnswerRe: datatable.select("dintinct columnName"); Pin
Baran M23-Jun-09 20:31
Baran M23-Jun-09 20:31 
AnswerRe: datatable.select("dintinct columnName"); Pin
himanshu256124-Jun-09 0:34
himanshu256124-Jun-09 0:34 
GeneralRe: datatable.select("dintinct columnName"); Pin
S.Aijaz24-Jun-09 0:56
S.Aijaz24-Jun-09 0:56 
GeneralRe: datatable.select("dintinct columnName"); Pin
himanshu256124-Jun-09 1:11
himanshu256124-Jun-09 1:11 
GeneralRe: datatable.select("dintinct columnName"); Pin
S.Aijaz24-Jun-09 3:58
S.Aijaz24-Jun-09 3:58 
AnswerRe: datatable.select("dintinct columnName"); Pin
Kaushal Arora24-Jun-09 3:59
Kaushal Arora24-Jun-09 3:59 
Questionvb .net Code Pin
Ganesh Great23-Jun-09 19:12
Ganesh Great23-Jun-09 19:12 
AnswerRe: vb .net Code Pin
Abhijit Jana23-Jun-09 19:32
professionalAbhijit Jana23-Jun-09 19:32 
QuestionHelp on Grid View Pin
KhandelwalA23-Jun-09 18:44
KhandelwalA23-Jun-09 18:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.