razor

  1. R

    Question Razor page pops up on a window

    Hello guys, I have an ASP.Net MVC application. There is this Stock.cshtml page that opens on a popup! I couldn't figure out how this happens, any help would be appreciated. Popup screenshot When I hit the purchase button on the StockSales.cshtml, the StockAsyncTask action triggered in the...
  2. etkmlm

    Question Validation Messages Not Working

    Hi, I have an issue with validation messages. I think the problem is caused by 2 post method. [HttpGet] [Authorize] public ActionResult Others(string bid) { return View(ret); } [HttpPost] public ActionResult...
  3. M

    MVC to MRC (Model Razor Controller)?

    I've been trying to learn .NET Core after first learning the Framework structure. I am still learning regular views, which utilize Razor code, but I'm coming across a lot of Razor page info. Is it now, or will it ever be a structure of Models, Razor Pages, and Controllers? -A curious learner.
  4. I

    Add form in View at runtime

    i want a form containing a text bar to appear when comment is clicked <li><a href="#" id="comment">Comment</a></li> I couldnt do it using razor so I tried writing a Jquery script <script type="text/javascript"> $('#comment').click(function () { $('div#txtcmd').html...
Top Bottom