Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to run javascript applet
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00764559
Message ID:
00764570
Vues:
30
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform