[CLOSED] How to pass DataTable to Ext.Net Event Store and Calendar Store

  1. #1

    [CLOSED] How to pass DataTable to Ext.Net Event Store and Calendar Store

    We are facing some troubles in passing a datatable to the ext.net calendar and event store. We already are aware of how to pass the calendar store in aspx pages and its code behind (we are aware of the principle) but the area where we are stuck right now is EXT.NET's syntax in Razor engine. It will be of greater benefit if you can send us an example of Calendar control implemented in MVC3 Razor Engine(cshtml Views and controllers) using Data Table as its Datasource.

    We also want to know that is it necessary to create a web service for passing and retrieving the information from Calendar control or we can utilize the Controllers web methods for this purpose.

    Regards
    Last edited by Daniil; Jun 29, 2012 at 12:52 PM. Reason: [CLOSED]
  2. #2
    Hi,

    Unfortunately, we have no such example on Razor.

    You should:

    1. Set up
    IgnoreExtraFields="false"
    for the EventStore.

    2. Ensure the DataTable columns match the default EventStore ModelFields or set up respective mappings.

    There are two ways to bind the DataTable.

    1. Via Model, something like this:
    http://forums.ext.net/showthread.php...ll=1#post80909

    2. Via the EventStore AjaxProxy referring a respective controller action. It answers your question:
    We also want to know that is it necessary to create a web service for passing and retrieving the information from Calendar control or we can utilize the Controllers web methods for this purpose.
    Hope this helps.

Similar Threads

  1. Replies: 3
    Last Post: Apr 11, 2012, 1:56 AM
  2. Datatable and Store columns mapping
    By QualityCode in forum 1.x Help
    Replies: 0
    Last Post: Dec 16, 2010, 8:45 PM
  3. Creating Store from Datatable
    By QualityCode in forum 1.x Help
    Replies: 2
    Last Post: Dec 13, 2010, 5:20 AM
  4. [CLOSED] Binding Store to Datatable VERY slow...
    By iansriley in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Oct 28, 2010, 12:57 PM
  5. using DataTable as Store and saving data
    By angel colmenares in forum 1.x Help
    Replies: 0
    Last Post: Apr 16, 2010, 12:13 AM

Tags for this Thread

Posting Permissions