All Answers

0 votes
In reply to: software developer

Hi Frank,

a couple of solutions I’ve seen can be found at

https://jsfiddle.net/4mxhogmd/1/

or

http://jsfiddle.net/tt56qdz6/

 

The pertinent part of the code is:

“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);
});
});

  • Ron Franssen answered May 30, 2018 - 2:42 pm
  • last active May 30, 2018 - 2:44 pm
0 votes
In reply to: software developer

Hi Ron,

could you please send your javascript solution either here or to frankATiceteagroup.com and we´ll see how to match that with the Wisej extension ?

Thanks in advance.

Best regards
Frank

0 votes

Hi Tim,

thanks for your find words. Switching between the 2 prebuild filter types will be possible when the fix for WJ-8958 is released.
A combined filter would require building a new custom filter panel.
You can use the ColumnFilter template and follow the implementations of the 2 single filters.
It´s beyond the scope of this support forum though.

Hope that helps.

Best regards
Frank

 

0 votes

Hi Andrew,

sorry for the delay in answering. We fixed that issue (WJ-8958) and it will be included in the next build.
I´ll notify you when it´s online.

Best regards
Frank

0 votes
In reply to: User Popup Fade IN

Yep. The problem is that the appear event it fired after the html elements have been created in the browser. To have the fadein work properly, the popup should be created with opacity 0. There are several solutions:

 

  • we’ll add a “show” and “hide” event to the javascript layer. now we have “changeVisibility” but the Animation extender cannot read the arguments of the event to see if it’s showing or hiding.
  • you can create the popup with opacity 0 using the StyleSheet extender; or
  • add:

protected override void OnVisibleChanged(EventArgs e)
{
if (this.Visible)
this.Eval(“this.getContentElement().setStyle(‘opacity’, 0)”);

base.OnVisibleChanged(e);
}

HTH

  • Luca answered May 29, 2018 - 3:42 pm
1 vote
In reply to: ListView item full row

Hi Simone,

you can try setting the ListView´s ItemSize width to the ListView width – some offset.

Best regards
Frank

0 votes

Please attach a test case showing the issue. I tried to attach KeyDown to the editor control and it works fine.

The Wisej.Web.DataGridView doesn’t support frozen rows yet. But you can use any other data grid that you like with Wisej. All the other grids have very limited server integration though, but may provide added client side functionality. You can find some examples here:

https://wisej.com/blog/integration1/

It’s quite easy to drop in any other grid. The coding required is virtually identical (actually probably less) to what you’d have to code using any other system.

  • Luca answered May 28, 2018 - 6:09 pm
0 votes

The web.config you copied is not from Wisej. If you want to attach a test case showing the error we may be able to help.

  • Luca answered May 28, 2018 - 6:05 pm
0 votes
In reply to: Target .NET version

Depends on your app. For Wisej it doesn’t make any difference. We run it with 4.7.2 without issues.

  • Luca answered May 28, 2018 - 6:04 pm
0 votes

This area is being worked on.

  • Luca answered May 26, 2018 - 1:14 am
0 votes
In reply to: BindingSource.Current

I tried with MouseDoubleClick and CellDoubleClick but cannot reproduce. Please attach a small test case.

  • Luca answered May 26, 2018 - 1:13 am
0 votes

Hi Darren,

Any static variable is visible to all clients. Have a look at SimpleChat sample

 

0 votes

Hi Harald,

can you please retry with the latest build (1.4.95) and see if the problem still exists ?

Thanks in advance.

Best regards
Frank

0 votes

Hi Angelo,

thanks for describing the detailed steps. I tried in C# and it worked ok but can reproduce it in VB.NET.

Browsing around I found this to be a bug in Visual Studio:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/84b275ad-351a-4e18-b725-bfb06f2fcf8f/visual-studio-2015-error-when-renaming-form1vb?forum=visualstudiogeneral

Not sure if a fix is available by now but I´d recommend to rename with the designer open. In any case it´s beyond the scope of Wisej.

Hope that helps.

Best regards
Frank

0 votes

The DataPropertyName is related to data binding and it’s not unique since multiple columns can be bound to the same data property, plus if the indexer is a string then it can be either the name or the DataPropertyName for clarity.

You can use System.Linq on the columns collection to find the column index like this:

dataGridView.Columns.First(c => c.DataPropertyName == “Name”).Index;

Incidentally I noticed that the Rows and SelectedRows collection only allow the index and the name in the indexer, they should also use the column instance, like this:

dataGridView.SelectedRows[0][dataGridView.Columns.First(c => c.DataPropertyName == “Name”)]

but now you can do this:

dataGridView.SelectedRows[0][dataGridView.Columns.First(c => c.DataPropertyName == “Name”).Index]

If the column doesn’t exist you’ll get an exception from Linq.

 

  • Luca answered May 24, 2018 - 4:33 pm
0 votes

Do you need to browse files on the web server? Or do you need to upload/download files?

The FileDialog components are not available yet and they will only work on server side files since it’s impossible to browser client side files in javascript. For that you can use the Upload control, or drag & drop files on any Wisej control that can handle downloads.

  • Luca answered May 24, 2018 - 4:25 pm
0 votes

I don’t see any issue in using it in Wisej. You can integrate it as an ASP.NET control or just as a javascript widget. Note that it doesn’t work just as a javascript control, it needs its server .NET modules. As a first step I’d make it work by itself, then I’d try using a jsfiddle and plain javascript, from them to a Wisej widget it’s extremely easy.

  • Luca answered May 24, 2018 - 4:23 pm
0 votes

I submitted some pull requests for this and a tweak to the countup extension.

https://github.com/iceteagroup/wisej-extensions/pulls

0 votes

Looks like the IIS extension has problems with ajax. Running an aspx page is like loading an html page, it’s just a file. I did a quick search and looks like everyone has problems with ModSecurity and ajax calls. Maybe there are some settings that you need to change.

  • Luca answered May 22, 2018 - 4:28 pm
Showing 7361 - 7380 of 11k results