473,715 Members | 2,163 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

changing the title of modal popup dialog

Hi,

Is there a way to change the title of the Popup opened using
window.showModa lDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attaching Webpage Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.

Thanks,

Jan 29 '07 #1
3 5601
On Jan 29, 12:33 pm, Sridhar <Srid...@discus sions.microsoft .com>
wrote:
Hi,

Is there a way to change the title of the Popup opened using
window.showModa lDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attachingWebpag e Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.

Thanks,
I would like to do the exact same thing. Did you have any luck? I
will post here if I figure it out.

Jan 30 '07 #2
I didn't find the solution. I will also post here If I get it.

"te**********@g mail.com" wrote:
On Jan 29, 12:33 pm, Sridhar <Srid...@discus sions.microsoft .com>
wrote:
Hi,

Is there a way to change the title of the Popup opened using
window.showModa lDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attachingWebpag e Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.

Thanks,

I would like to do the exact same thing. Did you have any luck? I
will post here if I figure it out.

Jan 30 '07 #3
The plain API instruction is SetWindowText or
it's associated message WM_SETTEXT

You only need the window handle.

Good luck
29 Jan 2007 15:33:01 -0500, Sridhar <Sr*****@discus sions.microsoft .comwrote:
Is there a way to change the title of the Popup opened using
window.showModa lDialog. I have specified the title in the HTML of the popup.
At the end of the title, it is attaching Webpage Dialog. If possible I would
like to remove that and just display the text that assign to it. Please let
me know.
Jan 31 '07 #4

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

Similar topics

3
8131
by: Russell | last post by:
I have a quirky issue that I believe involves timing and only 2 hairs left to pull. I have a modal dialog that is an IFrame. The IFrame contains another window - which contains the appropriate title. I am trying to change the title of the IFrame window to be that of the contained window title. If I uncomment the alert statement below - the title change works. Comment out the alert - and - no title change.
3
2884
by: Earl Teigrob | last post by:
Can a Modal Dialog Box do forms ASP.NET forms validation from within the Modal Box? I want to pop up a dialog box to the user and have it do its own post backs with validation checking and then save the data and close the dialog when the page is valid. I have read a little about using Iframes to post back to, but was wondering if this would work for what I am trying to do? Also, does anyone have a code sample of this (postback from modal...
6
11165
by: Fred | last post by:
I have implemented a dialog box (an aspx page) using showModalDialog. Because the dialog needs to process postbacks, I have implemented it in a frameset. In the top of the framset page, I have defined a title as follows: <title>My Title</title> At runtime, the text in the title bar appears like this: My Title -- Web Page Dialog
1
2944
by: Samuel Rhodes | last post by:
hi i am using a ajax modal popup to allow the user to search an item and select the required item from the list. whenever i try to search the item, which causes a post back....the modal popup disappears/becomes invisible... in general, any postback fired from within the modal popup makes the modal popup disappear.
5
9682
by: JSha | last post by:
I have button which when clicked does a popup window which is opened using showmodaldialog(xyz.aspx, dialogarguments)... the xyz.aspx page has the title set as.... <title> ABCD </title> now when is button is clicked..the window does pop up but the title bar is not set as ABCD but as "-Web Page Dialog" Can anyone let me know how to set it as "ABCD -Web Page Dialog" Why doesnt the title dispaly as i have specifically set it...
4
3337
by: jhalavirendra | last post by:
Hi All, I am using ASP.NET 2.0 and C#. I am opening a Modal Dialog Box from .aspx page. This dialgo box contains a grid and user can add new recod to this grid from here. When this dialgo is opend fist time everything works well.
2
3511
by: diogenes | last post by:
I have created many shortcut/popup (aka context, or right-click) menus for my application - instead of toolbars or standard drop-down menus. Within my custom menu, I am using =ShowMainMenu("item") in the On Action event where ShowMainMenu is a public function in frmMain, and "item" is a string mapping to a button click event. (error trapping omitted) Public Function ShowMainMenu(strItem As String) As Boolean
4
2321
by: fran_j_diaz | last post by:
Hi, I have a page with an Ajax modal popup. I would like to know when my Modal popup is opened, my page still able to modify. Is it possible ? (I use Visual Studio 2005, c# )
3
3873
by: Mike Hofer | last post by:
Okay, here's the situation: we want to be able to display ASPX pages in an UpdatePanel. The reasons for this are performance related. The site in development uses *lots* of modal popups from some pages, and we don't want to load all that content until it's requested. So, what we want to do is place an IFRAME inside an UpdatePanel and, in the onclick event for the linkbutton or button control, set the SRC so that the content is loaded on...
0
8817
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
8715
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
9037
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...
1
6641
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
5964
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();...
0
4472
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4734
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3170
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
3
2116
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.