All Answers

0 votes

Set the Size and do not set AutoSize to true. Also set the Autoscaling to None, the default I believe if Font which autoscales if you change the font of the panel at runtime to something different than the original one. There is no dpi scaling since dpi scaling makes no sense in a browser.

When you set the Size nothing in Wisej.NET will change the size of your control. The only properties that change it are Anchors and Dock but you should set those unless you want to alter the size based on the container’s layout engine.

https://docs.wisej.com/docs/concepts/layouts

  • Luca answered Oct 31, 2023 - 4:56 pm
0 votes

In Add New Item you will find the Visual Studio templates. If they are not registered make sure you have installed the vsix correctly. Otherwise follow the standard Visual Studio troubleshooting for missing templates. We collected some of the most common methods here: https://docs.wisej.com/docs/getting-started-1/troubleshooting

  • Luca answered Oct 31, 2023 - 1:15 pm
  • last active Oct 31, 2023 - 4:37 pm
1 vote

Hi Tuan,

thanks for reporting this. It’s confirmed as a bug and we’re currently investigation how to fix it.

Best regards
Frank

0 votes

Rendering the report to a pdf is the best solution.

If you want to use the Crystal Report ASP.NET viewer you can. Wrap it in a AspNetPanel.

We don’t create reporting tools or viewers. Don’t forget that Crystal Reports is basically deprecated.

In any case, this is not a Wisej.NET issue.

 

  • Luca answered Oct 31, 2023 - 1:11 pm
0 votes

This is a Workaround, but not ideal solution:

string cReport = “myreport.rpt”;

CrystalDecisions.CrystalReports.Engine.ReportDocument myReport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
myReport.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA5;
myReport.Load(cReport);

myReport.SetParameterValue(“var1”, “Value variable 1”);
myReport.SetParameterValue(“var2”, “Value variable 2”);
myReport.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.PortableDocFormat, “test.pdf”);

pdfViewer1.PdfSource = “test.pdf”;

0 votes

Just a quick note that Wisej.NET 3.2.6 was released today.

Best regards
Frank

0 votes
In reply to: Disappearing image

Thank you for the sample. I can reproduce on a IIS only initial startup and a slow connection. It’s a bug in related to this.pictureBox1.SizeMode.SizeMode = AutoSize. Change it to Normal, or any of the other values to resolve the issue. We’ll log the bug.

  • Luca answered Oct 27, 2023 - 4:23 pm
0 votes
In reply to: Disappearing image

Here is the link to the project, it’s too big for the attachment. This also happens in the Visual Studio IDE, so it should be easy for you to understand.

Link to project

0 votes

The project is too big, i insert a link to the file zip: LINK, I repeat that in the Visual Studio IDE everything is fine, if you publish it on IIS you can see the problem.
Thank you.

0 votes
In reply to: Disappearing image

Can you give us a code sample? Create a small Wisej project that shows the behavior you are describing and upload it here in a zip file.

Thanks,
Julie

0 votes

Another thing you can look into- are you using the same theme for the app on the development PC and for the deployment? If you’re using different themes, you might see a difference.

0 votes

With a Pad height of 35 you can see it, but I don’t think it’s correct behavior.

Regards

0 votes

The areas you circled are affected by a few different components. You’ll want to use the Theme Builder to edit the JSON directly. Click on the “Editor” tab at the top of the theme builder to see the JSON.

See the picture I attached- I modified the borders to be different colors based on which component they were coming from. I also set the “radius” property to 50 in certain places in order to give it a curved radius.

Panel is in blue, and is a pretty close match to what you want to change.
"panel": {
"states": {
"default": {
"styles": {
"width": 1,
"style": "solid",
"color": "blue",
"radius": "50"
}
},

Resizer is in light green (“#00FF27”,)- it affects the outer border of the area you were looking at
"resizer": {
"states": {
"default": {
"styles": {
"width": 1,
"style": "solid",
"color": "#00FF27",
"radius": "50"
}
}
}

widget is in red, and affects the area you want- but also other areas all over the page.
"widget": {
"states": {
"default": {
"styles": {
"width": 1,
"style": "solid",
"color": "red",
"radius": "50"
}
},

splitter (part of the splitpane) is in yellow, it affects the colors of the lines in the middle
"splitpane": {
"text": "SplitPane",
"states": {
"default": {
}
},
"components": {
"splitter": {
"states": {
"default": {
"properties": {
"width": 9,
"height": 9,
"cursor": "default"
},
"styles": {
"fillColor": "Gray",
"backgroundColor": "Yellow",
"backgroundRepeat": "no-repeat",
"backgroundSize": "20px 20px",
"backgroundPosition": ["center", "center"]
}
},

I’ve also attached a zip file containing the full theme file that I used (Borderradius_differentColors.theme) It’s a modified version of the bootstrap=4 theme. If you want to focus in on the areas I changed, you can do a CTRL+F for the code snippets I shared, or do a textCompare line-by line with the bootstrap-4 theme.

HTH,
Julie

0 votes

I don’t understand what you asked me, I already sent the two screenshots, can you be more clear?
Thank you very much

Regards

0 votes
In reply to: Disappearing image

The image is only seen for less than a second and then disappears, then it exists and loads it correctly, at first.

Regards

0 votes
In reply to: Disappearing image

No errors anywhere

0 votes

Hi Francesco,

I think the image is not loading there, would you mind wrapping the sample for us?

Best,
Alaa

0 votes
In reply to: Disappearing image

Hi Francesco,

Do you have any errors in the console?

Best,
Alaa

0 votes

Thank you, that fixed my problem.

Shawn R

0 votes

Hi Shawn,

You’ll need to download the latest VSIX installer from https://wisej.com/builds/ to get the latest Designer.

In late July, Microsoft updated the WebView2 component with Visual Studio and that is what causing the issue you’re having right now.

Best,
Alaa

Showing 1241 - 1260 of 11k results