can't find CustomAttributeNames in InlineTemplate

4 posts, 0 answers
  1. dlee
    dlee avatar
    6 posts
    Member since:
    May 2008

    Posted 05 May 2008 Link to this post

    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>

  2. Simon
    Admin
    Simon avatar
    2281 posts

    Posted 07 May 2008 Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Benson
    Benson avatar
    2 posts
    Member since:
    May 2014

    Posted 09 May 2014 in reply to Simon Link to this post

    Broken link..
  5. Boyan Dimitrov
    Admin
    Boyan Dimitrov avatar
    1746 posts

    Posted 14 May 2014 Link to this post

    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.

     
Back to Top