Click here to Skip to main content
16,005,473 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Janus Controls -- Listview Pin
Uma Kameswari23-Jun-06 0:42
Uma Kameswari23-Jun-06 0:42 
QuestionReading the Excel sheet Pin
Sandeep Akhare20-Jun-06 20:42
Sandeep Akhare20-Jun-06 20:42 
AnswerRe: Reading the Excel sheet Pin
Vasudevan Deepak Kumar20-Jun-06 23:04
Vasudevan Deepak Kumar20-Jun-06 23:04 
GeneralRe: Reading the Excel sheet Pin
Sandeep Akhare21-Jun-06 2:58
Sandeep Akhare21-Jun-06 2:58 
Questionadding of dll for TreeView Pin
Prasanna Kuamri Pydi20-Jun-06 20:22
Prasanna Kuamri Pydi20-Jun-06 20:22 
AnswerRe: adding of dll for TreeView Pin
sathish s20-Jun-06 20:47
sathish s20-Jun-06 20:47 
AnswerRe: adding of dll for TreeView Pin
Vasudevan Deepak Kumar20-Jun-06 23:05
Vasudevan Deepak Kumar20-Jun-06 23:05 
QuestionHow to pop up a web form as a modal dialog box?? Pin
kvPriya20-Jun-06 19:46
kvPriya20-Jun-06 19:46 
Hi,
I've two webforms. When a condition is satisfied, I need to pop up a webform as a modal dialog box where the user can enter some text.After submitting this child form, the user had to be redirected to some other webform. Inorder to catch the text,I've used a session variable.
What I've worked is......
In html page, I've written

function giveReason(w,h)
{
wleft = (screen.width-w) / 2;
wtop = (screen.height-h) / 2;
imgwindow1=window.open("HiReason.aspx","imgwindow1","width="+w+",height="+h+",left="+wleft+",top="+wtop+"status:Yes;");
imgwindow1.focus();
}


And I've called the above script function in codebehind page as...
jstr = " giveReason(500,170);"
Page.RegisterClientScriptBlock("reasonKey", jstr)

After that...
In child form,

Dim strjscript As String = ""
strjscript = ""
strjscript &= "window.opener.Home.Text1.focus();"
strjscript &= "window.close();"
strjscript = strjscript & "</script" & ">"
RegisterClientScriptBlock("close", strjscript)


Home is some other webbform's id.
While running this,I'm getting the error.... "imgwindow1 is null or not an object. poop up window is blocked"

Any suggestions?? Thanks in advance....

-Priya
AnswerRe: How to pop up a web form as a modal dialog box?? Pin
varshavmane20-Jun-06 20:33
varshavmane20-Jun-06 20:33 
GeneralRe: How to pop up a web form as a modal dialog box?? Pin
Vasudevan Deepak Kumar21-Jun-06 0:20
Vasudevan Deepak Kumar21-Jun-06 0:20 
QuestionDisplay info in a process Pin
miftha20-Jun-06 19:35
miftha20-Jun-06 19:35 
QuestionAre You Stored Procedure Savvy.......... Pin
Nagraj Naik20-Jun-06 19:27
Nagraj Naik20-Jun-06 19:27 
AnswerRe: Are You Stored Procedure Savvy.......... Pin
Edbert P20-Jun-06 20:01
Edbert P20-Jun-06 20:01 
GeneralRe: Are You Stored Procedure Savvy.......... Pin
Nagraj Naik20-Jun-06 20:20
Nagraj Naik20-Jun-06 20:20 
GeneralRe: Are You Stored Procedure Savvy.......... Pin
Edbert P20-Jun-06 20:31
Edbert P20-Jun-06 20:31 
GeneralRe: Are You Stored Procedure Savvy.......... Pin
Nagraj Naik20-Jun-06 20:51
Nagraj Naik20-Jun-06 20:51 
AnswerRe: Are You Stored Procedure Savvy.......... Pin
Vasudevan Deepak Kumar21-Jun-06 0:22
Vasudevan Deepak Kumar21-Jun-06 0:22 
QuestionPopup window on button click and fetching the value back [modified] Pin
Varun Arora20-Jun-06 19:15
Varun Arora20-Jun-06 19:15 
AnswerRe: Popup window on button click and fetching the value back Pin
varshavmane20-Jun-06 20:35
varshavmane20-Jun-06 20:35 
GeneralRe: Popup window on button click and fetching the value back Pin
Varun Arora21-Jun-06 19:38
Varun Arora21-Jun-06 19:38 
GeneralRe: Popup window on button click and fetching the value back Pin
_AK_21-Jun-06 19:48
_AK_21-Jun-06 19:48 
QuestionUser Control Error Pin
dotnetquery20-Jun-06 18:49
dotnetquery20-Jun-06 18:49 
AnswerRe: User Control Error Pin
Edbert P20-Jun-06 20:37
Edbert P20-Jun-06 20:37 
GeneralRe: User Control Error Pin
dotnetquery20-Jun-06 20:53
dotnetquery20-Jun-06 20:53 
Questioncapturing RAISERROR message in the front end Pin
sishya20-Jun-06 18:12
sishya20-Jun-06 18:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.