All Answers

0 votes

Hi Valeriano,

sorry, the property NameFillWeight is not yet rolled out. It will be included in the next Wisej release.

As a temporary solution you could use:

var grid = ((DataGridView)propertyGrid1.Controls[0].Controls[0].Controls[0]);
grid.Columns[0].AutoSizeMode = DataGridViewAutoSizeColumnMode.None;
grid.Columns[0].Width = 200;

Best regards
Frank

 

0 votes

Hi,

thanls, I try it.

Best regards,

Valeriano Simeone

0 votes

Hi James,

After completion of one year, if i am not upgrade the license for latest updates, then my development will continue with old build or not?

Thanking you,

0 votes

Hi,

yes, i refer to vertical splitter.

But I can not find the property “NameFillWeight”. Where is?

thanks,

valeriano

0 votes

Hi Valeriano,

usually this is done with TypeConverters (as in Winforms).

Wisej adds a PropertyValueFormatting event that you can use:

pg

This shows 2 options, either format all DateTime properties in the PG or just a particular one (that is called “LastUsed” in this sample.

Hope that helps.

Best regards
Frank

0 votes
I can show the showLoader from javaScript but how to stop it from code c #.
0 votes

This just started working again. Things I tried:

  1. Reboot (no)
  2. Update Visual Studio 2017 to latest version (no)
  3. Right click project -> Debug -> Start new instance (no)
  4. Change debug browser from Chrome to FireFox (no)
  5. Debug -> Delete all breakpoints
  6. Change browser back to Chrome

5 or 6 did it, seemingly.

 

0 votes
this is the scenario:
1) a user select a file with an upload component
2) the user clic a button (here is when we need to show the loader)
3) In the Click evento of the button, the server validate several things with that XML (not being used before, is valid, etc)
4a) If the XML is not valid for some reason, the loader should be hidded and a Message popup telling the user that
4b) If the XML is valid, the loader is hidded and some other elements get updates base on the XML content
private void btnValidarFactura_Click(object sender, EventArgs e)
{
//i have tried both of these and only work the way i want to, if i run the  project step by step
this.btnValidarFactura.Call(“showLoader”);
this.btnValidarFactura.ShowLoader = true;
Application.Update(this.btnValidarFactura);
 if (UploadedFileName != null)
{
if((bool)validateXML(DestinationFile))
{
//fill content from other components
this.btnValidarFactura.Call(“hideLoader”);
this.btnValidarFactura.ShowLoader = false;
}
else
{
this.btnValidarFactura.Call(“hideLoader”);
this.btnValidarFactura.ShowLoader = false;
MessageBox.Show(“The XML used is not valid.”);
}
}
else
{
this.btnValidarFactura.Call(“hideLoader”);
this.btnValidarFactura.ShowLoader = false;
  upArchivoXML.AppearanceKey = “uploadRequired”;
MessageBox.Show(“Please select an XML”);
}
0 votes

Hi Edgar,

is your server running on WebSocket ?
Did those hints not help you yet ? https://wisej.com/support/question/showing-a-loading-spinner#sabai-entity-content-5403

Best regards
Frank

0 votes

Hi Frank

The code I'm using to get a showLoader displayed on a button is this one.
Not all the buttons work as you like, sometimes it appears sometimes does not appear.

this.Button.call("showLoader");
Application.Update(this);

Thanks
  • edgar delgado answered Mar 28, 2018 - 5:16 pm
  • last active Mar 28, 2018 - 5:17 pm
0 votes

Hi Edgar,

can you please describe what you want to achieve with the ShowLoader ?
Maybe a code snippet will help us to better understand your requirements.

Thanks in advance.

Best regards
Frank

0 votes
In reply to: Calendar Control

Thanks Frank!!

I  remain pending… Best Regards

0 votes

Hello Rob,

I ran your sample and I get the scrollbars in the browser and can both scroll with my mouse wheel as well as using the vertical scroll bar

0 votes

PS: If you want to control the column size you can use the property NameFillWeight.

Just in case you´re referring to the vertical “splitter” between the 2 columns.

Best regards
Frank

0 votes

Hi Valeriano,

it´s not yet directly exposed. You can use the following code

((SplitContainer)propertyGrid1.Controls[0]).SplitterDistance = 50;

Hope that helps.

Best regards
Frank

0 votes

Any help on this issue?

0 votes

Frank

The email is on it’s way.

I added the images using the designer which put them into the resources.

Alex

0 votes
In reply to: Calendar Control

Hi Carina,

we just uncovered a problem with the DateTimePicker control and its validation.
It´s logged as WJ-8839 and we are currently testing a possible fix.
I´ll inform you when it´s available. Then you can use the Validating event to react on invalid data that has been entered.

Best regards
Frank

0 votes

Hi Alex,

can you isolate the problem in a test case ?
You can also send code from your app that causes problems to frankATiceteagroup.com

Could it be that you used Image instead of ImageSource for the images that are not showing ?

Best regards
Frank

Showing 7641 - 7660 of 11k results