Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
915
Working Sample????
posted

Do you have any working sample project using this dialog built using VB in VS2013 or VS2017?

I have been working on this for a couple of days but when the dialog.show is called in javascript nothing happens.

This is true in IE and Chrome.

Can you create a new project following the instructions at https://ko.infragistics.com/help/aspnet/webdialogwindow-displaying-the-webdialogwindow-client-side?

one issue is that I have never been able to get this function to work as shown in the documentation.

function btnDialogWindow_onClick(){
        var dialog = $find("WebDialogWindow1");  //Find here does not return anything.
        dialog.hide();
}

But this will find the dialog

function btnDialogWindow_onClick() {

 var dialog = $('[name=WebDialogWindow1]');

  dialog.hide();

};

And this is not valid either.

<td align="center" valign="middle">
        ...
</td>

Should be

<td style="align-content:center"></td>

Thanks

Parents
  • 1100
    Offline posted

    Hello Earl,

    Thank you for using Infragistics ASP.NET controls!

    I am attaching a sample in C# that reproduces the scenario described in the help topic. I have tried it in IE11 and Chrome and the Dialog opens when clicking the image and it hides when clicking the OK button.

    Please, have a look at the sample and write me back if any questions pop out.

    You are right about the styling issue in step 12 and I will fix this to be correctly displayed in future versions of the documentation. Thanks a lot about that!

    I want to thank you once more for choosing Infragistics ASP.NET!

    Best regards,
    Alexander Marinov,
    Software developer,
    Infragistics

    WebDialog.zip
Reply Children