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

  • SEARCH
  • Home
  • 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 6551555
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T12:21:08+00:00 2026-05-25T12:21:08+00:00

I am trying to create a page which has Telerik Editor control. Use can

  • 0

I am trying to create a page which has Telerik Editor control. Use can create email templates using this screen. when I have put this Control in side @Html.BeginForm it works. I mean then i am able to get the value in my Controller .
When I create the form tag and put this Editor inside that tag, it does not work. The value comes as null in my controller.

WORK :-

@using (Html.BeginForm("Create", "Template", FormMethod.Post, new { @class = "ajax-form" }))
{
<div class="file-contents">
            <div class="editor-label">
                @Html.LabelFor(model => model.Contents)
            </div>
            <div class="editor-field">
                @(Html.Telerik().EditorFor(model => model.Contents)
                                .HtmlAttributes(new { style = "width: 600px; height: 300px;" })
                                .Encode(false)
                                                )
                @Html.ValidationMessageFor(model => model.Contents)
            </div>
        </div>
}

Does not work.

<form dojoType="dijit.form.Form" id="createTemplateForm" jsId="createTemplateForm" encType="multipart/form-data" action="@Url.Action("Create", "Template")" method="POST">    <div class="file-contents">
            <div class="editor-label">
                @Html.LabelFor(model => model.Contents)
            </div>
            <div class="editor-field">
                @(Html.Telerik().EditorFor(model => model.Contents)
                                .HtmlAttributes(new { style = "width: 600px; height: 300px;" })
                                .Encode(false)
                                                )
                @Html.ValidationMessageFor(model => model.Contents)
            </div>
        </div>
</form>

Any idea why is this happening? Please let me know.

Thanks.

  • 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. Editorial Team
    Editorial Team
    2026-05-25T12:21:09+00:00Added an answer on May 25, 2026 at 12:21 pm

    In order for the two to match up, the “name” attribute has to be set correctly.

    Make sure on the version with the form tag, the “name” attribute is set correctly on the Telerik input.

    If it is not, you can add it by passing an object of html settings (should be one of the overloads)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to create a page by using view 2. This page list all
I am trying to create a static HTML page which has a <form> which
I am trying to create a search page, this allows the admin to search
Im trying to create a iPhone Objective C login page using PHP/MySQL to authenticate.
I am trying to create a Ajax Toolkit TabContainer which has Previous and Next
I'm trying to read and handle a web-page in Python which has lines like
As of right now I am trying to create an ASP.NET page which will
I'm trying to use CSS to create a 'greyed out' effect on my page
I'm trying to create a CollapsiblePanel control, which is essentially just a panel which
I'm trying to single source a form page which can be in edit mode

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.