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

I want to display DataKeyField value in EditForm

1 Answer 66 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
KyoChan
Top achievements
Rank 1
KyoChan asked on 09 Nov 2010, 05:52 AM
I have a question about RadScheduler.
I want to display DataKeyField value in EditForm
But It doesn't work Edit and Insert  when I just insert DataKey FieldName in CustomAttributeNames
Of course exclude that, it's work very well.
Please help me

<telerik:RadScheduler ID="RadScheduler1" runat="server"  width="1280px" Height="768px"
                DataEndField="Sc_EndDate" DataKeyField="Sc_Idx"
                DataSourceID="ObjectDataSource1" DataStartField="Sc_StartDate"
                AppointmentStyleMode="Default"
                CustomAttributeNames="Sc_Idx,Sc_Type,Se_Name,Me_Name,Sc_Detail,Me_Idx,Se_Idx,Em_Name"
                DataSubjectField="Sc_Detail" Skin="Sunset" 
                SelectedView="MonthView" EnableAdvancedForm="False"
                DataDescriptionField="Sc_Type"     >

.....
.....
<InlineEditTemplate>
.....
.....
            <%#Eval("Sc_Idx")%>
......
......
</InlineEditTemplate>

</telerik:RadScheduler>

1 Answer, 1 is accepted

Sort by
0
Peter
Telerik team
answered on 11 Nov 2010, 01:36 PM
Hi KyoChan,

I am not sure why you experience problems. I tested similar scenario and I was able to display the DataKeyField value in the inline edit form. Do you have a working demo of the problem?


Best wishes,
Peter
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Scheduler
Asked by
KyoChan
Top achievements
Rank 1
Answers by
Peter
Telerik team
Share this question
or