Joshua Gates
Top achievements
Rank 1
Joshua Gates
asked on 24 Sep 2007, 02:55 AM
I am not sure if i am relaying this correctly. I have gotten the drop down to work correctly with the resource. hoever, we have another appointment setting for location how would i specify that as a resource...this is a free form and do not want it shown on the inline edit or create but when the user hits the more option.
15 Answers, 1 is accepted
0
Hi Joshua Gates,
This is certainly possible, as the Appointment objects also contain an Attributes collection. It serves as a very lightweight mechanism to assign different string values to the appointment by key.
To make use of the attributes, you need to include the desired columns in the queries of your data-source, and then list them, separated with commas, in the CustomAttributeNames property:
Unfortunately, at the moment there is no built-in support for attributes in the default templates. We are considering such support for the advanced template. Until it is implemented you will need to use your own templates and the declarative data-binding expressions to manipulate the attributes. For example:
The "Lecture Series" example demonstrates the basic usage of attributes.
Best wishes,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This is certainly possible, as the Appointment objects also contain an Attributes collection. It serves as a very lightweight mechanism to assign different string values to the appointment by key.
To make use of the attributes, you need to include the desired columns in the queries of your data-source, and then list them, separated with commas, in the CustomAttributeNames property:
| <telerik:RadScheduler runat="server" ID="RadScheduler1" ... CustomAttributeNames="PresenterImageURL"> |
Unfortunately, at the moment there is no built-in support for attributes in the default templates. We are considering such support for the advanced template. Until it is implemented you will need to use your own templates and the declarative data-binding expressions to manipulate the attributes. For example:
| <telerik:RadScheduler runat="server" ID="RadScheduler1" ... CustomAttributeNames="PresenterImageURL"> |
| <AppointmentTemplate> |
| <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("PresenterImageURL") %>' |
| AlternateText='<%# Eval("Subject")%>' /> |
| </AppointmentTemplate> |
| </telerik:RadScheduler> |
The "Lecture Series" example demonstrates the basic usage of attributes.
Best wishes,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Joshua Gates
Top achievements
Rank 1
answered on 03 Oct 2007, 03:44 PM
I apologize.
I am still not sure how i can get this so that i can fill out free form text values when creating an appointment from the more option...I have been able to show them on the appointment from the appointmenttemplate. however i am unsure how to make it so that someone can type in text into a textbox when creating an appointment when clicking the more option...and saving that to a field in the table that is holding the appointments.
Joshua
I am still not sure how i can get this so that i can fill out free form text values when creating an appointment from the more option...I have been able to show them on the appointment from the appointmenttemplate. however i am unsure how to make it so that someone can type in text into a textbox when creating an appointment when clicking the more option...and saving that to a field in the table that is holding the appointments.
Joshua
0
Hi Joshua,
We will include such an example in the Service Pack release which is either next week or the week after.
Best wishes,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We will include such an example in the Service Pack release which is either next week or the week after.
Best wishes,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Joshua Gates
Top achievements
Rank 1
answered on 05 Oct 2007, 04:07 PM
thanks
you guys are great!
you guys are great!
0
chris wertman
Top achievements
Rank 1
answered on 08 Oct 2007, 03:28 PM
When will this be available ?
I too am in desperate need of this functionality.
Chris Wertman
I too am in desperate need of this functionality.
Chris Wertman
0
chris wertman
Top achievements
Rank 1
answered on 08 Oct 2007, 03:29 PM
When will this "service pack" release be available and where can I download it ?
0
Hi Chris,
The service pack is scheduled for Oct 10, 2007. You can download it from your Client.Net account -> My Licenses or My Free Trials, under the RadControls Prometheus tab.
We will be glad to answer any other questions you may have.
Kind regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
The service pack is scheduled for Oct 10, 2007. You can download it from your Client.Net account -> My Licenses or My Free Trials, under the RadControls Prometheus tab.
We will be glad to answer any other questions you may have.
Kind regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Joshua Gates
Top achievements
Rank 1
answered on 15 Oct 2007, 02:40 PM
downloaded the service pack but do not see the example..where can i find this in the upgrade.
Joshua
Joshua
0
Joshua Gates
Top achievements
Rank 1
answered on 15 Oct 2007, 02:40 PM
downloaded the service pack but do not see the example..where can i find this in the upgrade.
Joshua
Joshua
0
Joshua Gates
Top achievements
Rank 1
answered on 15 Oct 2007, 02:56 PM
never mind found it...
0
Hi Joshua,
To properly upgrade RadControls "Prometheus" to a service pack, you need to remove your previous installation of the suite. Our QA team has recently discovered this issue and we will try to fix it. We are sorry for the caused inconvenience. As a quick reference, you can always use the online examples.
Cheers,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
To properly upgrade RadControls "Prometheus" to a service pack, you need to remove your previous installation of the suite. Our QA team has recently discovered this issue and we will try to fix it. We are sorry for the caused inconvenience. As a quick reference, you can always use the online examples.
Cheers,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Joshua Gates
Top achievements
Rank 1
answered on 15 Oct 2007, 04:36 PM
i know this may be asking for more than is in there right now..
I have seen the customAttribute and it is working great. however, i am using a few customAttributes for easy value retrieval in the databound event...but i only one a couple of the attributes editable.
Is this possible.
Joshua
I have seen the customAttribute and it is working great. however, i am using a few customAttributes for easy value retrieval in the databound event...but i only one a couple of the attributes editable.
Is this possible.
Joshua
0
Hello Joshua,
Could you please elaborate what exactly you want to achieve? I am not sure I understand what the exact scenario is..
Kind regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you please elaborate what exactly you want to achieve? I am not sure I understand what the exact scenario is..
Kind regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Joshua Gates
Top achievements
Rank 1
answered on 17 Oct 2007, 04:10 PM
say for example... i have the following properties
typeID - integer value
Location - free form text
in the databound i am changing the css based on the typeid and rather than loading the appoinment object each time i placed the typeID as a customAttribute so that i may access it without additional db calls.
the location is a free form text entry..
I want the user to be able to change the location...but not the typeID..
if add the typeid as a customattribute it shows up on the form for editiing.
Joshua
typeID - integer value
Location - free form text
in the databound i am changing the css based on the typeid and rather than loading the appoinment object each time i placed the typeID as a customAttribute so that i may access it without additional db calls.
the location is a free form text entry..
I want the user to be able to change the location...but not the typeID..
if add the typeid as a customattribute it shows up on the form for editiing.
Joshua
0
Hello Joshua Gates,
We can hide the attribute text fields (and labels) by handling the FormCreated event. For example if you want to hide an attribute named "Annotations" the code will look like this:
I hope this helps.
Best wishes,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
We can hide the attribute text fields (and labels) by handling the FormCreated event. For example if you want to hide an attribute named "Annotations" the code will look like this:
| protected void RadScheduler1_FormCreated(object sender, Telerik.Web.UI.SchedulerFormCreatedEventArgs e) |
| { |
| if (e.Container.Mode == SchedulerFormMode.AdvancedEdit || e.Container.Mode == SchedulerFormMode.AdvancedInsert) |
| { |
| TextBox attributeTextBox = (TextBox) e.Container.FindControl("Attr" + /* Attribute name */ "Annotations"); |
| WebControl attributeLabel = (WebControl) e.Container.FindControl("LblAttr" + "Annotations"); |
| attributeTextBox.Visible = false; |
| attributeLabel.Visible = false; |
| } |
| } |
I hope this helps.
Best wishes,
Tsvetomir Tsonev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center