Questions tagged [dotvvm]

DotVVM is an ASP.NET Core framework that can build line-of-business applications and SPAs without writing tons of Javascript code. You only have to write a viewmodel in C# and a view in HTML and DotVVM will generate the rest for you.

http://www.dotvvm.com

DotVVM is an OWIN-based ASP.NET framework that can build line-of-business applications and SPAs without writing tons of Javascript code. You only have to write a viewmodel in C# and a view in HTML and DotVVM will generate the rest for you.

89 questions
1
vote
1 answer

How Do I Handle This Postback Message?

I am getting the following Postback alert when I use the DotVVM tags in my .dothtml pages. I cannot find any documentation on how to prevent this postback, control a timeout for it or control it's appearance. I am using the…
1
vote
2 answers

Display a value from a different object in a GridView column

I have a element bound to a Projects object. The Project object has a ClientId property that is linked to a Client object. The Client object has two properties; the Id property which is linked to the ClientId property and a Name property. I can…
1
vote
0 answers

DotVVM REST API automatic refresh

I have a page with several GridViews using REST API. When I use POST method, all GridViews are automatically refreshed. I want to update just one of them. According to the docs it should work this way - I use the same URL for GET and POST. Is there…
JonV
  • 13
  • 4
1
vote
1 answer

An object reference is required for the non-static field, method, or property 'AutorService.GetAllAutorAsync()'

I'm new here and pretty much new in C# too. I have this code: [Bind(Direction.ServerToClient)] public List Autors { get; set; } public override async Task PreRender() { Autors = await AutorService.GetAllAutorsAsync(); …
1
vote
0 answers

DotVVM repeater Validation does not show Error Message

I am creating a inputs via repeater and after submit, validation error shows in Console, but error message does not shows in Repeater:
Daniel Rusnok
  • 449
  • 1
  • 7
  • 14
1
vote
0 answers

How to bind object to property on click using CoC DotVVM

I created my own Code only Component for Accordion. It looks like on picture below. Lines with blue arrows are article sections and those with red line are articles. What I want to archieve is on page load I will get only root article sections,…
Martin
  • 455
  • 1
  • 11
  • 34
1
vote
2 answers

DotVVM DataPager not working

dothtml table with DataPager: <%--
Daniel Rusnok
  • 449
  • 1
  • 7
  • 14
1
vote
1 answer

afterPostback event with Context.ReturnFile

I've found out that the afterPostback event is not being called when Context.ReturnFile() is used in the ViewModel. I use the following code to disable all the buttons on the page when postback is sent and enable them again after the postback is…
Dave
  • 13
  • 3
1
vote
1 answer

Dotvvm Repeater nested in Repeater

I like to use 2 dot:repeater(s) nested in one dothtml example :
{{value: Title}}
basdroid
  • 43
  • 3
1
vote
1 answer

Add DotVVM to Asp.Net Core and Use existing Authentication and Authorization

Am working on an asp.net core application and it has some features already implemented . Am also using asp.net core Identity for authentication and authorization and have added functionaly for Admins to Add/Edit Users and assign claims. Now I want…
zulqarnain
  • 1,695
  • 1
  • 16
  • 33
1
vote
1 answer

dotVVM passing values from databinded DOM-elements to javascript vars for visualisation

I am creating a dotVVM webApp for data-visualisation but get a little problem: Because of the data-binding between my view(html) and my viewModel(c#) i only get knockout comment strings back by those DOM-elements. (dotVVM is using Knockout.js for…
Abe A.
  • 15
  • 5
1
vote
0 answers

Problems with Bootstrap DotVVM GridView

I have the following code in a bootstrap table:
leojfn
  • 35
  • 4
1
vote
1 answer

Event of PostBack in DotVVM

In my ViewModel I have the following code: using System; using DotVVM.Framework.ViewModel; using DotVVM.Framework.Controls.Bootstrap; using APP_MIS_FACTURAS.DTO.Contoles; using System.Collections.Generic; using APP.Models.View; namespace…
leojfn
  • 35
  • 4
1
vote
1 answer

Problems with dotvvm Validation

Reviewing the documentation for using the Validator If you want to validate some property, just use standard attributes from the System.ComponentModel.DataAnnotations namespace. DotVVM can translate some validation rules into javascript, so the…
leojfn
  • 35
  • 4
1
vote
1 answer

How to pass paramters from one page to another in Dotvvm

How do I pass more than one parameter on a URL from one page to another page. For example: from page1, I use a link to pass parameters to page 2. Also in Page2 how do I get the parameters off the query string? From Page 1 Link…
renanj
  • 21
  • 2