Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 124049
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:23:02+00:00 2026-05-11T04:23:02+00:00

I have a data-source connected to a stored proc that will return the one

  • 0

I have a data-source connected to a stored proc that will return the one record that applies to a specific page, and for another similar situation (populating heading information), I wrapped a repeater around the headings html, and used <%$ Eval() %> binding expressions to get the data into the headings. However, I now have another issue where that does not work.

I have part of my page which uses data from the same data-source as the headings use, and it is a notes section. From the data-source there is a notes field which is a varchar(max) containing HTML.

I used TinyMCE to create a rich editor for the notes, but I want the editor to be populated with the Notes field contents returned by the Data Source. So if TextAreas where able to be in repeaters, I would be set, as I think I can just stuff the html in the text area and TinyMCE will fix it up (I tested with a bold tag around some test text, and it was properly processed).

Is there another way I can use Databinding Eval expressions to populate a text area or something else that TinyMCE can understand, so that the rich text editor will be populated when the page is loaded?

My attempt at this looked like:

<asp:Repeater ID='NotesRepeater' runat='server' DataSourceID='SheetParams'> <textarea style='clear:both; font-size:large' name='notes'> <%# Eval('Notes') %> </textarea> </asp:Repeater> 

And I have TinyMCE settings of

tinyMCE.init({     theme: 'advanced',     mode: 'textareas',     width: '95%',     theme_advanced_buttons1: 'bold, italic, underline, strikethrough,|, justifyleft, justifycenter, justifyright, justifyfull,|,formatselect,fontsizeselect',     theme_advanced_buttons2: 'cut, copy, paste,|,bullist, numlist,|,outdent, indent,|,undo,redo',     theme_advanced_buttons3: '' }); 

But of course I get the error Textarea can not be nested in repeater.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T04:23:02+00:00Added an answer on May 11, 2026 at 4:23 am

    You need to wrap the textarea in an ItemTemplate tag for it to work:

    <asp:Repeater ID='NotesRepeater' runat='server' DataSourceID='SheetParams'>    <ItemTemplate>       <textarea style='clear:both; font-size:large' name='notes'>                    <%# Eval('Notes') %>       </textarea>    <ItemTemplate> </asp:Repeater> 
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 176k
  • Answers 176k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Rails does not automatically create join records for you expect… May 12, 2026 at 3:17 pm
  • Editorial Team
    Editorial Team added an answer use java -cp .\hsqldb-1.8.0.10.jar org.hsqldb.Server -database.0 mem:aname In memory mode… May 12, 2026 at 3:17 pm
  • Editorial Team
    Editorial Team added an answer You could try to express your problem in form of… May 12, 2026 at 3:17 pm

Related Questions

I'm using SQL Server 2005 with Reporting Services. I have many reports installed, some
I have values stored as strings in a DataTable where each value could really
I would like to use java to get the source of a website (secure)
I've been evaluating various smart pointer implementations (wow, there are a LOT out there)

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.