Hi,
i am binging scheduler with ef datasource.but it always insert pk 00000-0000.And i have another problem.i add resource which i want to save email it automatically adds combobox?how i can change it with textbox?any solution?
<telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndField="ENDDATE"
DataKeyField="RESERVATIONID" DataSourceID="EntityDataSource1"
DataStartField="STARTDATE" DataSubjectField="SUBJECT">
<ResourceTypes>
<telerik:ResourceType DataSourceID="EntityDataSource1" KeyField="NAMESURNAME"
Name="AD SOYAD" TextField="NAMESURNAME" ForeignKeyField="NAMESURNAME" />
<telerik:ResourceType DataSourceID="EntityDataSource1" KeyField="PHONE"
Name="TELEFON" TextField="PHONE" ForeignKeyField="PHONE" />
</ResourceTypes>
</telerik:RadScheduler>
<asp:EntityDataSource ID="EntityDataSource1" runat="server"
ConnectionString="name=CCEntities" DefaultContainerName="CCEntities"
EnableDelete="True" EnableFlattening="False" EnableInsert="True"
EnableUpdate="True" EntitySetName="RESERVATIONS">
</asp:EntityDataSource>
i am binging scheduler with ef datasource.but it always insert pk 00000-0000.And i have another problem.i add resource which i want to save email it automatically adds combobox?how i can change it with textbox?any solution?
<telerik:RadScheduler ID="RadScheduler1" runat="server" DataEndField="ENDDATE"
DataKeyField="RESERVATIONID" DataSourceID="EntityDataSource1"
DataStartField="STARTDATE" DataSubjectField="SUBJECT">
<ResourceTypes>
<telerik:ResourceType DataSourceID="EntityDataSource1" KeyField="NAMESURNAME"
Name="AD SOYAD" TextField="NAMESURNAME" ForeignKeyField="NAMESURNAME" />
<telerik:ResourceType DataSourceID="EntityDataSource1" KeyField="PHONE"
Name="TELEFON" TextField="PHONE" ForeignKeyField="PHONE" />
</ResourceTypes>
</telerik:RadScheduler>
<asp:EntityDataSource ID="EntityDataSource1" runat="server"
ConnectionString="name=CCEntities" DefaultContainerName="CCEntities"
EnableDelete="True" EnableFlattening="False" EnableInsert="True"
EnableUpdate="True" EntitySetName="RESERVATIONS">
</asp:EntityDataSource>