All Answers

0 votes

Yes, it should work like any other assembly reference. It’s the same as Wisej.Web.dll. The attachment was missing.

  • Luca answered Oct 17, 2016 - 2:20 pm
0 votes

I agree, the drop down months and years panel is a nice enhancement that will be added. It wasn’t available in the base date picker control from qooxdoo.

Best,

Luca

  • Luca answered Oct 17, 2016 - 2:18 pm
0 votes

Hi Cris,

You can set the ForeColor property of the picture box. If you want to use the colors from the theme you can set the color to a named theme color, or simply use any other color. To use a theme color do this:

this.pictureBox1.ForeColor = Color.FromName(“invalid”);

If there is a name mismatch, you can ensure that it uses the theme color like this:

this.pictureBox1.ForeColor = Color.FromName(“@invalid”);

This is how Wisej handles SVG icons and images vs. font icons:

  • SVG icons are typically black since they use the fill color property to fill the icon.
  • SVG colored icons can use any color in addition to the “dynamic” fill color.
  • Font icons (which are inherently a hack devised years ago when browsers didn’t fully support svg images) are always mono color. You can’t have colored font icons.
  • Wisej preloads the svg icons and caches them as xml documents. When the svg image is used on a widget, wisej changes the fill color to use the widget’s text color. If the icon is monochrome it will adapt to the text color, otherwise it’s unchanged.
  • Additionally, if the icon is used as a background image, Wisej can set the css fill color value using the style value from the theme.

HTH

Best,

Luca

  • Luca answered Oct 17, 2016 - 2:16 pm
0 votes
In reply to: ASP.NET Wrapper

It had some work done but it’s not complete yet. We tried several approaches to keep it as simple as possible and the way to go seems to be the virtual path provider to serve an embedded empty page with the ASP.NET control in it. The result is the same as the current AspNetPanel but you don’t have to provide the page, just the control class.

However, the work on this is on hold until the ListView and PropertyGrid are published. BTW: The ListView will be available tomorrow and the PropertyGrid few days later.

Best,

Luca

  • Luca answered Oct 17, 2016 - 1:55 pm
0 votes

Hi Cris,

Yes the MonthCalendar is now resizable when AutoSize = false. Will check the week number column, thanks for the report.

The collapsed panel state at design time still needs more tweaking. See my other reply.

The property you are looking for is MaxSelectionCount. If you set it to 1 it is single selection. Otherwise the multiple selection works by anchoring the first click and using the second click as the end of the range. The anchor is reset when the mouse moves out of the calendar. It’s like selecting a range on airline or hotel websites.

The MaxSelectionCount limits the range.

Best and thank you again for your efforts.

/Luca

  • Luca answered Oct 17, 2016 - 1:50 pm
0 votes

Hi Frank,

SplitContainer:

These are the behaviour I observed in SplitContainer in 1.2.78.

If I set Panel1Collapsed=true, the Header shows up properly. But if reset it back to false, it doesn’t restore to where it was before I set it to true. I have to drag the vertical splitter to the right to resize and see all controls inside the panel. It works fine if I set Panel1Collapsed=true at runtime though, as suggested by Luca. But the fact remains the designer does not behave the way it should be.
Month Calendar:

Now that MonthCalendar can be docked and resized, the column for WeekNumber also resizes whether ShowWeekNumbers is set to true or false. Is it by design? In my personal opinion, this column must have a fixed width.

There are times that when I click on a single date, it selects mulitple dates as shown on the image attached though I don’t see any property regarding this behaviour.

Thanks

 

  • Cris answered Oct 17, 2016 - 1:43 pm
0 votes

Hi Luca,

Yes! It works. But…the image fill-color is black. I saw the right color in Appearances.MessageBox.Image.<MessabeBoxIcon enum>.properties.textColor. Is there a way I can use them and how?

Actually, I’ve already changed the fill-color of those images, replaced messagebox-* in the file and it’s working. But I would prefer to use whatever is the value in the theme file, if possible. And I really do not know how it would affect other parts of Wisej that use those images after replacing them.

Thanks.

  • Cris answered Oct 17, 2016 - 11:56 am
0 votes
In reply to: ASP.NET Wrapper

Hi

Has the enhancement work been done yet?

Thanks

Ewan

  • Ewan answered Oct 17, 2016 - 11:27 am
0 votes

This is great!

Can I create a library project with my own extensions so that I can use it as a reference in my future Wisej application projects without having to include the source C# server code — or even the javascript? I tried making your attached code my “library” and tried using the ComboBoxEx in another project, but although it compiles without any complain, I cannot see the loader icon. Tried setting the AssemblyIfo reference, included the Javascript in a Platform folder but to no avail… Am I missing something or it is just not possible?

Best,
Alex

  • Alex Prinias answered Oct 16, 2016 - 3:47 pm
0 votes

Hi Frank,

Thanks. Confirmed fixed.

Robin.

  • Robin answered Oct 15, 2016 - 2:30 pm
0 votes

The embedded js and css files have to be in /Platform or /Resources. The minifier built in wisej bundles everything into a single wisej.js. When debug=true the files are just bundled otherwise they are also minified.

AssemblyInfo.cs must have the [assembly:WisejResources] attribute.

Look at the source code in wisej.com/extensions to see the different approaches.

If you want to wire custom events use:

config.wiredEvents.Add(“eventName”, eventNameWithArgs(DataName)”);

The client widget now can fire a simple event or a data event:

this.fireEvent(“eventName”);

this.fireDataEvent(“eventName”, {value1:12, value2:”hello”});

Ther server can process the event in OnWebEvent(e). Where the named args coming in from the client can be found here: e.Parameters.DataName.value1.

“DataName” can be any name you declare in wiredEvents, ie: “clickedNode(Node)”.

You can also pass controls to the client and receive them from the client. Wisej takes care of “marhsaling” the component reference to/from an id.

You can derive from wisej javascript classes or from qooxdoo classes and create just about any real time web widget and control.

There will be a lot of documentation and samples – after the release.

Best

Luca

  • Luca answered Oct 15, 2016 - 1:32 pm
0 votes

This is so cool !

I had used the inheritance and the OnWebRender method to create bold menuitems which cannot be selected as menuitems group headers but that was without any javascript.

Are there any conventions that should be kept? Like the name of the folder “Platform” where the javascript resides or anything else? Or just setting the Build Action to Embedded Resource is enough? Does this mean that the extended ComboBox can be in a Library project that can be linked to many applications?

Thanks a lot!

Alex

  • Alex Prinias answered Oct 14, 2016 - 8:31 pm
0 votes

Hi Cris,

both bugs are fixed and the enhancement has been added (all in build 1.2.78).

Best regards
Frank

0 votes

Hi Robin,

this problem is fixed in the latest build (1.2.78).

Best regards
Frank

0 votes

Hi Sebastian,

this was logged as WJ-7696 and is fixed in the latest build (1.2.78).

Best regards
Frank

0 votes
In reply to: Beta Updates

We have just uploaded a new build (1.2.78) including the following fixes and enhancements:

Item Type Priority Severity Title Resolution
WJ-7690 Enhancement Low Trivial Add SplitContainer OrientationChanged event Complete
WJ-7691 Bug Low Trivial Panel.Collapse property should not be serialized Complete
WJ-7692 Bug Low Trivial Different internal bounds when sliding a panel that had
the header at the top and collapsed to the sides.
Complete
WJ-7693 Enhancement Low Trivial Make the inner size of the Month Calendar layout dynamic Complete
WJ-7694 Bug Low Trivial Language of current value of the DateTimePicker is not translated
after a change of language
Complete
WJ-7696 Bug Low Major Disabled controls in a GroupBox get enabled at truntime. Complete
WJ-7699 Enhancement Low Minor Make MonthCalendar resizable and optionally auto sized with the AutoSize property. Complete
WJ-7700 Enhancement Low Trivial Include CellSpan and RowSpan when calculating a DGV cell Size. Complete
WJ-7701 Bug Medium Minor When a spinner control is used in a DGV the up/down keys
are processed by the DGV and terminate editing.
Complete
WJ-7697 Enhancement Low Trivial Detect missing properties in a theme without interrupting the rendering process. Complete
WJ-7698 Bug Low Minor Empty Padding or Margin properties are serialized as (-1). Complete
0 votes

See attached sample. It’s a good example on how to extend Wisej controls on the client and the server.

  • Luca answered Oct 14, 2016 - 4:42 pm
0 votes

Thanks Luca, that will be great! However I don’t see a ShowLoader property for the Combobox, that was the first thing I looked for, hoping you have implemented it already.

Alex

  • Alex Prinias answered Oct 14, 2016 - 4:06 pm
0 votes

Filling on a drop down event?

The TreeView loading icon replaces the node’s icon when expanded without children.

For the ComboBox it’s possible to do the same with the drop down button when clicked if the comboBox doesn’t have items and the showLoader property is turned on. I can send you a small plugin code that you can try.

  • Luca answered Oct 14, 2016 - 3:46 pm
0 votes

Good point. I will see if on the new site we can display  the Last Updated date for each download.

  • Luca answered Oct 14, 2016 - 3:22 pm
Showing 10341 - 10360 of 11k results