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
2 answers

DateTime? to DateTime

I am stuck. I'm creating a database of authors and run to a problem. I need to save value Umrti (date of death) to database as null, but it always save that value as 01.01.0001. I tried few things and now my code looks like this: public class…
0
votes
1 answer

When using the dotvvm visual studio add in (1.1.90 on VS 2017) I can't edit dothtml/dotmaster files any more

I'm using the Visual Studio DotVVM addin version 1.1.90 with VS 2017 15.5.6. When I try to edit a dothtml or dot.master file I get a message box from Visual Studio "The operation could not be completed." How do I overcome this?
0
votes
1 answer

DotVVM page inside ASP.NET webForms Site.master

I have an existing ASP.NET webForms web site project. I would like to use dotvvm in one page of the website. I have successfully created and placed a sample content page .dothtml inside dotvvm master page .dotmaster but is there any way I can place…
Ramywhite
  • 92
  • 2
  • 7
0
votes
1 answer

DotVVM - DateTime json conversion not working

I'm new to DotVVM and just playing with it for the moment. My model has a DateTime property When i edit this in a form with Full datetime is shown like "2018-02-08T13:02:42.0000000" Editing the…
Luc Wuyts
  • 21
  • 2
0
votes
1 answer

DotVVM - GridViewDataSet not loading any data

I am stuck on problem where my facade method is never called so my returned items are always zero. I dont exactly know why this happens since it should at least load items on initial page load. Also I got almost identical ViewModel where it works…
Martin
  • 455
  • 1
  • 11
  • 34
0
votes
0 answers

How to add/remove items in a ListBox with Button click in Dotvvm

Firstly, I tried a generic list but the data-bound ListBox on the view did not update when I added or removed items in the viewmodel. I then tried GridViewDataSet with a grid, still to no avail. When I populate the list/GridViewDataSet with initial…
Mofolo
  • 300
  • 2
  • 4
0
votes
0 answers

DotVVM - How to fire viewmodel method using knockout binding handler with coc

I have code only component, where I generate my menu, where I got around 700 records where all of them are loaded at once. I decided to recreate it and load another menu objects to menu on click event. Here is my viewmodel for my menu, I removed…
Martin
  • 455
  • 1
  • 11
  • 34
0
votes
0 answers

DotVVM with SignalR - client side connection is always undefined

I am trying to run signalR with DotVVM framework and I have problem with connection to my sample hub. Here is my js code where I have a problem. $.connection is always undefined so I cant make any connection to my SignalR Hub and thats weird. Is it…
Martin
  • 455
  • 1
  • 11
  • 34
0
votes
1 answer

Custom GridViewTemplateColumn or ContentTemplate and EditTemplate?

Is it possible to create a content and edit template to be inserted within a GridViewTemplateColumn so that one can reuse it and not repeatedly insert the templates into their html? I have around 15 columns that all need similar functionality…
Aron
  • 3
  • 3
0
votes
1 answer

DotVVM - Multiselect content is overlayed by input

I have a problem with DotVVM multiselect styling. Content of multiselect is overlayed by input and I dont know what cause this problem. When I use dropdown list which uses exactly the same css classes, there isn't any problem with this. You can see…
Martin
  • 455
  • 1
  • 11
  • 34
0
votes
1 answer

DotVVM - Code only component DataSource property is null when collection is passed in

I have my own Accordion code-only component Here is my view where I have repeater which loads list of article sections. Each article section have list of articles. So with that I want to archieve that every article section will have his own…
Martin
  • 455
  • 1
  • 11
  • 34
0
votes
1 answer

DotVVM code only component dont generate HTML structure correctly

I have my own component for treeview menu and I want to generate HTML structure like this. Here is my code where I generate structure for my menu public void…
Martin
  • 455
  • 1
  • 11
  • 34
0
votes
1 answer

Dotvvm - fire custom binding handler after DOM elements are rendered

Lets say I want to customize css classes of treeview component. HTML code for
  • expand. As we can see, 1st
  • got class bp-state-expanded. When its collapsed, I would like to have bp-class-collapsed class instead of bp-state-expanded for my…
  • Martin
    • 455
    • 1
    • 11
    • 34
    0
    votes
    1 answer

    Business pack treeview dotvvm - all tree nodes collapse after redirect

    I use business pack treeview component for menu. What I want to archieve is that when I click on item Chleba for example, it will redirect me to details of this category and also items Potraviny and Pečivo should be expanded. Both items must have…
    Martin
    • 455
    • 1
    • 11
    • 34
    0
    votes
    1 answer

    Loading subcategories in TreeView on click Dotvvm

    I use business pack treeview component for menu. My goal is to retrieve only top level menu without subcategories. Subcategories will show only on user icon click (+ / - icons) or on menu item click. So basically when I click on "a" or icon binded…
    Martin
    • 455
    • 1
    • 11
    • 34