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

Custom Attribute

3 Answers 42 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Cush
Top achievements
Rank 1
Cush asked on 30 Jan 2011, 10:39 PM
Hi All

I want to use the Custom Attribute within Rad Scheduler but i would like to make it "Read only",
In other words i would like to exclude it from the insert and update statements? Is this possible?
I have tried EnableCustomAttributeEditing="False" but this still throws and exception on Insert or Update.

My reason for doing this is i have created Schedule Types that the user selects on creating an appointment, The Type colour is assigned in the Type table, I have then created a query for the scheduler's data source that links the typeID with the type table to show the correct colour,
This runs perfectly until it comes to Insert and Update as the scheduler insists on the colour parameter?

Any help would be greatly appreciated.

Many Thanks

Cush

3 Answers, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 31 Jan 2011, 05:09 PM
Hi Cush,

Setting EnableCustomAttributeEditing="False" should not cause any problems by itself. It will simply hide the custom attribute Textbox and label in the advanced form. Can you elaborate a bit more on why you need to exclude the custom attribute from the insert and update statements?


Best wishes,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
0
Cush
Top achievements
Rank 1
answered on 31 Jan 2011, 05:32 PM
Hi Peter

I obviously didnt make myself very clear? which is unfortunate.
Quite simply i want to be able to read the Custom Attribute from the database but i do not wish the scheduler to write or update new values to it?

Regards

Cush
0
Peter
Telerik team
answered on 01 Feb 2011, 06:01 PM
Hi Cush,

I am not sure what is causing the problem. Can you open a support ticket and send us a simple working demo which we can debug locally?


Greetings,
Peter
the Telerik team
Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
Tags
Scheduler
Asked by
Cush
Top achievements
Rank 1
Answers by
Peter
Telerik team
Cush
Top achievements
Rank 1
Share this question
or