All Answers

0 votes

Hi Pablo,

Thank you for reaching out!

Can you please state which version of Wisej.NET you’re using?

Best,
Alaa

//

0 votes

Luca, please amend the example Real Time Clock – Wisej.com to showcase Realtime drawing collaboration (whiteboarding) between browser instances.

This will assist with understanding of websocket/statics/crossthread invoke and what Application.Update(this) does.

 


Realtime Clock example changes required:

The multiuser draw cross browser functionality is missing due to the draw variable being a local rather than static (global) across browsers,

Add:

 

private static List<Point> draw = new List<Point>();

Remove  this. prefix from all this.draw  so they are to be just  draw.xxx

for example:

private void label1_TouchEnd(object sender, TouchEventArgs e)
{
this.drawing = false;
draw.Add(Point.Empty);
}

  • David answered Jan 1, 2023 - 1:22 am
0 votes

Hi Alaa,

i have read this very carefully “guide to deploy ASP.NET Core apps on IIS.” but maybe there is on my side a misunderstanding.
where is the switch for “set up the App Pool to native.” ?

Regards
Manfred

0 votes

Hi Manfred,

Looks like you didn’t set up the App Pool to native.

Please follow our guide to deploy ASP.NET Core apps on IIS.

Regards,

Alaa

0 votes

Hi Alaa,

yes i have installed this Bundle.

Regards

Manfred

0 votes

Hi Manfred,

Did you install the .NET Hosting Bundle from Microsoft ?

Best,

Alaa

0 votes

Hi Jay,

You’ll probably want to use the CellStyle.BackgroundImageAlign property.

Try this line:
e.CellStyle.BackgroundImageAlign = ContentAlignment.MiddleCenter;

It should work fine!

HTH,
Alaa

//

0 votes
In reply to: Telerik report

Thanks Vincenzo
Now I do some tests

Mario

 

0 votes

Hi Vincent,

this is fixed in our latest release (3.1.6)

Best regards
Frank

0 votes

The correct usage is:

this.imageList1.Images.Add(new ImageListEntry
{
    Name = "myImage"
    ImageSource = "myImage"
});

With Wisej.NET the ImageSource property is alternative to Image. Image is a System.Drawing.Image while ImageSource is a string. It takes a URL, a name of a themed image, a relative file path. See https://docs.wisej.com/docs/controls/general/icons#image-files.

You can put the code in your application. Write it or use the designer.

  • Luca answered Dec 26, 2022 - 4:46 pm
0 votes

which place I put this statement? inside my class?

 

this.imageList1.Images.Add(new ImageListEntry
{
    Name = "myImage"
    ImageSource = Application.Theme.Images["myImage"]
});



  • Jay Marl answered Dec 26, 2022 - 1:16 pm
0 votes

Hi Sidney,

Attached a template for the JSON file.

If you want to register an EJ1 license, please follow the guide on Syncfusion’s Website.

HTH,
Alaa

//

0 votes

Hi Julie!!
Thanks for your answer!
To illustrate, I attached to the example you sent me, a library, that I created, and referenced in the Wisej project. The Wisej project runtime takes place in the net4.8 environment and I don’t know how to get around it. See in the attached example that the application does not recognize the net6.0 runtime.

I know I’m doing something wrong but I don’t know what it is, since in the example the EntityFramework 6.0 packages were attached to the 6.0 runtime and it worked, but with my library it doesn’t work.

Thanks!

 

0 votes

Yes, it’s possible and a normal thing to do in Visual Studio to have multi targeting.

There are 3 common approached to multi targeting whether it is for .NET versions or OS targets:

1. Conditional compilation #if NETCOREAPP etc. You’ll find examples in most of Microsoft code on GitHub. You might also find the Microsoft Documentation on conditional compilation helpful.
2. Separating folders using conditional <ItemGroup> in the sdk format project
3. Separating files using conditional <ItemGroup> in the sdk format project
3a. Separating partial class files (most Microsoft projects use this approach with Socket.cs Socket.Windows.cs and Socket.Unix.cs for example, see Github)

See attached sample using EF Core.

We need net48 for the designer until Wisej.NET 4 where we will be able to have two separate designers, one for net48 and one for net core.

0 votes

I tried the same sample provided and it works without any issue. You cannot expect to use an Image as a string that is the name of an image file. Also base64 is not the name of an image. If you want to use a bitmap you need to assign it to a property of type Image not string. Try BackgroundImage.

  • Luca answered Dec 23, 2022 - 6:06 pm
0 votes

So… i tried this, but the compiler says to me: you can convert the bitmap to string. This appears that the cellStyle dont receive the image tipe, how i can do, i tried convert in base64 to .. but nothing happens.

method cellformating{

Icon iconMsgFechada = new Icon(serviceMsg.EntregaDiretorio(1) + “MsgFechada.ico”);
Icon iconMsgAberta = new Icon(serviceMsg.EntregaDiretorio(1) + “MsgAberta.ico”);

if (e.ColumnIndex == 1)
{
if (e.Value.Equals(0))
{
e.CellStyle.BackgroundImageSource = iconMsgFechada.ToBitmap();
}
else
{
e.CellStyle.BackgroundImageSource = iconMsgAberta.ToBitmap();
}
}

}

  • Jay Marl answered Dec 23, 2022 - 6:00 pm
0 votes

Hi Jay,

It’s better to use the CellFormatting Event to apply your logic.

I have attached a sample for you!

I would also like to point out that it’s highly recommended that you don’t use the Bitmap() object but instead use the “ImageSource” property and deploy your /Images resources, This way there is no memory usage on the server to load the image and it’s also cached on the browser.

You can check out our DemoBrowser application for more details about this, and I would like to also point you out to another similar post in this forum for more info!

Merry Christmas,
Alaa

0 votes

That’s it! The iis users had read only permissions on the temp folder.

Thx and merry christmas

Stephan

0 votes

Hi Stephan

Testing in a IIS into web machine from our side, all works fine

We suggest you that check for permission in directory /temp on your IIS machine.

Regards

  • Paul answered Dec 22, 2022 - 6:49 pm
0 votes

Unfortunately it’s a regression related to sorting a DataGridView data bound to a source that doesn’t support sorting. It’s fixed in the current internal build and will be available shortly If you use dgv.Fill(dataSource) you can see the correct sorting.

  • Luca answered Dec 22, 2022 - 1:41 pm
Showing 2001 - 2020 of 11k results