Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with datagrid in javascript
Message
De
30/08/2005 10:17:56
 
 
À
29/08/2005 07:53:58
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Versions des environnements
Environment:
VB.NET 1.1
OS:
Windows XP
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01044730
Message ID:
01045150
Vues:
18
Have you tried emitting a JavaScript call on the SelectCommand event instead?

EG Hardcode a JavaScript method into your HTML
<script language="JavaScript">
function ShowAlert(cMessage)
{
      alert(cMessage);
}
</script>
then, on your SelectIndexChanged or whatever you have left, do this
this.Controls.Add(new LiteralControl("<script>javascript:ShowAlert('AnyMessage');</script>"))
also, be wary of popups with any kind of databinding when called via JavaScript. the browser will cache the page based on the URL so make sure you call a different URL each time else the client will never reload your popup.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform