how to select text or right click of mouse on modal popup in ASP.net
-
Hi I open modal popup windows using java script in asp.net. function OpenChild() { var WinSettings= "resizable=no;dialogWidth:510px;dialogHeight:350px;help:no;maximize:yes;minimize:yes;scrollbars:yes"; var MyArgs = window.showModalDialog("http://localhost/Test/Test.aspx",WinSettings ); } Popup window is open well. But, there is lot of text on Test.aspx. Now, I want to select text for copy. But text is not selected. I would like to know that how to select text and right click of mouse on modal popup? If, is there alternative way to do this please tell me. Any help is appreciated. Regards Rajesh
rajesh
-
Hi I open modal popup windows using java script in asp.net. function OpenChild() { var WinSettings= "resizable=no;dialogWidth:510px;dialogHeight:350px;help:no;maximize:yes;minimize:yes;scrollbars:yes"; var MyArgs = window.showModalDialog("http://localhost/Test/Test.aspx",WinSettings ); } Popup window is open well. But, there is lot of text on Test.aspx. Now, I want to select text for copy. But text is not selected. I would like to know that how to select text and right click of mouse on modal popup? If, is there alternative way to do this please tell me. Any help is appreciated. Regards Rajesh
rajesh
That's what modal means, you can't interact with the parent form. You could use a floating DIV, which could be modeless.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
-
That's what modal means, you can't interact with the parent form. You could use a floating DIV, which could be modeless.
Christian Graus Please read this if you don't understand the answer I've given you "also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
Hi, Thanks for reply Actually, child modal popup windows contain lot of text. Now, I want to select that text so that I can copy and paste in text file. I am not taking about parent form. My question is concern with Child Modal Popup Windows. Please tell me any other solution. Regards Rajesh
rajesh