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
0
votes
1 answer

Dotvvm multiselect business pack filtering backspace doesn't work

I Used component from Business pack called MultiSelect viz code:
Daniel Rusnok
  • 449
  • 1
  • 7
  • 14
0
votes
1 answer

Struggling with Business Pack Alert Component

I am trying to make some dynamic logic for our application, but component don't want to cooperate. This is masterpage ViewModel: public class AdminMasterPageViewModel : DotvvmViewModelBase { public virtual AlertComponent…
Daniel Rusnok
  • 449
  • 1
  • 7
  • 14
0
votes
1 answer

Combine ASP.NET WebForms with DotVVM in single project

currently I have the web application using Web.Forms. It consist of more than thousand pages and rewriting everything from scratch will be extremely time consuming. I'm planning to gradually rewrite each page while the others remains as…
Václav Holuša
  • 311
  • 3
  • 14
0
votes
1 answer

How can I call the viewmodel's method with data of the control in DOTVVM?

I have .dotcontrol and I need to call function in viewmodel with data from control. The method cannot be in the control, because it needs facade which is available only in viewmodel. So I declared interface for viemodel and implemented this…
janPavlik
  • 3
  • 1
0
votes
1 answer

Global object in DotVVM (for masterpage)

I'm looking for some global object in DotVVM framework as ViewBag in Asp.Net MVC. I wanna have a masterpage with dynamic title and I don't know how could I do this. For example: In asp.net MVC "ViewBag.Title" -> where Title is property from…
vajkuba1234
  • 25
  • 1
  • 4
0
votes
1 answer

Dotvvm: Route paramets get null exception for Context

Everytime I get null exception for Context in my viewmodel: var TestId = Convert.ToInt32(Context.Parameters["Id"]); In dotvvmStartup.cs I have this code: config.RouteTable.Add("Default", "", "Views/index.dothtml"); …
M. Falex
  • 79
  • 2
  • 8
0
votes
1 answer

DotVVM Authentication get null exception

When is called method SignIn I get error NullReferenceExepction. Here is my ViewModel: public Masterpage1ViewModel() { UserIdentity user = new UserIdentity("Admin"); var claimsIdentity = new ClaimsIdentity(user); …
M. Falex
  • 79
  • 2
  • 8
0
votes
1 answer

Dotvvm extension stopped working after update

after updating the dotvvm extension to version 1.0.3.3 the extension does not work anymore. I am getting this error every time I start Visual Studio: LegacySitePackage failed for package [DotvvmPackage]Source: 'mscorlib' Description: Could…
0
votes
2 answers

Redirect all the not found routes in dotvvm

How can I redirect all not found page requests to the same view? This illustrates somehow what I mean: config.RouteTable.Add("Home", "*", "Views/Home.dothtml", new { }); The idea behind is that when someone accesses a not existing…
Cristian T
  • 2,245
  • 3
  • 25
  • 45
0
votes
1 answer

Dotvvm how to span a header across 2 or more columns in a GridView

In a Dotvvm GridView is it possible to have one header for 2 or more columns? Can you give an example?
renanj
  • 21
  • 2
0
votes
1 answer

Table - DotVVM.Framework.Controls.Bootstrap

I'm using control , and I ask if I can get their values and manipulate like a GridView ?? and use the values in the ViewModel. If possible you could tell me how would the procedure. regards
leojfn
  • 35
  • 4
0
votes
2 answers

Null user exception in Owin Cookie Authentication in Dotvvm

When using Cookie Authentication in Dotvvm, I get a Null user exception thrown. I used the following code in the dotvvm configuration: { AuthenticationType = DefaultAuthenticationTypes.ApplicationCookie, LoginPath = new…
renanj
  • 21
  • 2
0
votes
1 answer

How to disable throwing DotvvmInterruptRequestExecutionException?

I am experimenting with DotVVM framework and sometimes Visual Studio throws a DotvvmInterruptRequestExecutionException. I know that this exception is used to interrupt execution of the current request to be able to redirect. However, I would like…
0
votes
1 answer

DotVVM Authentication

I've encountered a problem with Owin Authentication in dotVVM framework. I get 401 error after authorization on page that requires to be authenticated. This is my current startup.cs var applicationPhysicalPath =…
Andrej Dobeš
  • 233
  • 1
  • 4
  • 12
1 2 3 4 5
6