'answer<%# DataBinder.Eval(Container.DataItem, "QuestionId") %>' is not a valid identifier.

  •  07-14-2009, 8:43 AM

    'answer<%# DataBinder.Eval(Container.DataItem, "QuestionId") %>' is not a valid identifier.

    Hello
    I would like to replace textarea tiny_mce editor with CuteEditor. I am evaluating at the moment. However it doesn't work.
     
    <textarea id="answer<%#DataBinder.Eval(Container.DataItem, "QuestionId")%>" name="answer<%#DataBinder.Eval(Container.DataItem, "QuestionId")%>" cols="50" rows="4"><%#DataBinder.Eval(Container.DataItem, "AnswerText")%></textarea>

    with this ...

    <
    CE:Editor ID='answer<%# DataBinder.Eval(Container.DataItem, "QuestionId") %>' Text='<%#DataBinder.Eval(Container.DataItem, "AnswerText")%>' runat="server" ></CE:Editor>
     
    but it doesn't work. Do you have any suggestion as how to fix this.
     
    Many thanks.
     
     
     
View Complete Thread