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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JSha
    New Member
    • Apr 2007
    • 17

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

    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
    Recognized Expert MVP
    • Nov 2006
    • 16032

    #2
    You may need to set it with document.title.

    Comment

    • kunal pawar
      Contributor
      • Oct 2007
      • 297

      #3
      You can set title in showmodaldialog () function

      showmodaldialog (xyz.aspx,"Titl e without space" ,dialogargument s)...

      or in head tag use <Title> tag

      Or on load event u can set document.title = "tiltie "

      Comment

      • acoder
        Recognized Expert MVP
        • Nov 2006
        • 16032

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

        Comment

        • Avinash8385
          New Member
          • Aug 2008
          • 1

          #5
          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?

          Comment

          • acoder
            Recognized Expert MVP
            • Nov 2006
            • 16032

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

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

            Comment

            Working...