Welcome Guest Search | Active Topics | Sign In | Register

Calendar Editable and Database Scheme with Save Query? Options
Pointeman
Posted: Friday, March 6, 2009 10:03:22 AM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2009
Posts: 41
1. I found a single .mdb file, but I don't think it contains Calendar tables for Editable Calendar user data.

2. Found the Read-Only Calendar example, but unsure of SQL query for saving data from Calendar/Day popup boxes.
eo_support
Posted: Friday, March 6, 2009 10:08:59 AM
Rank: Administration
Groups: Administration

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

I assume you are looking at this sample:

http://demo.essentialobjects.com/Default.aspx?path=Calendar\_i2\editable_scheduler

You will need to look at the source code to see how it works. The sample only shows you the UI part. It shows you how to load/save the data from memory, but it does not contain the code to further load/save the data from memory to your database. You will need to code that part by yourself.

Thanks
Pointeman
Posted: Friday, March 6, 2009 10:52:53 AM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2009
Posts: 41
Okay, got it now... Save the strings 'dayId' and 'note' to my specifided db table is all that's needed. Very cool....

[popup note]
Q. So a simple drag-n-drop of the eo:Calendar control and selecting the 'Scheduler' template will allow the popup to work as needed?

eo_support
Posted: Friday, March 6, 2009 2:03:44 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,194
No. The editing popup with the textbox is not part of the Calendar control. You should copy from the sample code and then modify it to fit your scenario.
Pointeman
Posted: Friday, March 6, 2009 2:29:09 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2009
Posts: 41
Alright, I'm tracking with you now. I was looking for another control, but the DayRender event method includes custom HTML for the popup.. Thanks again........
Pointeman
Posted: Friday, March 6, 2009 2:40:50 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2009
Posts: 41
CallbackPanel location?

I'm searching through your code download and specifically searching though all the Calendar folders and cannot find any .aspx code files, only the .cs codebehind files. I cut-n-pasted the Editable Calendar .cs and understand I it uses a CallbackPanel, but I'm unsure exactly where it's placed within the .aspx file... Certainly .aspx file would help greatly...
eo_support
Posted: Friday, March 6, 2009 4:30:24 PM
Rank: Administration
Groups: Administration

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

Did you browse the files with Windows Explorer?

Thanks
Pointeman
Posted: Friday, March 6, 2009 7:15:51 PM
Rank: Advanced Member
Groups: Member

Joined: 2/27/2009
Posts: 41
Got it, I'm so thick...... Thanks again...


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.