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 6382151
In Process

The Archive Base Latest Questions

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

I’m trying to create a page using ASP.NET MVC 2 which shows two things:

  • 0

I’m trying to create a page using ASP.NET MVC 2 which shows two things:

1. the upper half of the page should show a form
2. the lower half should show the results based on the information from the form

What I tried to do was using Ajax.BeginForm and update the lower half of the page using the UpdateTargetId. Basically, this worked. However, the results also contain a Telerik grid which is pageable. This is where the trouble starts.

The grid primarily shows up just fine, but it starts going wrong when I try to navigate through the grids pages. The plain (non-Ajax) grid, uses links. If I use this variant of the grid, I get into trouble because the links request a new page, which does not contain any information from the form and thus I get a stack of errors.

If I turn on Ajax, it doesn’t work either because that won’t work on a partial view which is retrieved via Ajax (script tags won’t work in that case). In this case, I just get a JSON result object rendered as plain text.

If I put it all on a single page, I can get it to work as well. But for some reason, the grid won’t use Ajax. On the Index-view I use the following code to render the grid:

       Html.Telerik().Grid<FoobarListItem>()
         .Name("Foobar")
         .DataBinding(dataBinding => dataBinding.Ajax().Select("_Paging", "Foobar"))
         .ToolBar(commands => commands
            .Custom()
            .HtmlAttributes(new { id = "export", onclick = onclickValue })
            .Text(Html.Alias("default", "ExportCSV"))
            .Url("#")
         )
         .Columns(columns =>
         {
             //Template column which shows an action link
             columns.Bound(o => o.Datum);
             columns.Bound(o => o.VerbruikLaag);
             columns.Bound(o => o.VerbruikNormaal);
             columns.Bound(o => o.VerbruikPiek);
         })
         .Scrollable(scrolling => scrolling.Height(200).Enabled(false))
         .Pageable()
         .Localizable("nl-NL")
         .Render();
}

But whether I put the Ajax-databinding in or not, it still renders the table in the same way. Does anyone have an idea as to where I’m going wrong?

  • 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-25T02:29:09+00:00Added an answer on May 25, 2026 at 2:29 am

    It turns out the actual problem was that the required javascript files needed to be included manually. With the latest version of Telerik, this happens automatically, even for components loaded via Ajax.

    I solved my problem by turning the form into a regular HTML form. The grid is loaded on the same page depending on whether the data for the table is available in the model or not. Paging works in the same way.

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

Sidebar

Related Questions

Basically, what I'm trying to create is a page of div tags, each has
I am trying to understand how to use SyndicationItem to display feed which is
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I'm making a simple page using Google Maps API 3. My first. One marker
I'm trying to decode HTML entries from here NYTimes.com and I cannot figure out
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I am trying to loop through a bunch of documents I have to put
I'm parsing an RSS feed that has an &#8217; in it. SimpleXML turns this
We're building an app, our first using Rails 3, and we're having to build

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.