Changing the WebDialogBox in clientside

3 replies. Last post: June 1, 2015 6:55 PM by Maged Mikaeel
Tags :
Bug Submission
  • New Discussion
  • New Question
  • New Product Feedback
Product Name
WebDesktop
Product Version
5.0.7200
Build Version
123
Status
Resolved
Importance
Normal
Browser
  • Google Chrome
Operating System
  • Windows 7 x64
NET Version
  • .NET Framework 4.0
Dev. Environment
    Dev. Stage

      Description

      I have WebDialogBox, and I want to change the caption text each time I show the WebDialogBox according to the data the user chose from client side, so I use:

      ISGetObject("Med_MedicationDialogBox").Text = captionText;

      ISGetObject("Med_MedicationDialogBox").ShowDialog();

      Where captionText may have different values according the situation.

      It works fine with first show, and it did show the caption that I'm expecting.

      But from the second time and going forward it will always display the caption that assigned with the first show, and it will ignore any change.

      Please advise ASAP as this effect the users badly and they think the system displays wrong info and confuses the patient names!


      Step to Reproduce

      ISGetObject("Med_MedicationDialogBox").Text = '123';

      Show the dialog.

      The caption is '123'

      Then

      Close the dialog

      ISGetObject("Med_MedicationDialogBox").Text = '456';

      Show the dialog.

      The caption is still '123'

      Actual Result

      First time Caption 123
      Second time Caption 123

      Expected Result

      First time Caption 123
      Second time Caption 456
      All times are GMT -5. The time now is 12:44 AM.
      Previous Next