473,805 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening window - changing title in code

I know this topic has been discussed many times all over the web but in my
case although i can make it work in a normal window but it falls flat working
in a window where i generate a PDF from a SQL server report.

The window which i am changing the title for contains the codebehind to
render a sql server report and the following code is where it overrides the
title changing code:
Response.ClearC ontent();
Response.Append Header("content-length", result.Length.T oString());
Response.Append Header("content-disposition", "inline: filename=test.p df");
Response.Conten tType = "applicatio n/PDF";
Response.Binary Write(result);
Response.Flush( );
Response.Close( );

To test, i commented this part and the title changes. But i cannot comment
this as this is the part which converts the xml rdl into pdf.
Any suggested will be greatly appreciated.

Thanks and regards
Google
Nov 18 '05 #1
0 1173

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6944
by: Clara | last post by:
Hi,... I meant to write an application where there is a button in a window and when you click on the button, it will open a new window, but I want the first window to close, replaced by the second window. I open a login window and start the mainloop, when the user click on the login button, the __call__ function of VerifyProcessor is executed and it will call the new window which is the file manager window The thing is,.. I don't know how...
1
3793
by: Display Name | last post by:
the customer I'm developing a site for uses a canned form-parsing page that allows her to have an email subscription opt-in page add emails to a list she can manage using a link that you point your HTML form to. the actual form-parsing page resides on a server that's uneditable to me since it sits on an inaccessible server. my problem is more irritating than anything; everything double-submits.. when you submit the form, I've forced a...
2
3368
by: Jan T. Kim | last post by:
David Dorward <dorward@yahoo.com> wrote in message news:<bd7da3$ho4$1$830fa7a5@news.demon.co.uk>... > Jan T. Kim wrote: > > > I don't understand why I get this message. According to the HTML 4.01 > > strict specification, there is a "target" attribute to the "a" element. > > No it doesn't. Target is strictly for Frameset and Transitional. Ok, thanks for pointing this out, it seems I haven't taken enough time to look into the specs for...
4
2447
by: Amir | last post by:
What's the difference between the two ways of opening a new window and writing to it? Let's say I prepare a code that goes into a new window and save it in a variable winHTML: var winHTML = "<HTML><HEAD><TITLE>Any title</TITLE><BODY>Any text</BODY></HEAD>"; Now, I have two ways to open a new window and write that code into the new
14
11105
by: D. Alvarado | last post by:
Hello, I am trying to open a window containing an image and I would like the image to be flush against the window -- i.e. have no padding or border. Can I make this happen with a single call to a window.open function? I would prefer not to create a separate HTML page. So far all I have is the basic var cwin = window.open('images/KJV-THANKS.gif', 'Thanks', 'width=243,height=420,'); cwin.focus();
5
1910
by: laredotornado | last post by:
Hello, I am searching for a cross-browser way (the most recent browsers are fine) to use javascript to open a new window even though I do not know the file I want to call. I do, however, know the HTML code I want output in the new window. It would look like <HTML> <HEAD><TITLE>Hello</TITLE> </HEAD> <BODY>
4
1315
by: Monty | last post by:
Hi there, From one page, I have created a dropdown list of employees. When an employee is selected, I would like another page to open, based upon the employee. Here is my question... How do I change the datasource.id of a grid on another page as it is opening? Thank you, Mark
3
4226
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - I have window.status="Moomin"; why doesn't the statusbar change? ----------------------------------------------------------------------- When changing the status in an event (e.g. onmouseover) you should return true from the event. Also a number of browsers require a short delay before setting the status to overcome their default behaviour with the...
2
8391
by: prash.marne | last post by:
hi guys, i have simple problem with my pop up window my code is .... <html> <head> <script type="text/javascript> function open_window(){ window.open("","","channelmode=0,directories=0,fullscreen=0,location=0,menubar=0,resizable=0,scrollbars=0,status=0,titlebar=0,toolbar=0,height=100,width=100"); }
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10360
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10105
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9185
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7646
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6876
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4323
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3845
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.