All Answers

0 votes

Hi Jonatha,

Instead of implementing the toolstrip as a duplicate of the toolbar, we are adding toolbar child types that more or less match toolstrip items and a generic IToolbarItem. ToolbarControlHost will allow you to add any Control to a toolbar and preserve the Auto Overflow Dropdown.

We don´t have a specific release date yet, but will keep you updated.

Best regards
Frank

 

0 votes

Any news on when ToolStrip will be available?

0 votes
In reply to: Install 1.3.75 problem

The installer would try to install VS2017 templates only if the Visual Studio 2017 option was selected when installing. The error shows that the installer can’t access the location where VS is installed.

 

  • Luca answered Jun 30, 2017 - 5:01 pm
0 votes

Hi Shawn,

I can’t reproduce the issues. I can’t find any enumeration AllRow ot HeaderWidth. Can you send a small test case or give me more info please?

/Luca

  • Luca answered Jun 30, 2017 - 4:59 pm
0 votes

Hi Mark,

Sorry for the delay, I just got around to this. I have attached the modified sample.

  • Don’t need to use Application.Update() when using a timer, the timer runs on the client and causes callbacks, therefore the thread responding will automatically update the client when it’s done. You’d need Application.Update() if you were using a server side timer or an independent thread or task, which is “out of bound”, meaning not related to a client request and Wisej needs to restore the session on the thread to push the update.
  • When the DGV is in VirtualMode, you have to provide data storage. Assigning the value of a cell doesn’t save the value, raises CellValuePushed and then it’s up to your virtual implementation to store the value. In the modified sample I used a dictionary.

HTH

Best,

Luca

  • Luca answered Jun 30, 2017 - 2:09 pm
0 votes

Hi Levie,

FirstDisplayedRowIndex is readonly for now, but you can use ScrollCellIntoView property that allows to specify a column and row to scroll to.

Best regards
Frank

0 votes
In reply to: Ribbonbar control

Hi Tim,

we expect to have it done by end of September.

Best regards
Frank

0 votes

Okay I think I figured out a way to do it. Not sure if it is the most efficient but setting the rowcount = 0 and then setting it back seems to work and I don’t look the selecteditems.

 

dgComputers.RowCount = 0;
dgComputers.RowCount = ComputerSelectSqlGenerator.TotalItems.Result;

0 votes

Here is a slimmed down sample of what I am trying to do.

Thanks,
Mark

0 votes

CellValuePushed is an event from the DataGridView how would I invoke it?

0 votes

I just tried and it works for me. Are you storing the value in CellValuePushed and retrieving it in CelValueNeeded?

  • Luca answered Jun 28, 2017 - 4:23 pm
0 votes
In reply to: Renew license

Hi s g,

do you get an error message ? Can you please send me the license key that fails to
frankATiceteagroup.com ?

Thanks in advance !

Best regards
Frank

0 votes
In reply to: AlertBox Exit/Close

Hi Chris,

currently there are no events exposed for this, but I have logged an enhancement request (WJ-8333) for it.
We´ll notify you when they are available.

Thanks for your suggestion !

Best regards
Frank

0 votes
In reply to: to excel

You can use ClosedXML:

https://github.com/ClosedXML/ClosedXML

Lots of examples if you Google it. This will create actual Excel or Word documents.

 

  • edmond girardi answered Jun 27, 2017 - 4:53 pm
  • last active Jun 27, 2017 - 4:54 pm
0 votes
In reply to: to excel

You can use the built-in DataGridView.GetClipboardContent(), it will return HTML that can be opened by Excel. Look also at ClipboardCopyMode:

https://wisej.com/docs/html/P_Wisej_Web_DataGridView_ClipboardCopyMode.htm

https://wisej.com/docs/html/M_Wisej_Web_DataGridView_GetClipboardContent.htm

Here is a video showing the same functionality copied to excel:

http://www.screencast.com/t/76izqzD8F

 

 

  • Luca answered Jun 27, 2017 - 4:03 pm
0 votes
In reply to: Roadmap

Hi Tiago,

Running on Linux is still on the roadmap but it’s at the bottom of the list so we don’t have a timeframe. With the self hosting feature you can use NGINX or Apache on linux and Wisej apps on light windows instances (windows core/nano) with docker or service fabric. Web servers on linux can’t really run apps anyway and kind of force you to use the web servers as reverse proxies anyway.

Best,

Luca

  • Luca answered Jun 27, 2017 - 12:06 am
0 votes

Please try the attached sample. I can’t reproduce also simulating long sorting times. If you enable the exceptions in VS you can send the stack trace. Debug->Windows->Exception Settings, check Common Language Runtime. You’ll get a bunch of exceptions when starting up, they are all internal handled exceptions from System.Web, IIS Express and so on, ignore them. Then when you reproduce the exception you mentioned VS will stop and you can see the stack trace.

  • Luca answered Jun 23, 2017 - 7:32 pm
0 votes
In reply to: Date Time Picker

Thanks! The timer is generating a round trip causing the DateTimePicker to try to format the typed value which is incomplete while you are typing. Logged as WJ-8324.

  • Luca answered Jun 23, 2017 - 6:08 pm
0 votes

Hi Tim,

What kind on data source? I tried to reproduce using a DataTable and adding a row when loading and on a click but can’t reproduce. I tried binding directly to the DataTable and to a BindingSource(table, null). Can you send some more details? Stack trace, and the type of binding.

Thanks,

Luca

  • Luca answered Jun 23, 2017 - 6:02 pm
0 votes

Hi Jonatah,

See attached modified sample. There are a couple of issues:

  • The DGVImageCell only uses the value from the cell, it ignores the value set in the CellFormatting event. Logged as  WJ-8322.
  • But, the DGVImageCell inn Wisej has a double value type, like all images inn Wisej, it can be a string or a Bitmap. When setting a bitmap in CellFormatting it doesn’t match the FormattedType which is the same type as the value of the cell, but in your case that’s always null so it defaults to String, which is OK for image names.

In the attached modified sample I have included a DGVColumn override that is a temporary fix for WJ-8322. I also modified the sample to return the image path instead of the actual bitmap in CellFormatting. Using the bitmap in CellFormatting instead of a string is logged as an enhancement WJ-8323.

Using the image path is preferable on the web since it gives the browser a chance to cache the image and reduces the data transferred to the client. You may also make the images embedded resources instead of deploying them and prefix the image name with “resource.wx” -> “resource.wx/image.png” or the resource path “resource.wx/Resources.Images.image-name.png”, or the full assembly “resource.wx/MyAssembly.Resources.Images.image-name.png”.

In alternative you can assign the Bitmap to the cell value.

Both WJ-8322 and WJ-8323 should be completed soon.

HTH

/Luca

  • Luca answered Jun 23, 2017 - 5:46 pm
Showing 8881 - 8900 of 11k results