Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Open new window WITHOUT javascript
Message
From
16/02/2005 03:50:51
 
 
To
15/02/2005 15:25:07
Eugenio Casal
Futura Tecnologia Informação Consult Ltd
São Paulo, Brazil
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
ASP.NET
OS:
Windows XP SP1
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
00986926
Message ID:
00987346
Views:
27
Hi Eugenio!

That's how it works:

1) a base class which is inherited by all the webforms
2) this base class contains a function "openPreviewWindow(reportname)"
3) this function opens a new window and displays a report; each report has different parameters - these are handled in this function


4) on my webform I have preview-buttons (imagebutton) which call the base function "openPreviewWindow" and passes the reportname to it

If I had to transform all my preview-buttons into hyperlinks I'll run mad.

I've to mention that I'm not yet a professional in .net - but I'll become one (it's only a matter of time ;-)

>Hi Robert,
>
>>I'm trying to open a new window in ASP.NET for displaying a crystal report.
>>
>>Till now I'm opening the new window using "response.write(...window.open(...)...)" but this causes more and more problems when popup-blockers are used; and nearly every browser has a builtin popup-blocker.
>>
>>I'm not able to transform the code above into hyperlinks ("...href=... target=_blank...") because lots of the affected code is managed in base classes which are inherited.
>
>I´m sorry. I don´t understand why you can´t use the hyperlink.
>Would you explain me this in more detail.
>
>Regards,
>
>Eugênio
robert.oh.
Previous
Reply
Map
View

Click here to load this message in the networking platform