All Answers

0 votes

Thanks Nic and Tiago,

it´s logged as WJ-7535.

Best regards
Frank

0 votes

Fixed in 1.2.45.0

  • Tiago Freitas Leal answered Aug 30, 2016 - 4:05 pm
0 votes

You are right. You can’t make the column invisible no matter what. I also hide the ID column all the time.

  • Tiago Freitas Leal answered Aug 30, 2016 - 4:02 pm
0 votes

Hi Nic,

Thanks. Two additional pointers:

  • You can also refer to the features as Application.Browser.Features.notifications. Features is a dynamic object which is also an IDictionary.
  • Once you are in the action block, the context is restored for the thread, so you will find everything in Application also when you call other methods.

The reason it’s done like this now, with the forced context, is to prevent confusion with calls without a context and calls with the context causing the call to fail silently when the context has not been restored, and the callback actions ensures that the thread context is cleaned up when exiting preventing any possible cross context issue (it’s why originally we had the using pattern).

Best,

Luca

 

  • Luca answered Aug 30, 2016 - 3:55 pm
0 votes

Hi Tiago,

Yes it’s HttpForbiddenHandler, looks like it wasn’t updated. I can see the correct one in SVN but the wrong one in deployment. Will update, thanks.

/Luca

  • Luca answered Aug 30, 2016 - 3:49 pm
0 votes

Switching to the new Application.Update pattern documented by Frank solved my problem.

I now call like this:

Application.Update(this, () =>
{
	if (Application.Browser.Features["notifications"] == true)
	{
		//Do something here
	}}

Just thought I would share in case anyone else is stuck in the same way.

HTH

Nic
  • Nic Adams answered Aug 30, 2016 - 3:15 pm
0 votes
In reply to: Classic-2 theme added

Update Classic-2 theme with active state

  • blue title bar
  • white title and buttons (inc. tool buttons)
  • DGV add row icon
  • Tiago Freitas Leal answered Aug 30, 2016 - 12:02 am
0 votes
In reply to: 1.2.43.0 Update

Hi Luca,

I understand now that it’s VS stuff. As long as Wisej works, users would be fine and I considered this thread as closed.

Thanks a lot.

  • Cris answered Aug 29, 2016 - 3:34 pm
0 votes

Hi Cris,

We don’t do anything special with the templates. The installer simply copies the files in the standard template location, under the user folder. Everything else is VS.

There is a second way to install templates, not recommended by MS, which is to copy them to a similar template folder located in the VS installation path. The end result is the same without the security warning. The problem for the installer is to determine where VS is installed in case it’s not in the default location.

Same goes for the toolbox. Older versions of VS required a poorly documented macro to add the tools. Since VS2010 they added a toolbox installer that reads the files from the registry. Any installer simply adds registry entries and VS breaks the rest.

Trying to control VS with alternative installation systems creates more problems. So we are sticking to the plain vanilla approach.

VS can be a PITA, until you try to use Eclipse! 🙂

Best,

Luca

 

  • Luca answered Aug 29, 2016 - 1:24 pm
  • last active Aug 29, 2016 - 1:26 pm
0 votes
In reply to: 1.2.43.0 Update

Hi Luca,

Thanks for your help and feel sorry for spoiling your weekend.

It worked but for curiosity sake, I restored my system backup, removed Wisej and deleted all traces of Wisej folder to have a clean start. I then reinstall Wisej and you are correct, that templates are installed in user’s document folder and nothing had changed in the installer. When I opened VS, and clicked on Wisej to create a new project, project templates are then automatically copied into AppData folder. Item templates are also copied to AppData folder when you click Add -> New Item.

Having said that, there are now two places in my machine where project templates and item templates are stored. The templates in AppData are the one being used everytime I create a project and add an item.

Just wondering now why I have two copies of the templates and I do not know if this is a VS or Wisej strategy.

Best.

  • Cris answered Aug 29, 2016 - 1:00 pm
0 votes
In reply to: Beta Updates

We have just uploaded a new build (1.2.45) including the following list of changes/enhancements/fixes:

Breaking Changes

Application.Update(context, action = null) has been finalized requiring the context (not optional) and with an optional method. Any Wisej component can be used as the context, including the new Application.Current property.

To call a method in context and ensuring that the context is restored and cleared, use:

Application.Update(this, () => {

// Code or calls from this location will find the Application reference fully restored
// for the current thread.

});

Or simply use Application.Update(this) or Application.Update(app) where app can be a saved reference to Application.Current.

Enhancements

– General UI speed improvements.

– DGV editing state and icon added to all themes. (Please redownload theme files, too)

– DGV keyboard navigation and cell validation.

– Added   <add name=”json” verb=”*” path=”*.json” type=”System.Web.HttpForbiddenHandler” /> to Web.config under <handlers> in all project templates to prevent IIS from service the json configuration files.

Item Type Priority Severity Title Resolution
WJ-7284 Bug Low Trivial Rows in a DataGridView that are added with AllowUserToAddRows miss the new row icon Complete
WJ-7341 Bug Low Trivial DGV: Space does not work when editing a cell Complete
WJ-7445 Enhancement Low Trivial Add the Tools property to DGV cells that use editors that support the Tools. Complete
WJ-7521 Regression Low Trivial DGV Row Header doesn’t show the focused row indicator anymore. Complete
WJ-7522 Enhancement Low Trivial Support BackgroundImage in DGV column headers and any DataGridViewCellStyle. Complete
WJ-7523 Bug Low Major Entering edit mode in a new row in a DGV control always
adds a new row when clicking outside of the cell without having typed anything.
Complete
  • Frank (ITG) answered Aug 29, 2016 - 1:02 am
  • last active Aug 29, 2016 - 1:06 am
0 votes

Cris,

please use latest build (1.2.45) to verify fixes.

Best regards
Frank

0 votes

Thank you!

 

  1. Fixed in dev. Not updated.
  2. The automatic new row works a bit differently in Wisej. When AllowUserToAddRows is true, a new row is always present (it needs the new row icon). When you edit any cell in the new row, the row is committed and a new row is appended immediately. Pressing Esc or not entering a new value when editing a new row will simply not commit the new row. In WinForms the new row is continually added and removed. There are  a number of issues though related to the new row that are fixed but not updated yet, like the new row icon, editing icon, not sorting  the new row, …
  3. There is an issue with committing unedited cells. It’s fixed not updated.
  4. With Wisej when you tab past the last cell of the grid, the focus goes to the next control. The grid fires an event named “lastCellTab” which is not processed in Wisej (we need it in another product), but if needed you can handle it overriding OnWebEvent() – and if really needed we can add a new event DataGridView.LastCellTab or similar.

The updated sample has been uploaded.

Best,

Luca

 

  • Luca answered Aug 27, 2016 - 6:59 pm
0 votes
In reply to: 1.2.43.0 Update

Hi Cris,

Looks like a VS template cache issue. The installer didn’t change the location, it’s always in the current user’s folder: C:\Users\<User Name>\Documents\Visual Studio 2015\Templates\ProjectTemplates. That’s the default installation location for templates.

Can you try

devenv /installvstemplates


It needs to run from the command prompt with the VS path as Administrator. VS 2015 is here:

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE>



It should clear and reinstall the valid templates only.

 

Let me know.

 

/Luca

  • Luca answered Aug 27, 2016 - 6:34 pm
0 votes

Thanks. Uploaded the update.

  • Luca answered Aug 27, 2016 - 6:29 pm
0 votes
In reply to: Classic-2 theme added

Update Classic-2 theme  with active state

  • blue title bar
  • white title and buttons (inc. tool buttons)
  • Tiago Freitas Leal answered Aug 26, 2016 - 10:40 pm
  • last active Aug 27, 2016 - 8:36 am
0 votes

Thanks Luca.

  • Tiago Freitas Leal answered Aug 26, 2016 - 6:03 pm
0 votes

Yep, the error is in the preview javascript file, not updated in time to use .id instead of .name for the tool items.

I have attached the ThemeBuilder exe with the correct preview scripts. It will be in the beta update this evening.

  • Luca answered Aug 26, 2016 - 5:50 pm
0 votes

Wisej has taken control of your pc camera. 🙂

Wordpress and other CMS read the gravatar from gravatar.com, which in turn probably loads them from various providers. Your gravatar is the md5 hash of your email address:

http://2.gravatar.com/avatar/ef0ce49f10322041268292d4c74952ba

https://en.gravatar.com/site/implement/hash/

If you set up a profile image in gmail it will be used by all sites reading gravatars.

  • Luca answered Aug 26, 2016 - 4:34 pm
0 votes
In reply to: Tools Property

I don’t know why I have my picture  here. There is no registration at all. I use my Gmail address on all comments. I guess my pivture comes my Gmail account..

  • Tiago Freitas Leal answered Aug 26, 2016 - 4:27 pm
Showing 10701 - 10720 of 11k results