Access Ext controls via javaScript

  1. #1

    Access Ext controls via javaScript

    Should I need to add a reference to my project for the ext-net.js file to be able to call, for example, an Ext.MessageBox.alert() dialog via javaScript? I already have the Ext.NET DLL referenced but am unclear about whether this is really the same thing?!

    Cheers,
    Peter
  2. #2
    Hi,

    No, you should add this js file manually.

    Please just add <ext:ResourceManager> in your page. This control manages resources and it adds all required scrips including both ExtJS and Ext.Net. So, you can use
    Ext.MessageBox.alert()
    without additional actions.
  3. #3
    Quote Originally Posted by Daniil View Post
    Hi,

    No, you should add this js file manually.

    Please just add <ext:ResourceManager> in your page. This control manages resources and it adds all required scrips including both ExtJS and Ext.Net. So, you can use
    Ext.MessageBox.alert()
    without additional actions.
    Thank you. :cool:

Similar Threads

  1. Access MenuItem Attributes in Javascript
    By Mani in forum 1.x Help
    Replies: 3
    Last Post: Jul 31, 2012, 12:14 PM
  2. Replies: 12
    Last Post: Jun 23, 2011, 8:04 PM
  3. Replies: 11
    Last Post: May 23, 2011, 1:33 PM
  4. Replies: 5
    Last Post: Aug 26, 2009, 1:48 PM
  5. How can i access to panel controls
    By david83 in forum Examples and Extras
    Replies: 0
    Last Post: Apr 07, 2009, 3:11 PM

Tags for this Thread

Posting Permissions