Hi Robin,
thanks for reporting this problem. We added support for IList<Control> to improve LINQ support but apparently missed an override that was applied.
It´s logged as WJ-8968 and will be fixed in the next release.
Best regards
Frank
Hi Angelo,
thanks for providing your sample. It turns out to be a problem with your custom theme.
If you remove it from the project, the checkboxes in the ListView appear.
Maybe it was copied from an old version of one of our themes ?
You could either make a fresh copy of the base theme and apply your changes or work with mixins instead.
I´d prefer the latter option.
Hope that helps.
Best regards
Frank
Application.Exit() removes the session immediately and informs the client that the session is terminated.
The client removes all objects from the page. Now you are left with only 2 options: 1) leave a blank page; 2) reload and let the application restart. We received several requests to reload since a blank screen is not optimal.
If you let the new session expire that you get the built-in user inactivity form. You can override the behavior and decide what to at every step. You can override the SessionTimeout event on the server, you can override the client behavior and load an html page, etc. If you load a new Wisej page or window than you get a new session.
Sessions are not related to your application’s login. Loggin in or not is an application’s behavior.
Hi Frannk,
I have done further tests. It seems that the problem occurs when I use the procedure to customize the datagridviewcheckbox as discussed in the post of Aug 4, 2017 – 12:20 am with Luca.
I have attached an example.
Thanks in advance.
Thank you!
Would you please publish here the code for attaching to editor control events, as I am not familiar with this technique of the DataGridView control.
Thank you!
Forgot the suggestion: I like highcharts, it seems very powerful. We don’t have any plans to build a component around it though. It can be used directly as is.
Chartjs and smoothie are not our chart components and are not part of Wisej. They are open source javascript libraries developed and maintained by the respective owners. The chart that you linked doesn’t appear to be a web component, so it cannot work in a browser.
Same problem with IFramePanel,
but I have a doubt, what is the difference main from IFramePanel and WebBrowser control?
regards
Cristian
for now as a temporary solution, I did so:
If e.Hash <> "" Then
WebBrowser1.Navigate(Application.Url & e.Hash & "?useless=" & Now.Ticks)
End If
in this way the url always changes and I ignore the ‘useless’ parameter
regards
Cristian
another report of minor importance: if you create a webbrowser directly inside a MdiForm no event is fired.
Hi Cristian,
could you please attach your test project ?
Thanks in advance.
Best regards
Frank
Hi Luca,
i made a little test with VirtualMode, performances are good with CacheVirtualItems!
Thanks for support!
Hi Darren,
all classes (controls) are documented, see Namespaces section.
If you have any particular question please feel free to ask.
Best regards
Frank
Hi Angelo,
we tried but could not reproduce. Can you please share an example ? Either here or send it to frankATiceteagroup.com
Thanks in advance.
Best regards
Frank
1000 panels with child controls means over 20,000 elements to be created in the browser. it’s a lot. you can create the controls on demand by:
The data store for the listview will retrieve 100 at a time because the page size is 50 and it retrieves 2 pages when scrolling. You can reduce the page size like this:
this.Eval(“this.itemView.getDataModel().setBlockSize(10)”); this will retrieve the items in blocks of 20.
The [object Object] happens probably because it’s passing DBNull to the browser. As a workaround you should set the DBNull values to null or “”.
The event to format the cell is CellFormatting, but as you probably has already tried, it’s not fired for DataGridLinkColumn (and DataGridButtonColumn) – which is also why DBNull is not automatically formatted to null.
Logged as bug WJ-8964. Will be fixed in the next update.
Wisej doesn’t serialize dates like that. Looks like a System.Web.Extensions serialization. Can you attach a test case?
It happens because the styles are not applied immediately, they are cached and the flushed all at once. I changed the event handler like this:
private void upMainMenu_VisibleChanged(object sender, EventArgs e)
{
upMainMenu.Eval(“this.getContentElement().setStyles({ \”box-shadow\”: \”6px 6px 3px #C0C0C0\”, \”opacity\”: 0}, true)”);
}
This way it’s only 1 call. The last parameter “true” is the direct argument which makes the library apply the styles immediately.
I also added .Visible = false in designer.cs and commented out upMainMenu.Hide() and the otehr eval. You need only 1 in VisibleChanged.
In any case, the next update will recognize “appear” animations and automatically apply the first animation frame right away so this is not necessary anymore. We also added a dozen or so new animations.
Hi Luca,
thanks for your help. I managed to get it working the first time the popup is displayed. However, if I re-open it via the desktop menu button it shows the wrong behavior. I have attached a sample project.
Best Regards
Rudy
Hi Frank,
i also got the result am looking for by modifying the chart-2.7.1.js file by adding the following to the horizontal bar defaults_set f(x) (but i’m not crazy about this approach).
defaults._set(‘horizontalBar’, {
hover: {
mode: ‘index’,
axis: ‘y’
},
animation: {
onComplete: function () {
var chartInstance = this.chart,
ctx = chartInstance.ctx;
ctx.font = Chart.helpers.fontString(Chart.defaults.global.defaultFontSize, Chart.defaults.global.defaultFontStyle, Chart.defaults.global.defaultFontFamily);
ctx.textAlign = ‘center’;
ctx.textBaseline = ‘bottom’;
this.data.datasets.forEach(function (dataset, i) {
var meta = chartInstance.controller.getDatasetMeta(i);
meta.data.forEach(function (bar, index) {
var data = dataset.data[index];
ctx.fillText(data, bar._model.x + 20, bar._model.y – 5);
});
});
}
},
