This is a migrated thread and some comments may be shown as answers.

[Solved] Scheduler Code Library???

7 Answers 218 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Kevin Schneider
Top achievements
Rank 1
Kevin Schneider asked on 30 Apr 2008, 02:53 PM
This link doesn't work:
http://www.telerik.com/community/aspnet/code-library/Scheduler/


And it's not in the list here:
http://www.telerik.com/community/code-library/default.aspx

Where can I download the demos - I need to look at the customized advanced forms demo.

Thank you.

7 Answers, 1 is accepted

Sort by
0
Kevin Schneider
Top achievements
Rank 1
answered on 30 Apr 2008, 03:29 PM
Well I'm downloading the entire installer/zip now since I know it contains the demos...

I still think they should be made available online though!
0
Kevin Schneider
Top achievements
Rank 1
answered on 30 Apr 2008, 04:05 PM
This is like an episode out of the twilight zone...

This page here:

http://www.telerik.com/help/radcontrols/prometheus/?schedule_AdvancedFormTemplate.html

Tells me that I can find the example for advanced template controls here:

Live Demos\Scheduler\Examples\AdvancedFormTemplate\DefaultTemplates

I just downloaded the entire zip file (2007_3_1425) and there is no AdvancedFormTemplate folder included.

A little help please?

0
Accepted
Peter
Telerik team
answered on 01 May 2008, 12:09 PM
Hi Kevin,

The customizing the advanced form example is available with Q1 2008 release. You have donwloaded Q3 2007 release and that is why you cannot find the example. Please, let us know if you experience any problems finding and downloading Q1 2008.


Greetings,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kevin Schneider
Top achievements
Rank 1
answered on 01 May 2008, 01:24 PM
Thanks - I actually figured that out yesterday after doing some digging around.

I'm having an issue with the demo though...

It has this code:

startTime.Disable();

When the user clicks the "All day event" checkbox.  It's supposed to disable the starttime / endtime datepicker objects.

However I'm getting an error stating that the Disable function doesn't exist for that object.

I looped through all the properties/methods that javascript object has and I didn't see anything remotely close to Disable / Enable.

0
Peter
Telerik team
answered on 01 May 2008, 01:43 PM
Hello Kevin,

That is a known issue with this example. Please, use all lower-case letters for the disable() and enable() methods. Don't hesitate to contact us if you need further assistance.

Sincerely yours,
Peter
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Kevin Schneider
Top achievements
Rank 1
answered on 01 May 2008, 02:37 PM
Thanks for your help so far - I think I have this all sorted.

Just one last question...

I'm using the Outlook theme and in this demo for the update/cancel buttons the style that is being used is:

<
asp:LinkButton runat="server" ID="lbtnUpdateButton" CssClass="rsAdvEditSave" Text="Update" />

It almost looks right but for whatever reason the right side of the button is cut off.  I've tried some of the other available themes (ie vista) and the button looks like I would expect it to. 

0
Dimitar Milushev
Telerik team
answered on 05 May 2008, 01:44 PM
Hi Kevin Schneider,

It seems that this skin relies on a minor difference between the default Scheduler rendering and the provided templates. You can easily fix this by editing AdvancedEditForm.ascx and AdvancedInsertForm.ascx and wrapping the content of the LinkButtons in a span tag.

The LinkButton declarations in AdvancedEditForm.ascx should look like this:
        <asp:LinkButton runat="server" ID="UpdateButton" CssClass="rsAdvEditSave" 
                        CommandName="Update" OnClick="UpdateButton_Click"
            <span><%# Eval("Owner.Localization.Update") %></span
        </asp:LinkButton> 
        <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" 
                        CommandName="Cancel" CausesValidation="false"
            <span><%# Eval("Owner.Localization.Cancel") %></span
        </asp:LinkButton> 

And the markup in AdvancedInsertForm.ascx should look like this:

        <asp:LinkButton runat="server" ID="InsertButton" CssClass="rsAdvEditSave" 
                        CommandName="Insert"
            <span><%# Eval("Owner.Localization.Insert") %></span
        </asp:LinkButton> 
        <asp:LinkButton runat="server" ID="CancelButton" CssClass="rsAdvEditCancel" 
                        CommandName="Cancel" CausesValidation="false"
            <span><%# Eval("Owner.Localization.Cancel") %></span
        </asp:LinkButton> 


Regards,
Dimitar Milushev
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
Tags
Scheduler
Asked by
Kevin Schneider
Top achievements
Rank 1
Answers by
Kevin Schneider
Top achievements
Rank 1
Peter
Telerik team
Dimitar Milushev
Telerik team
Share this question
or