|
-
August 10th, 2004, 01:08 PM
#1
userinteractive problem
Hi everyone. I'm using Visual Studio .Net to create a web application.
I have a problem. I want to show a message box in my application and when the code gets to that point the following error message appears:
Well it's in spanish so I'll try to translate it. It says that my application isn't running in UserInteractive mode.
How can I make my application work in that mode?
Thanx for any replies
-
August 10th, 2004, 10:06 PM
#2
when you say messagebox... do you mean javascript messagebox?
remember this is asp.net - server side script, if you want your user to see a messagebox u need to use js
R. Thomas
"Be anxious for nothing, but in everything by prayer and supplication, with thanksgiving, let your requests be made know to God; and the peace of God, which surpasses all understanding, will guard your hearts and minds through Christ Jesus."Philippians 4:6-7
"Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."1Thess. 5:16-18
-
August 11th, 2004, 09:28 AM
#3
Nope, I mean a message box visual basic like. But maybe you just answered that this is not possible with Visual Basic script?
-
August 11th, 2004, 09:14 PM
#4
if you are using ASP.NET and trying to pop up a messagebox on client side - NO NO!
use java script to pop up a message on the client side..
also i suggest get a firm grasp on client side and server side difference (keeping in mind ASP.NET which u are using
HTH
R. Thomas
"Be anxious for nothing, but in everything by prayer and supplication, with thanksgiving, let your requests be made know to God; and the peace of God, which surpasses all understanding, will guard your hearts and minds through Christ Jesus."Philippians 4:6-7
"Rejoice always, pray without ceasing, in everything give thanks; for this is the will of God in Christ Jesus for you."1Thess. 5:16-18
-
August 12th, 2004, 02:13 PM
#5
Ok, so I'll have to use JavaScript... but how do I mix VBScript and JavaScript... (I'm thinking about buying a book on ASP programming)
Any replies will be appreciated
-
August 13th, 2004, 02:32 AM
#6
If you think you CAN, you can, If you think you CAN'T, you are probably right.
Have some nice Idea to share? Write an Article Online or Email to us and You may WIN a Technical Book from CG.
-
August 27th, 2004, 07:22 AM
#7
Re: userinteractive problem
Use the Alert statement i.c.w. RegisterStartupScript:
PHP Code:
Private Function Display (byval Message as String)
RegisterStartupScript("Warning", "<script> alert('" & Message & "') </script>")
End Function
Then call this function in your code:
Display("This is my message")
When doing a postback, the message will appear!
Hope this helps...
Dozo
The most important thing about what people say, is what they don't say
-
August 27th, 2004, 08:59 AM
#8
Re: userinteractive problem
Thanx Dozo... that was wonderful hehe. It solved my problem
Thanx a lot
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|