Calender control for another approch

  1. #1

    Calender control for another approch

    here is my problem,
    the application that im currently working, needs to create calender control with different event information, im developing leave application for a company as a final year project. so I'm trying to develop leave request through calender control because we can select date range, add new leave and also can load old leaves to calender control. can we use another event class instead Ext.Net.Event for our own event data (in my approach leaveId, ReasonForLeave, Note, IsApproved..etc )
    can i do this with calender control if so please can you guide me to achieve this??? really appreciate. thank you.
  2. #2
    Hi,

    Well, I guess that if you
    1. Set DataSource with own data (which contains additinal data)
    EventStore1.DataSource = myData;
    2. Add additional fields to the reader
    EventStore1.AddStandardFields(); // standard fields are required
    EventStore.Reader[0].Fields.Add("fieldName");
    3. Customize EventEditWindow
    http://forums.ext.net/showthread.php...ll=1#post47252
    http://forums.ext.net/showthread.php...ventEditWindow
  3. #3
    hi Vladimir,
    thanks for your quick reply but how about if i used this code snippet??????

     
    this.EventStore1.Events.AddRange(events);
    this.Window1.Render();
    and the "event" is my own entity list include with above mentioned fields.
  4. #4
    Hi,

    1. You have to use DataSource property of store instead Events if you bind own entites
    2. Call DataBind method after DataSource property is set
  5. #5
    thanks Vladimir, it's help me i'll try to use datasource thanks again for your help :)
  6. #6
    Quote Originally Posted by Vladimir View Post
    Hi,

    1. You have to use DataSource property of store instead Events if you bind own entites
    2. Call DataBind method after DataSource property is set
    hi Vladimir,
    i have tried a lot with this control but i don't have any idea how to customized this control and how to use it for another approach. like i mentioned above. can you help me with this???
  7. #7
    Dear All, I'm rookie web programmer..

    I would know if it's possible customize EventEditWindow adding a new Title (2 Title instead of one).
    I've tried to search inside forum also (I've found only JS customization but with only Title).

    Thx

    Regards

    J

Similar Threads

  1. Replies: 0
    Last Post: May 05, 2012, 7:25 AM
  2. Calender Control Problem with Data
    By gayancc in forum 1.x Help
    Replies: 3
    Last Post: Mar 05, 2012, 4:05 AM
  3. Error in Calender Control
    By archana in forum 1.x Help
    Replies: 6
    Last Post: Jan 05, 2012, 11:04 AM
  4. How to set the time range in calender panel control.
    By PrasadJoshi in forum 1.x Help
    Replies: 1
    Last Post: Dec 21, 2010, 10:09 AM
  5. calender Control is not working.
    By PrasadJoshi in forum 1.x Help
    Replies: 6
    Last Post: Dec 15, 2010, 2:02 PM

Tags for this Thread

Posting Permissions