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

can't find CustomAttributeNames in InlineTemplate

3 Answers 71 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
dlee
Top achievements
Rank 1
dlee asked on 06 May 2008, 01:25 AM
I can't get custom variable into inlinetemplate.. I get the variable doesn't exist in the list
The following is my code

<

telerik:RadScheduler runat="server" ID="RadScheduler1"

Width="100%" Skin="Office2007" EnableEmbeddedSkins="True"

DayStartTime="04:00:00" DayEndTime="18:00:00"

DataSubjectField="Subject"

DataStartField="Start" DataEndField="End"

DataSourceID="dbAppointment"

DataKeyField="AppointmentID"

Height="620px" CustomAttributeNames="InvoiceId,PatientId,PatientFullName,TreatmentTypeId,Description,AppointmentId" >

<

InlineInsertTemplate>

<asp:TextBox ID="TitleTextBox" runat="server" Text='<%# Bind("Subject") %>' Width="90%" TextMode="MultiLine" Height="40px">

</asp:TextBox> <br />

Patient:

<asp:DropDownList ID="ddPatient" runat="server"

DataSourceID="SelPatientByCurrentUserId" DataTextField="PatientFullName"

DataValueField="PatientId" SelectedValue='<%# Bind("PatientId") %>'>

</asp:DropDownList>

Treatment:

<asp:DropDownList ID="ddTreatmentType" runat="server"

DataSourceID="SelTreatmentTypeByUserUIForDoctor" DataTextField="Description"

DataValueField="TreatmentTypeId" SelectedValue='<%# Bind("TreatmentTypeId") %>'>

</asp:DropDownList>

<hr />

<asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">

<asp:Image runat="server" ID="insertImage" ImageUrl="~/Images/OfficeUser/Okay.gif" AlternateText="Confirm" />

</asp:LinkButton>

<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel">

<asp:Image runat="server" ID="Image2" ImageUrl="~/Images/OfficeUser/Cancel.gif" AlternateText="Cancel" />

</asp:LinkButton>

</InlineInsertTemplate>

3 Answers, 1 is accepted

Sort by
0
Simon
Telerik team
answered on 07 May 2008, 12:38 PM
Hi dlee,

Please check out this forum thread.

All the best,
Simon
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
Benson
Top achievements
Rank 1
answered on 09 May 2014, 02:17 PM
Broken link..
0
Boyan Dimitrov
Telerik team
answered on 14 May 2014, 11:09 AM
Hello,

I am afraid that indeed the link is broken and not accessible. Please try this link where there is a similar discussion. If this information is not helpful please elaborate a bit more on your scenario and the problem you are facing.


Regards,
Boyan Dimitrov
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Scheduler
Asked by
dlee
Top achievements
Rank 1
Answers by
Simon
Telerik team
Benson
Top achievements
Rank 1
Boyan Dimitrov
Telerik team
Share this question
or