Welcome Guest Search | Active Topics | Sign In | Register

event calendar Options
Joe ACM
Posted: Wednesday, September 8, 2010 12:27:27 AM
Rank: Newbie
Groups: Member

Joined: 9/8/2010
Posts: 1
I am evaluating your product for purchase.

I want to add an event calendar to my web page.
I have gone through the examples and have added the event calendar in the asp code and see the calendar displayed when I launch my page.
I want to store / retrieve this data in my SQL database.

I need some direction on how to populate the data grid from SQL server and how to update the tables with the new day events.
Is there a set of predefined table definitions and examples of the retrieval / update SQL code available?

Code: C#

Code: SQL


Thanks for any assistance
eo_support
Posted: Wednesday, September 8, 2010 8:41:33 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
Hi Joe,

I am not sure whether your question is only about the Calendar control or about both the Calendar and the Grid control.

The Calendar control is purely a UI control and it does care what your backend data source is. If your event is stored in SQL Server, then you will need to write code to read/write SQL Server. Once you have a list of event in memory, you would fill the Calendar according to what you have in the memory. The same goes for update.

The Grid control is also a UI control but it support data binding. So all you need to do is to set up the columns and your data source, then let the Grid to automatically populate from data source. Note this is one way only. You will need to write the code to write changes (the Grid will tell you what row/cell have been changed) back to your data source. In fact the Grid is almost always used with a data source. Most of the samples in our sample project use the Grid this way, so you can take a look of any of them to get an idea how it works.

You will also want to take a look of the documentation in order to get more details. This will be a good starting point for the Grid:

http://doc.essentialobjects.com/library/1/grid/start.aspx

Hope this helps. Please let us know if you have any more questions.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.