C1Dialog - cannot call methods on c1dialog prior to ...

Originally Posted 31 March 2014, 10:27 am EST

  • Originally Posted 31 March 2014, 10:27 am EST

    HI

    There have some problem of my project with C1Dialog : cannot call methods on c1dialog prior to initialization; attempted to call method 'open' .

    In Page, there have a asp:Button that call ScriptManager.RegisterStartupScript() to run client script dynamically :

    protected void Button1_Click(object sender, EventArgs e)
    {
    ScriptManager.RegisterStartupScript(this, this.GetType(), "showDialog1", "showDialog('any value');", true);
    }

    But in client script side the error occurred :

    $("#C1Dialog1").c1dialog("open");

    I don't the reason totally.

    *WebSite5s.zip contains 3 website project :
    .WebSite5_1 - cannot call methods ... and C1Menu becomes original html format while error occurred.
    .WebSite5_2 - cannot call methods ...
    .WebSite5_3 - run normally with original jquery-ui dialog.

    Best regards.

    Chris












    2014/03/WebSite5s.zip
  • Reply

    Assembly files is too big so I place some empty files like C1.Web.Wijmo.Controls.3.dll 3.5.20141.160, copy the physical assembly file please.

    *ComponentOne Studio 2014 v1/Visual Studio 2008/.NET 3.5.

  • Marked as Answer

    Reply

    Hello,

    Can you please check the sample which I provided at the following forum post and let me know the results:
    http://our.componentone.com/groups/topic/how-to-open-or-close-dialog-from-c-code-behind/

    In the sample I have implemented C1Dialog client side events using server side code. Let me know if you still face any issues.

    Regards,
    Sankalp
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels