Connecting Tech Pros Worldwide Help | Site Map

Cannot set the title of the popup window page (show modal dialog used to open)

Newbie
 
Join Date: Apr 2007
Location: Austin
Posts: 17
#1: Apr 25 '07
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...

Any help would be really aappreciated...

Thanks..
JSha
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#2: Jan 30 '08

re: Cannot set the title of the popup window page (show modal dialog used to open)


You may need to set it with document.title.
kunal pawar's Avatar
Needs Regular Fix
 
Join Date: Oct 2007
Location: Pune, India
Posts: 297
#3: Jan 30 '08

re: Cannot set the title of the popup window page (show modal dialog used to open)


You can set title in showmodaldialog() function

showmodaldialog(xyz.aspx,"Title without space" ,dialogarguments)...

or in head tag use <Title> tag

Or on load event u can set document.title = "tiltie "
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#4: Jan 30 '08

re: Cannot set the title of the popup window page (show modal dialog used to open)


Thanks kunal. This was an old thread that was left unanswered.
Newbie
 
Join Date: Aug 2008
Posts: 1
#5: Aug 26 '08

re: Cannot set the title of the popup window page (show modal dialog used to open)


Quote:

Originally Posted by acoder

Thanks kunal. This was an old thread that was left unanswered.

Can you help me please with this Post ya.. I'm using to open a Pop up using Showmodal dialog bye-passing the Parameters. What i want now is that i can receive a Parameters value but i can' t pass the value of the calculted in child to the parent. Even i did this, asking me to close the window which i was trying to close?
acoder's Avatar
Site Moderator
 
Join Date: Nov 2006
Location: UK
Posts: 14,581
#6: Aug 26 '08

re: Cannot set the title of the popup window page (show modal dialog used to open)


Post your code so I can have a better idea of the problem.

Is this question related to the original problem in this thread?
Reply


Similar JavaScript / Ajax / DHTML bytes