Coffeehouse Thread

21 posts

Forum Read Only

This forum has been made read only by the site admins. No new threads or comments can be added.

Maybe a dumb question...ASP.NET

Back to Forum: Coffeehouse
  • User profile image
    cbae

    , magicalclick wrote

    How about this in your

    _PageStart.cshtml?

     

    He's probably using WebForms, so there wouldn't be any .cshtml files.

  • User profile image
    magicalclick

    , cbae wrote

    *snip*

    He's probably using WebForms, so there wouldn't be any .cshtml files.

    I thought WebForms has _PageStart equivalent? I am just guessing here.

    Leaving WM on 5/2018 if no apps, no dedicated billboards where I drive, no Store name.
    Last modified
  • User profile image
    spivonious

    @cbae: Correct. We inherited this from another team. It was written back in the .NET 1.1 days and upgraded to .NET 2.0. I would have loved to rewrite it with MVC, but it wasn't in the budget.

    The grid is bound in a callback to get the initial page load out there. Some JS triggers a loading animation over the grid, and the callback function is called. The code is something like:

    //set up filter

    grid.DataBind();

    Until that DataBind() call finishes, the page rendering thread is stuck. Page_Init isn't hit on the requested page.

Conversation locked

This conversation has been locked by the site admins. No new comments can be made.