User Profile

Collapse

Profile Sidebar

Collapse
mahesh18k
mahesh18k
Last Activity: Apr 28 '13, 10:01 PM
Joined: Mar 8 '13
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dropdown selected value gives me the popup and i should not be able to click on any other controls on the parent window until i close the popup window . that's the requirement. the script is in the dropdownlistsel ectedIndexChang ed()method in codebehind.All my controls in my aspx page are with in update panel control and i could not tamper with it for some reason. I dont have html and body tags to use functions with in my aspx page. thats the reason...
    See more | Go to post

    Leave a comment:


  • disable parent window when popup is open and enable when popup window is closed

    Code:
    string url = string.Format("window.open('PSAContractSelection.aspx?appTitle=(0)&appName={1}', '_blank','toolbar = 0,menubar = no,scrollbar = no,mainmenu = no,height = 800,width = 920')",ddlList.SelectedItem.Text.Trim(),ddlList.SelectedItem.Value.Trim());
                ScriptManager.RegisterStartupScript(Page, Page.GetType(), "newWindow",url , true);
    this is the codebehind java script i am using for the popup...
    See more | Go to post
    Last edited by gits; Mar 8 '13, 04:01 PM. Reason: added code tags
No activity results to display
Show More
Working...