<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.aras.com/community/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Call dijit.Dialog from method?</title><link>https://www.aras.com/community/f/development/3913/call-dijit-dialog-from-method</link><description>Hi, I have an action that runs a JavaScript method. In the method, I have the following code:
 new dijit.Dialog({title: &amp;quot;apa&amp;quot;, style: &amp;quot;width: 800px&amp;quot;}); 
When running it, dijit.Dialog isn&amp;#39;t found, so it returns an exception. How do I load dijit in the</description><dc:language>ja-JP</dc:language><generator>Telligent Community 12</generator><item><title>RE: Call dijit.Dialog from method?</title><link>https://www.aras.com/community/thread/2023?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 02:53:42 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:d9312812-23e2-40bd-8487-2f1300fa1da9</guid><dc:creator>AngelaIp</dc:creator><description>Hi,

I currently work on a similar use case. I want to open a tooltip dialog from the grid.

For a regular dialog, something like this basically works from a Javascript Method:

&lt;pre&gt;&lt;code&gt;require([
    &amp;quot;dijit/Dialog&amp;quot;, 
    &amp;quot;dijit/form/Form&amp;quot;, 
    &amp;quot;dijit/form/TextBox&amp;quot;, 
    &amp;quot;dijit/form/Button&amp;quot;, 
    &amp;quot;dojo/domReady!&amp;quot; 
], function(Dialog, Form, TextBox, Button) 
{
    var form = new Form();

    new TextBox({
        placeHolder: &amp;quot;Name&amp;quot;
    }).placeAt(form.containerNode);

    new Button({
      label: &amp;quot;OK&amp;quot;
    }).placeAt(form.containerNode);

    var dialog = new Dialog({
        content: form,
        title: &amp;quot;Dialog with form content&amp;quot;,
        style: &amp;quot;width: 300px; height: 300px;&amp;quot;
    });
    form.startup();
    dialog.show();
});&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call dijit.Dialog from method?</title><link>https://www.aras.com/community/thread/2022?ContentTypeID=1</link><pubDate>Thu, 13 Sep 2018 03:02:09 GMT</pubDate><guid isPermaLink="false">916d3f7e-8ddc-42f8-8d45-380822f51406:c807ff51-f7e9-4605-bb3a-714d7572e9f5</guid><dc:creator>Former Member</dc:creator><description>Hi AJ,

But it&amp;#39;s dijit.Dialog that I want to use.&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>