How to development a Component in Ext.Net?

  1. #1

    How to development a Component in Ext.Net?

    Hi
    I want to develop Date Field component in Ext.Net. The control does not show in page and I get error in firebug:

    /src/form/field/PDate.js 404 Not found
    TypeError: c is not a constructure.

    My Resources:
    [Description("")]
    protected override List<ResourceItem> Resources
    {
        get
    {
            List<ResourceItem> baseList = base.Resources;
            baseList.add(new ClientScriptItem(typeof(PersianDateField), "DotNetLearn.Ext.Net.Build.Ext.Net.extjs.PersianDate.pdate.js", "/PDate/pdate.js"));
    }
    }
    I want to create this component for ASP.NET Web Forms.

    Are you know what is my problem?
    Have you any full guide for development Ext.Net Component?
    Last edited by ihamid; Dec 13, 2015 at 8:30 AM.
  2. #2
    Hi @ihamid,

    Welcome to the Ext.NET forums!

    Most likely it means that the JavaScript file has not been properly embedded. Please try to add the file manually on the page via a <script src="..."></script> and see if it works.

    This post might help with embedding.
    http://forums.ext.net/showthread.php...ll=1#post63023

    This postsmight be helpful as well on creating custom controls:
    http://forums.ext.net/showthread.php...ll=1#post78126
  3. #3
    Very thanks. That's useful.
    I can't find Thanks button. :)
  4. #4
    Very glad to help!

    Yeah, there is no a Thanks button in this forums.

Similar Threads

  1. Mobile development
    By cuki in forum 1.x Help
    Replies: 0
    Last Post: May 05, 2012, 6:06 PM
  2. Real World development using Ext.Net
    By rsaldanhabr in forum 1.x Help
    Replies: 12
    Last Post: Oct 25, 2011, 1:42 PM
  3. Ext.Net Development Guidelines
    By asztern in forum 1.x Help
    Replies: 4
    Last Post: Jul 30, 2010, 6:51 AM
  4. [1.0] FYI for Developers and Development Team
    By ashton.lamont in forum 1.x Legacy Premium Help
    Replies: 5
    Last Post: Feb 15, 2010, 2:47 PM
  5. Replies: 3
    Last Post: Jul 29, 2008, 6:31 PM

Tags for this Thread

Posting Permissions