All Answers

0 votes
In reply to: Blank Page on start

Hi Nello

I suggest you that make a deploy to FileSystem and then copy of content fron the output folder to you IIS directory.

I Attach samples images

I tested this procedure with last build and everything works OK

Regards and happy coding

  • Paul answered Jun 21, 2021 - 5:32 pm
  • last active Jun 21, 2021 - 5:38 pm
0 votes

Hi Paul,

You can get the text from the RichTextEditor control with something like this:

private async void button1_Click(object sender, EventArgs e)
 {
     var text= await this.richTextEditor1.Instance.getTextAsync();
 
     AlertBox.Show(text.ToString());
 }

 

All client-side widget methods and events are exposed through the Instance dynamic object. When using Widget.Instance, any trailing members are converted into client-side JavaScript calls on the widget. You also have the option to specify async at the end of any method which will allow you to await the response.

You can find a list of all available properties, methods, and events for the RTE here: https://ej2.syncfusion.com/documentation/api/rich-text-editor/#gettext

 

I’ll log the Text property issue too, it should return the Text of the RTE.

 

HTH,

Levie

0 votes
In reply to: Cool login

Those are customers’ projects using Wisej. I can prepare something similar in the next days. The login dialog is just a semi-transparent dialog without the header. The only tricky part is putting the background in the dialog modal mask behind but we have some simple javascript that does it.

If you need a different splash (first loading screen) see these samples: https://github.com/iceteagroup/Wisej-Ext-DevExtreme/tree/2.2/Wisej.Web.Ext.DevExtreme/Wisej.Web.Ext.DevExtreme.Test (http://demo.wisej.com/devextreme/).

  • Luca answered Jun 21, 2021 - 1:22 pm
0 votes

It’s a strange issue caused by the dgv being measured before the theme is applied when it’s in a popup. It’s fixed internally already. As a workaround you can set  the Fill mode when handling the Appear event of the dgv. In the appear handler you can also detach from the event so it’s executed only once.

  • Luca answered Jun 21, 2021 - 1:18 pm
0 votes

If the content of the floating fixed modal dialog fits the window which scrollbars do you want to show when the browser is resized?

If you want to “scroll” the floating window inside the browser when it’s partially out of view, that is not possible by design. If you want to keep the dialog centered, use KeepCentered = true. If you want to resize the window you can and in that case the scroll bars will automatically show when the content doesn’t fit.

if you have any other case send a test case or an image showing where and which scroll bars you need to show.

  • Luca answered Jun 21, 2021 - 12:10 pm
  • last active Jun 21, 2021 - 12:11 pm
0 votes

Modal or “normal” are the same. Resizing the browser doesn’t change the size of the form unless it’s maximized. Can you send a test case?

  • Luca answered Jun 19, 2021 - 4:20 pm
0 votes

See attached modified sample. You can simply use an HTML string. I added a StatusColorString property to the data source and set AllowHtml = true to the column that should show the circle. There is no flickering and you can display anything you can render with HTML.

 

 public string StatusColorString
 {
   get
   {
     return $"<div style='width:24px;height:24px;border-radius:100%;background-color:{ColorTranslator.ToHtml(this.StatusColor)}'></div>";
   }
 }
  • Luca answered Jun 19, 2021 - 2:49 pm
0 votes

Sample App

0 votes

Hi Laurent,

depending on what you want to achieve, using the Control property of the HeaderCell could be a good option for you:

headercontrol

With the following code:

private void Page1_Load(object sender, EventArgs e)
 {
 PictureBox pic = new PictureBox();
 pic.ImageSource = "icon-info";
 pic.Size = new System.Drawing.Size(24, 24);
 pic.Padding = new Padding(0, 8, 0, 0);
 this.dataGridView1.Columns[0].HeaderCell.Control = pic;

pic.Click += Pic_Click;
 }

private void Pic_Click(object sender, EventArgs e)
 {
 AlertBox.Show("Clicked.");
 }

If you want to have more than one button in column header you could use a panel as control and put multiple pictures in it.

Hope that helps. If it does not please provide more information about what you want to achieve.

Best regards
Frank

0 votes

You are correct, the MinimumSize should not change the auto size. Will log.

  • Luca answered Jun 18, 2021 - 6:16 pm
0 votes

Attached a sample.

Change the minimum size of the second box to 400;42 and see how this increases the height of the second textbox. If autosize being true is the reason then why is the first checkbox not 62 (as the second box will be after setting a minimum size)?

  • Vincent answered Jun 18, 2021 - 5:17 pm
  • last active Jun 18, 2021 - 5:19 pm
0 votes

MaximumSize or MinimumSize?

If you have AutoSize = true the minimum size will be the minimum size and Wisej will calculate the size according to the space needed and if it’s more than the minimum size then it’s correct.

If you set the maximum size that’s the maximum size.

  • Luca answered Jun 18, 2021 - 5:03 pm
0 votes

Hi Vincent

For reference, ¿what version of Wisej are you using?

Regards

  • Paul answered Jun 18, 2021 - 4:42 pm
0 votes

I can reproduce the issue sometimes, looking into it.

Best,

Levie

0 votes

Forgot, you can also set custom CSS for any cell or row by assigning the CssClass or CssStyle properties of a DataGridViewCellStyle associated with the cell or row or grid.

  • Luca answered Jun 18, 2021 - 3:35 pm
0 votes

Use AutoScroll = true.

  • Luca answered Jun 18, 2021 - 3:28 pm
0 votes

Hi Adrian,

You can use something like this in the InitScript of the PictureBox to process the upload on the client:

this.addListener("dblclick", function(e){App.MainPage.upload1.upload();});

Pretty much all Wisej controls are derived from qx.ui.core.widget in the Qooxdoo framework. You can find a list of events here: https://qooxdoo.org/qxl.apiviewer/#qx.ui.core.Widget

 

Or, you can trigger an upload from the server:

private void pictureBox1_DoubleClick(object sender, EventArgs e)
 {
 this.upload1.UploadFiles();
 }

 

HTH,

Levie

  • Levie (ITG) answered Jun 18, 2021 - 3:24 pm
  • last active Jun 18, 2021 - 3:26 pm
0 votes
In reply to: Responsive window

Yes

  • Luca answered Jun 18, 2021 - 3:21 pm
0 votes

This issue is fixed and will be available in the next build!

Regards,

Levie

0 votes

Hi Vincent,

Thanks for reporting the “feature”. We’ve logged it as #2671 and fixed it for the next build :-).

Regards,

Levie

  • Levie (ITG) answered Jun 18, 2021 - 2:56 pm
  • last active Jun 18, 2021 - 2:58 pm
Showing 3581 - 3600 of 11k results