Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to run javascript applet
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00764559
Message ID:
00764570
Views:
31
well, what I'm trying to do is duplicate the msgbox windows form function. I have a delete button on the form and when it's pressed, I want a popup to ask if the person wants to delete the record. Yes, delete; no, don't delete.

this is turning out to be more difficult than I thought.


>The code is client-side and not server-side. You can't use the function in the code-behind. You can however call the function when you postback the page. See message #710745 for an explanation of how to call the function by using the RegisterClientScriptBlock method.
>
>>I wrote a small javascript program in the section of an asp.net page. I want to call the routine from a codebehind program. If I try to run the program, it can't find the method. Here's the code I expected to run:
>>
>>
>>Dim l_retval as string = dispDialog()
>>
>>
>>This works for calling another VB method, but not for a script routine.
>>DispDialog is a script routine in the page header. How in the world do I call it?
Steve Howie, owner
DaSH Technology
Denver, CO
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform