User Profile
Collapse
Profile Sidebar
Collapse
mahesh18k
Last Activity: Apr 28 '13, 10:01 PM
Joined: Mar 8 '13
Location:
-
mahesh18k replied to disable parent window when popup is open and enable when popup window is closedin Javascriptdropdown 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... -
mahesh18k started a topic disable parent window when popup is open and enable when popup window is closedin Javascriptdisable parent window when popup is open and enable when popup window is closed
this is the codebehind java script i am using for the popup...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);
No activity results to display
Show More
Leave a comment: