You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey,
I've seen a few people asking in the archives here how to open a dialog and fill values from javascript in the cshtml
Heres how:
function SpawnDialog() { var visitDialog = new Project.Kiosk.VisitDialog(); visitDialog.load({ DialogField: ValueYouWantToSetItTo }, function () { visitDialog.dialogOpen(); }); }
Then just call that function from a button or hyperlink...
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey,
I've seen a few people asking in the archives here how to open a dialog and fill values from javascript in the cshtml
Heres how:
function SpawnDialog() { var visitDialog = new Project.Kiosk.VisitDialog(); visitDialog.load({ DialogField: ValueYouWantToSetItTo }, function () { visitDialog.dialogOpen(); }); }
Then just call that function from a button or hyperlink...
Beta Was this translation helpful? Give feedback.
All reactions