All Answers

0 votes

Hi Florian,

The easiest way to accomplish this is probably to use a mixin file.  I’ve attached a sample you can extract into the “Themes” folder of your project that will extend the RibbonBarItemButton to fit the text.  You can play around with the settings of the Mixin theme to get your desired behavior.

The other way is to use JavaScript.  You could call ribbonBarButtonItem1.Eval(“Execute JavaScript code here where ‘this’ is ribbonBarButtonItem1’s context”);  I would recommend using the mixin, but this method is available as well.

These links might be useful for you:

https://wisej.com/support/question/ribbonbaritembutton-width

https://wisej.com/support/question/ribbon-bar-theme-mixin

https://wisej.com/blog/shadow_on_the_panel/

 

Please let me know if these solutions work for you or if you need more details.

Best regards,

Levie

  • Levie (ITG) answered May 14, 2019 - 6:57 pm
  • last active May 14, 2019 - 7:01 pm
0 votes

Hi Levie,

Sorry for the noise, i’ve noticed the Classic-1 issue, apart from that, it started working..
So, sorry for the noise, it’s working perfectly and the one that I like best is the classic one 🙂

0 votes

Hi Jorge,

I’m not able to replicate your issue, but make sure you are using valid theme names: https://wisej.com/themes/. (There is not a Classic-1 theme available)

This is the list of available themes.  Can you try changing to these themes and if they still don’t work please attach a sample?

Best regards,

Levie

0 votes

Hello Luca,

I added a sample where you can see what I want to know. It would be great if you can fill up the missing parts.

Thank you

Johann

0 votes
In reply to: Get the open forms

Perfect, thanks!
Thanks the equivalent to application.activeforms or so in winforms in a MDIForm

0 votes

Thanks, will try this.

0 votes

Please see attached file.

  • Glenn Gonzales answered May 14, 2019 - 12:56 am
  • last active May 14, 2019 - 1:00 am
0 votes

Hi Eyal,

You can try playing around with the RightToLeftLayout property of container controls like panels, pages, etc. to get your desired behavior for the icon,  but the DataGridView doesn’t have full Right to Left support yet.  It should be done within a few weeks.

I would try setting the WrapMode property in DefaultCellStyle to True for multiline text in cells.

You might find it useful to modify the RowHeight property of the DataGridView as well.

Let me know if this makes sense!

Best,

Levie

0 votes
In reply to: Get the open forms

Hi Jorge,

You can use Application.OpenForms to iterate through the collection and check the property “ShowInTaskbar” to make sure each one is true.  This should give you all the forms shown in the taskbar of the desktop window (you can / might need to filter out more to make sure you’re not counting the actual desktop control)

Let me know if this works!

Best,

Levie

0 votes

Hi Simone,

You are right,

We’ve logged the issue as #1876.  It will be available in the next release.

Here is a workaround:

dataGridView1.Columns[1].AutoSizeMode = DataGridViewAutoSizeColumnMode.Fill;

dataGridView1.Columns[1].Update();

Please let me know if this works for you,

Best regards,

Levie

0 votes

Oh that *sucks*!

In Vs2010, which was the best VS version for the that come out, the intellisence was the best one!
So in vs2010 that selected was saved, and yea, confirmed ni a winforms projects… i’m using vs2019 only for a few days and the only thing i’ve used till now was WiseJ,

Sorry for the noise!

0 votes

Hi Glenn,

We weren’t able to reproduce your problem.  Could you please attach a sample?  Are you using a Split Button?

Best regards,

Levie

  • Levie (ITG) answered May 13, 2019 - 8:49 pm
  • last active May 13, 2019 - 8:49 pm
0 votes

Hi Jorge,

You are right, that is annoying!

Trying it on a WinForms application will produce the same result.  This is standard in Visual Studio, so we don’t have any control over it as we did not make it.

Sorry about that.

Levie

  • Levie (ITG) answered May 13, 2019 - 8:46 pm
  • last active May 13, 2019 - 8:46 pm
0 votes

Thanks!

For some reason in the “desktop” item the bing control didn’t assigned it.

For the custom images, I think I’ll handle it myself, I’ll let you know if I need any help.

0 votes

Hi Jorge,

The BingWallpaper should work on desktop controls by default.

You can select a specific control that the BingWallaper should show on by clicking “bingWallpaper1” and setting the “Control” property to your specified object (any control you wish).

If you want to change the background of the desktop without Bing wallpaper, you can change the “Wallpaper” property of the desktop.  You can set it to an image resource.

Does this make sense?

Best regards,

Levie

0 votes

Hi,

Can you help on this two items?

0 votes

In Wisej the Session object is dynamic so you can refer to any field without using the indexer:

Application.Session.IsLoggedOn = "whatever";

Application.Session.IsLoggedOn = true;

Application.Session.MyName = "Test";

etc.

To check the authenticated user you can use:

Application.User or Application.LogonUserIdentity.

We don’t use the Session.Items since we don’t use the ASP.NET session. You can simply do:

Application.Session.hostinguser = txtusername.Text.Trim();

Note: in VB.NET you need Strict Off to use dynamic objects. Otherwise use the indexer with the field name.

 

 

  • Luca answered May 13, 2019 - 3:25 pm
0 votes

yesss, that was it 🙂

Best regards

Johann

0 votes

Also please check

https://wisej.com/docs/2.0/html/Localization.htm

Wisej applies the client’s locale automatically. You can force it programmatically on the the default.json or in the URL. If you see “$” when using “C” it means that the client browser has en-US as the first language.

You can also verify or change the session’s locale using

https://wisej.com/docs/2.0/html/P_Wisej_Web_Application_CurrentCulture.htm

  • Luca answered May 13, 2019 - 2:06 pm
0 votes

Hi Glenn,

You can get the client’s locale with:

            var ri = new RegionInfo(System.Threading.Thread.CurrentThread.CurrentUICulture.LCID);

            textBox1.Text = ri.CurrencySymbol;

This will put the local currency symbol in the textbox.  You might find some of the other methods of RegionInfo useful as well.

Does this work for you?

Best regards,

Levie

Showing 5981 - 6000 of 11k results