# Discussion in English

**URL:** https://forum.dotvvm.com/c/general/4.md?page=2

[Latest](https://forum.dotvvm.com/latest.md) · [Categories](https://forum.dotvvm.com/categories.md) · [Tags](https://forum.dotvvm.com/tags.md)

**Page:** 3

---

## [4.3 Release - Linq Bindings FirstOrDefault 'TypeError'](https://forum.dotvvm.com/t/4-3-release-linq-bindings-firstordefault-typeerror/271)

<div class="topic-metadata">

**Author:** [@benj989](https://forum.dotvvm.com/u/benj989)\
**Replies:** 4\
**Last updated:** [October 27, 2024, 3:26pm UTC](https://forum.dotvvm.com/t/4-3-release-linq-bindings-firstordefault-typeerror/271 "2024-10-27T15:26:50Z")

</div>

Hi team, Since I updated my DotVVM packages to the latest 4.3.0 version along with DotVVM.Controls.Bootstrap4 to 4.3.0, I’m getting errors as shown in the console log below. It happens when using a binding such as Visi…

---

## [\[4.3.0\] DotVVM.Framework.Compilation.DotvvmCompilationException: Content control must inherit from DotvvmControl, but DotVVM.Framework.Controls.ConfirmPostBackHandler doesn't](https://forum.dotvvm.com/t/4-3-0-dotvvm-framework-compilation-dotvvmcompilationexception-content-control-must-inherit-from-dotvvmcontrol-but-dotvvm-framework-controls-confirmpostbackhandler-doesnt/273)

<div class="topic-metadata">

**Author:** [@Twoleeland](https://forum.dotvvm.com/u/Twoleeland)\
**Replies:** 2\
**Last updated:** [October 24, 2024, 8:48am UTC](https://forum.dotvvm.com/t/4-3-0-dotvvm-framework-compilation-dotvvmcompilationexception-content-control-must-inherit-from-dotvvmcontrol-but-dotvvm-framework-controls-confirmpostbackhandler-doesnt/273 "2024-10-24T08:48:00Z")

</div>

When I add this simple part to a repeater control, all is good, no compilation error: \<PostBack.Handlers\> \<dot:ConfirmPostBackHandler Message="Do you really want to submit the form?" /\> \</PostBack.Handlers\> But add…

---

## [\[DotvvmStartup\] How to inject custom service into custom ExceptionFilterAttribute class](https://forum.dotvvm.com/t/dotvvmstartup-how-to-inject-custom-service-into-custom-exceptionfilterattribute-class/267)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 4\
**Last updated:** [October 1, 2024, 1:32pm UTC](https://forum.dotvvm.com/t/dotvvmstartup-how-to-inject-custom-service-into-custom-exceptionfilterattribute-class/267 "2024-10-01T13:32:33Z")

</div>

Hi, I have these: And And it fails like this: How can I use my sessionToolbox inside OnCommandExceptionAsync() ? PS: I also want to set session entry

---

## [The Best Ways to Manage Complicated Data Binding in DotVVM](https://forum.dotvvm.com/t/the-best-ways-to-manage-complicated-data-binding-in-dotvvm/263)

<div class="topic-metadata">

**Author:** [@aaronwalker](https://forum.dotvvm.com/u/aaronwalker)\
**Replies:** 1\
**Last updated:** [September 21, 2024, 9:23am UTC](https://forum.dotvvm.com/t/the-best-ways-to-manage-complicated-data-binding-in-dotvvm/263 "2024-09-21T09:23:18Z")

</div>

Hello Community Member, I am working on a project where I need to manage complex data binding scenarios & i want few advice on best practices; I am dealing with a dynamic data grid where users can add, remove, and edit…

---

## [\[bp:GridViewRowSelectColumn\] Bugs when used with DataPager](https://forum.dotvvm.com/t/bp-gridviewrowselectcolumn-bugs-when-used-with-datapager/264)

<div class="topic-metadata">

**Author:** [@thatdbme](https://forum.dotvvm.com/u/thatdbme)\
**Replies:** 0\
**Last updated:** [September 19, 2024, 6:29pm UTC](https://forum.dotvvm.com/t/bp-gridviewrowselectcolumn-bugs-when-used-with-datapager/264 "2024-09-19T18:29:53Z")

</div>

There are some critical bugs in the bp:GridViewRowSelectColumn when used with a bp:DataPager. Issue #1 When the user checks one or more items on a data page and then goes to a different page, one or more checked rows f…

---

## [\[bp:GridViewRowSelectColumn\] show/hide bug](https://forum.dotvvm.com/t/bp-gridviewrowselectcolumn-show-hide-bug/262)

<div class="topic-metadata">

**Author:** [@thatdbme](https://forum.dotvvm.com/u/thatdbme)\
**Replies:** 3\
**Last updated:** [September 18, 2024, 9:12pm UTC](https://forum.dotvvm.com/t/bp-gridviewrowselectcolumn-show-hide-bug/262 "2024-09-18T21:12:07Z")

</div>

There is a bug in the bp:GridViewRowSelectColumn implementation that prevents it from successfully being hidden or removed from a GridView. I have created a page (linked below) that demonstrates quite a few different at…

---

## [Access database from usercontrol](https://forum.dotvvm.com/t/access-database-from-usercontrol/261)

<div class="topic-metadata">

**Author:** [@daltinkurt](https://forum.dotvvm.com/u/daltinkurt)\
**Replies:** 1\
**Last updated:** [September 14, 2024, 11:09am UTC](https://forum.dotvvm.com/t/access-database-from-usercontrol/261 "2024-09-14T11:09:42Z")

</div>

Hi, Is there a way to access the database from within the user control?

---

## [Gridview Postback data triggering XSS attack rule in firewall](https://forum.dotvvm.com/t/gridview-postback-data-triggering-xss-attack-rule-in-firewall/258)

<div class="topic-metadata">

**Author:** [@krishna\_logss](https://forum.dotvvm.com/u/krishna_logss)\
**Replies:** 3\
**Last updated:** [September 11, 2024, 4:20pm UTC](https://forum.dotvvm.com/t/gridview-postback-data-triggering-xss-attack-rule-in-firewall/258 "2024-09-11T16:20:58Z")

</div>

I have gridview data that have some contents in html. Problem is when the data is sent back for postback, the firewall is triggering XSS rule. What’s the best way to handle this.

---

## [FormControls.Enabled property quirky limitation](https://forum.dotvvm.com/t/formcontrols-enabled-property-quirky-limitation/246)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 8\
**Last updated:** [September 9, 2024, 1:29pm UTC](https://forum.dotvvm.com/t/formcontrols-enabled-property-quirky-limitation/246 "2024-09-09T13:29:16Z")

</div>

Hi there, From what I can discern, the FormControls.Enabled property applied with value binding, on a parent div that has inside other divs that change the DataContext to a potentially null child object (textboxes in…

---

## [\[Static Commands\] How to gain access to property "Context" in code-behind view models](https://forum.dotvvm.com/t/static-commands-how-to-gain-access-to-property-context-in-code-behind-view-models/252)

<div class="topic-metadata">

**Author:** [@Twoleeland](https://forum.dotvvm.com/u/Twoleeland)\
**Replies:** 4\
**Last updated:** [September 9, 2024, 1:09pm UTC](https://forum.dotvvm.com/t/static-commands-how-to-gain-access-to-property-context-in-code-behind-view-models/252 "2024-09-09T13:09:09Z")

</div>

I need to reload the page after setting the language, so I need access to the Context inside the static command in code-behind (= function with attribute \[AllowStaticCommand\]) to be able to use the functions RedirectToUr…

---

## [Markup auto formatting in Visual Studio 2022](https://forum.dotvvm.com/t/markup-auto-formatting-in-visual-studio-2022/255)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 3\
**Last updated:** [September 8, 2024, 6:55pm UTC](https://forum.dotvvm.com/t/markup-auto-formatting-in-visual-studio-2022/255 "2024-09-08T18:55:16Z")

</div>

While in VS 2022 working on DotVVM markup, hitting ctrl+K, ctrl+D (Format Document) does not get rid of any of the following whitespace occurences:

---

## [AllowHardCodedValue markup option does not seem to be applied for resource bindings](https://forum.dotvvm.com/t/allowhardcodedvalue-markup-option-does-not-seem-to-be-applied-for-resource-bindings/256)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 1\
**Last updated:** [September 8, 2024, 6:54pm UTC](https://forum.dotvvm.com/t/allowhardcodedvalue-markup-option-does-not-seem-to-be-applied-for-resource-bindings/256 "2024-09-08T18:54:25Z")

</div>

Please clarify me on how the AllowHardCodedValue option works (Control properties | DotVVM Documentation) But if I have in my markup these two: At runtime all is well. This happens regardless of placing the attrib…

---

## [Imaginary \[dot:Hyperlink\] control comes to life (or at least tries to)](https://forum.dotvvm.com/t/imaginary-dot-hyperlink-control-comes-to-life-or-at-least-tries-to/250)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 4\
**Last updated:** [September 8, 2024, 3:53pm UTC](https://forum.dotvvm.com/t/imaginary-dot-hyperlink-control-comes-to-life-or-at-least-tries-to/250 "2024-09-08T15:53:20Z")

</div>

It’s alive! Hmm, I’ve quickly figured out that there’s no equivalent DotVVM control for the WebForms’ asp:Hyperlink control, so I’ve ventured to make one based on HtmlGenericControl and by looking at the code of \<bp:But…

---

## [Special characters inside Controls](https://forum.dotvvm.com/t/special-characters-inside-controls/249)

<div class="topic-metadata">

**Author:** [@wolfstudiodev](https://forum.dotvvm.com/u/wolfstudiodev)\
**Replies:** 7\
**Last updated:** [August 31, 2024, 8:42am UTC](https://forum.dotvvm.com/t/special-characters-inside-controls/249 "2024-08-31T08:42:29Z")

</div>

Hey guys, When using special characters inside Controls, the output is �. Is there a way to fix it? It only happens inside Controls.

---

## [\[bp:GridViewTemplateColumn\] How to filter](https://forum.dotvvm.com/t/bp-gridviewtemplatecolumn-how-to-filter/230)

<div class="topic-metadata">

**Author:** [@thatdbme](https://forum.dotvvm.com/u/thatdbme)\
**Replies:** 4\
**Last updated:** [August 28, 2024, 11:35am UTC](https://forum.dotvvm.com/t/bp-gridviewtemplatecolumn-how-to-filter/230 "2024-08-28T11:35:34Z")

</div>

I have previously asked a related question about filtering on a GridViewTemplateColumn which has not been answered. Due to a limitation on the GridView inline editing, I have to use a GridViewTemplateColumn instead of a…

---

## [Default tab navigation not working for \<bs:checkbox\>](https://forum.dotvvm.com/t/default-tab-navigation-not-working-for-bs-checkbox/243)

<div class="topic-metadata">

**Author:** [@r.bharmal](https://forum.dotvvm.com/u/r.bharmal)\
**Replies:** 3\
**Last updated:** [August 28, 2024, 11:15am UTC](https://forum.dotvvm.com/t/default-tab-navigation-not-working-for-bs-checkbox/243 "2024-08-28T11:15:56Z")

</div>

Hello, I am currently using bootstrap version 4.6.2 in my DotVVM application. I replaced my dot:checkbox to bs:checkbox. Before for the dot:checkbox by default I was able to use tab to switch between them and now with t…

---

## [Could Someone Give me Advice for Managing Large Scale Enterprise Applications in DotVVM?](https://forum.dotvvm.com/t/could-someone-give-me-advice-for-managing-large-scale-enterprise-applications-in-dotvvm/247)

<div class="topic-metadata">

**Author:** [@roberrttt](https://forum.dotvvm.com/u/roberrttt)\
**Replies:** 0\
**Last updated:** [August 28, 2024, 9:23am UTC](https://forum.dotvvm.com/t/could-someone-give-me-advice-for-managing-large-scale-enterprise-applications-in-dotvvm/247 "2024-08-28T09:23:42Z")

</div>

Hello there, I am working on a large scale enterprise application using DotVVM; and I am looking for some advice on best practices to manage complexity and ensure maintainability as the application grows. Specifically; …

---

## [\[bp:FileUpload\] UploadStarted event](https://forum.dotvvm.com/t/bp-fileupload-uploadstarted-event/245)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 3\
**Last updated:** [August 28, 2024, 9:06am UTC](https://forum.dotvvm.com/t/bp-fileupload-uploadstarted-event/245 "2024-08-28T09:06:10Z")

</div>

Hi! This control does have a subscribable UploadCompleted event (FileUpload | DotVVM Documentation). But how can I do some stuff(run code) on server-side (a PostBack command) when the file starts to be uploaded? Or at l…

---

## [\[bp:ModalDialog\] overlay colour and transparency](https://forum.dotvvm.com/t/bp-modaldialog-overlay-colour-and-transparency/240)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 12:24pm UTC](https://forum.dotvvm.com/t/bp-modaldialog-overlay-colour-and-transparency/240 "2024-08-12T12:24:53Z")

</div>

Hi! @exyi Please show me the easiest way to make this control adjustable in terms of overlay colour and transparency by markup. We need this flexibility for UX and workflow reasons. PS: right now I’m trying to localiz…

---

## [Maxlength attribute for BP TextBox controls](https://forum.dotvvm.com/t/maxlength-attribute-for-bp-textbox-controls/113)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 5\
**Last updated:** [August 12, 2024, 12:02pm UTC](https://forum.dotvvm.com/t/maxlength-attribute-for-bp-textbox-controls/113 "2024-08-12T12:02:57Z")

</div>

Hi there all, Our aspx pages use the maxlength attribute on texboxes to achieve in the UI clear intent and limits to the users. Apparently I’ve not managed to make it work in a similar fashion in the migrated DotVVM pag…

---

## [\[bp:GridViewRowSelectColumn\] Conditionally remove/disable checkbox](https://forum.dotvvm.com/t/bp-gridviewrowselectcolumn-conditionally-remove-disable-checkbox/234)

<div class="topic-metadata">

**Author:** [@thatdbme](https://forum.dotvvm.com/u/thatdbme)\
**Replies:** 2\
**Last updated:** [August 12, 2024, 12:01pm UTC](https://forum.dotvvm.com/t/bp-gridviewrowselectcolumn-conditionally-remove-disable-checkbox/234 "2024-08-12T12:01:19Z")

</div>

Given a bp:GridViewRowSelectColumn column in a grid, is it possible to conditionally, on a per row basis, prevent the checkbox from being present or at at least checkable? Imagine a dataset with records and the user can…

---

## [Problem with dot:Routelink after upgrading to 4.2](https://forum.dotvvm.com/t/problem-with-dot-routelink-after-upgrading-to-4-2/236)

<div class="topic-metadata">

**Author:** [@Dosmac](https://forum.dotvvm.com/u/Dosmac)\
**Replies:** 1\
**Last updated:** [August 12, 2024, 11:56am UTC](https://forum.dotvvm.com/t/problem-with-dot-routelink-after-upgrading-to-4-2/236 "2024-08-12T11:56:42Z")

</div>

Hello, I am having a problem with how urls appear in my app after I upgraded from 2.0 to 4.2. Before the upgrade I would have a dot:RouteLink which would render a link like this: https://example.com/jewels/men/ring w…

---

## [Problem with Authentication](https://forum.dotvvm.com/t/problem-with-authentication/229)

<div class="topic-metadata">

**Author:** [@Dosmac](https://forum.dotvvm.com/u/Dosmac)\
**Replies:** 5\
**Last updated:** [August 12, 2024, 10:57am UTC](https://forum.dotvvm.com/t/problem-with-authentication/229 "2024-08-12T10:57:27Z")

</div>

Hello, I followed the examples in these two pages to create a very simple authentication mechanism. The authentication works fine when I add Context.Authorize(); to the Init() method of each ViewModel independently …

---

## [Dotvvm is not defined](https://forum.dotvvm.com/t/dotvvm-is-not-defined/235)

<div class="topic-metadata">

**Author:** [@edoms06](https://forum.dotvvm.com/u/edoms06)\
**Replies:** 1\
**Last updated:** [July 25, 2024, 2:50pm UTC](https://forum.dotvvm.com/t/dotvvm-is-not-defined/235 "2024-07-25T14:50:11Z")

</div>

We have a javascript script code that initialize dotvvm events But we are encountering issue that dotvvm is not defined I’ve tried window.onload but it seems not working as it’s not entering in the functiion

---

## [Some version of Visual Studio (VS) extension does not appear to be working with some version of VS](https://forum.dotvvm.com/t/some-version-of-visual-studio-vs-extension-does-not-appear-to-be-working-with-some-version-of-vs/232)

<div class="topic-metadata">

**Author:** [@MarianV](https://forum.dotvvm.com/u/MarianV)\
**Replies:** 2\
**Last updated:** [July 15, 2024, 11:00pm UTC](https://forum.dotvvm.com/t/some-version-of-visual-studio-vs-extension-does-not-appear-to-be-working-with-some-version-of-vs/232 "2024-07-15T23:00:48Z")

</div>

continuing from here: Visual Studio extension does not appear to be working with 17.8.7 Hi, Which is the newest VS version that I can install so that the DotVVM VS extension will work? Currently I have VS Community 20…

---

## [Compilation error in Azure Devops](https://forum.dotvvm.com/t/compilation-error-in-azure-devops/231)

<div class="topic-metadata">

**Author:** [@edoms06](https://forum.dotvvm.com/u/edoms06)\
**Replies:** 0\
**Last updated:** [July 10, 2024, 5:02am UTC](https://forum.dotvvm.com/t/compilation-error-in-azure-devops/231 "2024-07-10T05:02:03Z")

</div>

I have this code where it’s calling a code in dotvvm project. \<Assembly: OwinStartup(GetType(Startup))\> Public Class Startup Public Sub Configuration(app As IAppBuilder) Dim dotvvmAppLocation = Path.GetFullPath(P…

---

## [\[bp:GridView\] InlineEditMode for all rows?](https://forum.dotvvm.com/t/bp-gridview-inlineeditmode-for-all-rows/225)

<div class="topic-metadata">

**Author:** [@thatdbme](https://forum.dotvvm.com/u/thatdbme)\
**Replies:** 3\
**Last updated:** [July 9, 2024, 10:09pm UTC](https://forum.dotvvm.com/t/bp-gridview-inlineeditmode-for-all-rows/225 "2024-07-09T22:09:19Z")

</div>

The bp:GridView documentation shows how to use inline editing of a datagrid. It says to set the InlineEditMode to “SingleRow” to enable editing mode. From what I can tell, it seems to only allow editing on a single row …

---

## [Post method from ajax not working](https://forum.dotvvm.com/t/post-method-from-ajax-not-working/89)

<div class="topic-metadata">

**Author:** [@Danielajithraja](https://forum.dotvvm.com/u/Danielajithraja)\
**Replies:** 22\
**Last updated:** [July 3, 2024, 1:49pm UTC](https://forum.dotvvm.com/t/post-method-from-ajax-not-working/89 "2024-07-03T13:49:27Z")

</div>

Failed to load resource: the server responded with a status of 405 (Method Not Allowed). It is happening in 4.2 version

---

## [Convertion of Render CSS / packages in master page](https://forum.dotvvm.com/t/convertion-of-render-css-packages-in-master-page/222)

<div class="topic-metadata">

**Author:** [@scoachtom](https://forum.dotvvm.com/u/scoachtom)\
**Replies:** 7\
**Last updated:** [July 2, 2024, 4:31pm UTC](https://forum.dotvvm.com/t/convertion-of-render-css-packages-in-master-page/222 "2024-07-02T16:31:23Z")

</div>

How do you convert these lines for example to DotVVM?: \<%: Styles.Render(“~/bundles/CssStyles”) %\> \<%: Scripts.Render(“~/bundles/jQuery”) %\>

---

## [\[bp:GridView\] Grouping Feature](https://forum.dotvvm.com/t/bp-gridview-grouping-feature/221)

<div class="topic-metadata">

**Author:** [@thatdbme](https://forum.dotvvm.com/u/thatdbme)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 7:10pm UTC](https://forum.dotvvm.com/t/bp-gridview-grouping-feature/221 "2024-07-01T19:10:50Z")

</div>

The documentation page for the GridView says there will be “Grouping” added in a future release. What is this planned feature and what is the status for it being released? Thanks

[Previous page](https://forum.dotvvm.com/c/general/4.md?page=1)

[Next page](https://forum.dotvvm.com/c/general/4.md?page=3)
