All Answers

0 votes

Hi Michael, sorry for the delay. This is logged and fixed. We should have a dev build out today with several fixes.

Question: do you need to dock to the bottom overlapping the taskbar or dock to the top of the taskbar?

  • Luca answered Dec 14, 2016 - 3:10 pm
0 votes

I don’t have any 🙂 just pick one!! As long as the idea’s behind the extensions are the same, I don’t mind what control it is..
Perhaps an image carousel controle, as it probably works on html transformation where you need to write html to provide the list of images..

0 votes

Will do. We are also completing additional project templates including extension templates.

Do you have a jquery widget that you’d like to see used in the example?

  • Luca answered Dec 14, 2016 - 12:07 am
0 votes

Hello and thanks for the fast answer,

yes we are using the latest build (1.3.16). I send you an example project in VS 2015 (the Wisej.Web and Wisej.Core DLLs are missing because of the max upload size) and the scroll works fine on a desktop. Mobile and tablet  stuck while scrolling.

Regarding issue 2 i try to create another example project to show the issue.

Greets

Marcel

 

 

 

0 votes
In reply to: Tiny Editor Printing

On Chrome?

I tried and I get just the editor content. See screenshots below. The print function in tiny editor calls the browser’s print function on the inner iframe used for editing.

BTW, the text is read because I added a custom stylesheet that the editor can use. See TinyEditor.StyleSheetSource property.

/Luca

 

  • Luca answered Dec 13, 2016 - 12:25 am
0 votes

Hello Sebastian,

This is exactly the scenario for which we added the Role property. See attached samples and few points below:

  • href=’javascript:this.’ cannot work since “this” is the element and not the object.
  • You could use “javascript:this” but you’d have to retrieve the widget that owns the element, in alternative you could pass the id of the list view to the string, etc… It becomes unnecessarily complicated. In addition to that, you’d have to override OnWebEvent() and OnWebRender() to handle then new event and to register the new event with the client.

The solution that is available with Wisej is a lot simpler (attached). give a role attribute to the tag (to any tag or even multiple tags within the same cell) and handle ItemClick. The arguments will have the value of the role string in the Role property.

Best,

Luca

  • Luca answered Dec 13, 2016 - 12:13 am
0 votes
In reply to: Dynamic Menu Items bug

Hi Michael,

this issue is fixed in the latest build (1.3.16).

A better way to remove menu items though is to call Dispose() on them.

Best regards
Frank

0 votes

myLV.Subitems.add("<a href='javascript: this.fireEvent(""labelClicked"",""4"");'> Item 4 </a>")

I want fire an event when I click on the HTML link that is inside a subitem of the listview

0 votes

Hi Marcel, couple of questions:

Are you using the latest build?

Can you send a test case so that we make sure we are looking at the same thing?

Does the scroll work correctly on a desktop?

Does issue 2 occur on a desktop too and with the latest build?

Best,

Luca

  • Luca answered Dec 12, 2016 - 4:54 pm
  • last active Dec 12, 2016 - 4:54 pm
0 votes

Hi Wilfred,

I can’t compile the project because of csla assembly is missing.  This looks like the same issue as this: https://wisej.com/support/question/checkboxes-in-datagridview-cannot-be-checkedunchecked.

It’s caused by a change in the theme and the way checkbox cells are rendered now. Your app uses a custom theme which was probably duplicated before the change. We should have added this under breaking changes in the release notes, but didn’t think of the theme as a code. Sorry about that.

Before the checkbox cell was a background image and a size and location set in the theme. The code on the server detected the click location and determined whether it was approximately where the checkbox image should have been.

The new approach is a lot better and doesn’t need any calculation on the server. The click event carries the role information from an inner div which is a lot more reliable and it can be used in the property grid and collapsible rows. There is a more detailed explanation in the linked post.

HTH

Best,

Luca

  • Luca answered Dec 12, 2016 - 4:50 pm
0 votes
In reply to: Planning of features

Hi, there is a list here:

https://wisej.com/support/question/feature-request-colour-picker-font-picker

Copied below:

  • Propertygrid
  • Google Controls and Polymer
  • TinyMCE
  • ReportViewer for Crystal
  • Filedialogs for system  and S3
  • UserComboBox, Color/Font Pickers
  • Ribbonbar and accordion
  • File system for onedrive and google drive
  • Onlyoffice.org integration
  • Going to Mars. <– this was a joke.

It’s not strictly in order of implementation, rather in priority/urgency. Most of the items on the list are already started and at different stages and some can go in parallel or depend on each other.

The color picker’s issue is not the code, rather translating the theme for the inner layout from qooxdoo’s javascript approach to Wisej’s JSON theme files.

Best,

Luca

 

  • Luca answered Dec 12, 2016 - 4:38 pm
0 votes

Hi Frank,

It was not easy to reproduce. I had to rip it out from the solution I’m working on so don’t mind the mess.

Run the project then click on the green button “Katagorier”. Then click on the toolbar button “Søk”. That should populate the list.

In 1.3.15 none of the check boxes is checked.
In 1.3.14 all except the “Mordred” row is checked as they should be.

Thanks.

Best regards
Wilfred

0 votes
In reply to: Planning of features

I agree. Would be great to get an insight into a rough roadmap for the next steps of WiseJ. We also have a big project coming along and some applications to migrate from VWG. Therefore we have to decide on the technology platform in the next weeks. If we would know what features you want to implement in a next step, it would really help us with our planning. Especially the Ribbon Bar would be a great help for us, too.

Thanks in advance.

0 votes

Looks good, but what’s missing is a function for inserting html at cursor psotion

0 votes

Hi Luca

for reproduction of the drag drop problem, see the attached project. Column2 in the datagridview has mixed contents with text and images. DragDrop works well as long as you begin drag within a cell “outside” of the image area. As soon as you drag the image dragdrop doesn’t work anymore.

0 votes
In reply to: Application Navigate

Hi Frank

sorry for the late answer, I used chrome and i missed that chrome now blocks popups without any message

0 votes
In reply to: VS2017 support

We are adding VS2018 to the installer options. You can copy the templates from %MyDocuments%\Visual Studio 2013 (or 2015)\Templates\ItemTemplates (and ProjectTeamplates)\Visual C#\Wisej to %MyDocuments%\Visual Studio 2017.. same path.

Looks like VS2017RC doesn’t support the ToolboxControlsInstaller (TCI) or it’s broken, so you’ll have to add the items to the toolbox manually.

Best,

Luca

  • Luca answered Dec 10, 2016 - 11:18 pm
0 votes

Hi Luca,

attached is the bin folder from the site.

Best Regards
Rudy

  • Rudy answered Dec 9, 2016 - 11:42 pm
0 votes

Thanks for the info Luca.  I still can’t seem to get it to work though.

this.KeyDown += this.OnKeyDown

doesn’t compile because OnKeyDown doesn’t have the correct signature to be an event handler.

This does compile:

this.KeyDown += MyClass_KeyDown;

private void MyClass_KeyDown(object sender, KeyEventArgs e)
{
OnKeyDown(e);
}

Is that what you mean?

If I put debug in MyClass_KeyDown though, it is never executed.  Also, if I put debug in my ProcessCmdKey method, it is never executed.

This is how I declared ProcessCmdKey:

protected override bool ProcessCmdKey(Keys keyData)
{…

Is that correct?  I.e. without the ref Message argument that the winforms method has?

Also, I was reading about lazy events, and it says that they “are not fired back to the server unless the application has specifically attached to the handler.”  Does that mean that if “KeyDown += something” then the key-down event will be passed back to the server, but otherwise KeyDown events will not be passed back to the server?

Thanks,

David

  • David answered Dec 9, 2016 - 8:47 pm
0 votes

Hi Robin,

The project is using a very old theme definition, that’s what it causing the issue. Before this release the checkbox cell was a background image and then the DataGrid detected the click in the middle measuring the size of the image. One of the problems was that the background image needed also a padding and the padding prevented the cell to be resized smaller than the padding causing it to bleed over the next cell.

Now the grid cells are containers and the click inside is detected without measuring anything, it returns the role attribute of the inner element. This way we can easily detect t he inner checkbox image without caring about the coordinates, and we can also detect clicks on the +/- buttons for expandable rows (when they will be available), etc.

You can also detect clicks on custom elements, if you set the cell to AllowHtml and add “<span role=’MyItem1′>MyItem1</span><span role=’MyItem2′>MyItem2</span>” then you will find “MyItem1” or “MyItem2” in the new Role  property of the DGV and LV click event args.

Coming back to the issue at hand… 🙂

If you are just changing the colors it’s a lot easier to use a theme minx.

In your project:

  • In Web.config set the theme to “Classic-2”
  • Delete \Themes\TestDefault.theme
  • Create a new \Themes\TestDefault.mixin.theme
  • Copy the definition below in the mixin theme file:
{
 "name": "TestDefault",
   "colors": {
     "activeBorder": "LightSteelBlue",
     "buttonText": "Black",
     "controlText": "Black"
 }
}

These are the changes I could spot over the default theme.

Now you can select any theme and Wisej will simply override the settings in the mixin. See this example: http://demo.wisej.com/apps/userdesktop

The theme buttons are RadioButtons with their AppearanceKey property set to “theme-button” and themed using a mixin like this:

{
 "appearances": {
   "theme-button": {
     "inherit": "button",
       "states": {
         "default": {
           "styles": {
             "backgroundColor": "rgba(0,0,0,.5)",
             "radius": 0
           },
           "properties": {
             "textColor": "white"
           }
       },
       "checked": {
         "styles": {
           "backgroundColor": "black"
         }
       }
     }
   }
 }
}

Best,
Luca

  • Luca answered Dec 9, 2016 - 7:00 pm
  • last active Dec 9, 2016 - 7:02 pm
Showing 9921 - 9940 of 11k results