All Answers

0 votes

Hi Andrew,

I am not able to replicate the zooming problem.  Please try out the attached sample with your API key and DLL’s and see if it works for you…  It zooms in and out fine, even after manually changing the map zoom.

If you are still having issues could you please attach a demo with detailed instructions on how to reproduce the error?

Best regards,

Levie

0 votes
In reply to: MaskedTextBox

Hi Glenn,

You can add a handler for the “Validating” event of the Masked Textbox and add a System.Text.RegularExpressions reference in your code.  Here is an example with C# code you can use as a model:

private void maskedTextBox1_Validating(object sender, System.ComponentModel.CancelEventArgs e)
{
// Define a regular expression for repeated words.
Regex rx = new Regex(@”([PM+-]\d{1,5}(\.\d{1,2})*)*”,
RegexOptions.Compiled | RegexOptions.IgnoreCase);

// Define a test string.
string text = maskedTextBox1.Text;

// Find matches.
MatchCollection matches = rx.Matches(text);

// Report on each match.
foreach (Match match in matches)
{
GroupCollection groups = match.Groups;
AlertBox.Show(match.Value);
}
}

 

Please let me know if this works for you!

Best regards,

Levie

  • Levie (ITG) answered May 1, 2019 - 6:25 pm
  • last active May 1, 2019 - 6:26 pm
0 votes

Hi Mark,

Please trying uninstalling and reinstalling Wisej 1.5.56.  Sometimes a clean install can help fix the problem.

If that doesn’t work here’s how to refresh the templates:

  1. Check “C:\Users\USERNAME\Documents\Visual Studio 2017\Templates\ProjectTemplates” under Visual C# and Visual Basic and make sure the Wisej templates are shown there.  If they are not, you must reinstall Wisej to get them.
  2. Check  “C:\Users\USERNAME\Documents\Visual Studio 2017\Templates\ItemTemplates”
  3. Once you can confirm they are there, open VS and go to Tools > Options > Projects and Solutions > Locations
  4. Once there, change the Project templates folder AND the Item templates folder to a junk folder
  5. Save settings
  6. Restart VS
  7. open VS and go to Tools > Options > Projects and Solutions > Locations
  8. Change the folder paths back to their default locations
  9. Save settings
  10. Restart VS
  11. Check that you can now see the templates when creating a new project

Please let me know if this solves your issue,

Best regards,

Levie

0 votes

Be sure to use https otherwise access to camera is denied.

 

 

  • Davorin Panič answered Apr 30, 2019 - 11:57 am
  • last active Apr 30, 2019 - 11:58 am
0 votes

Hi Glenn,

you can use a DataGridViewButtonColumn and handle the CellClick event of the DataGridView control or you can use a DataGridViewColumn and assign to the Control property of a cell a Button instance. When you a attach to the Click event, you can also handle this event.

Both approaches are shown in attached example.

Example was created with Wisej 2.0.22.

Best,

Jens

0 votes

Hi,

this might depend on how the redirection is done.
I just tried here with 2 local htm files and a redirection via meta refresh tag.
In that case I get 2 DocumentCompleted events, one for the original and one for the redirected url.

Maybe this also works in your environment ?
Find a simple example attached.

Best regards
Frank

0 votes
In reply to: RTL for datagridview

Thanks Eyal,

I have logged issue #1868 for it.

We´ll inform you when a fix is available.

Best regards
Frank

0 votes

Hi Glenn,

did you try attaching to the DataGridView´s RowsAdded or UserAddedRow event ?

If your DGV is bound to a BindingList you can also attach to the corresponding event.

Best regards
Frank

 

0 votes

Hi Frank,

After testing again : it only shows up in Express, when run from VS2015.

I tried deployed on Win10 64 /IIS 10 and also Win2012 /IIS 8 and this is working well.

Regards.

0 votes
In reply to: RTL for datagridview

Hello Frank,

 

I have attached a grid with some sample data, the problems you can see are:

  • When you resize a column to the right, if the size becomes bigger then the grid width then all column sizes are corrupted
  • When you try to reorder a grid column it moves the column to the left side instead of the right side

 

My guess Is that everything is being tried to be arranged from left to right and that’s why you see thr problems

 

P.S

I have removed the bin folder because it won’t compress to less the 4 MB

0 votes

Hi Hitesh,

 

I’m sorry this happened to you!

Please follow these steps:

  1. Right click the toolbox and click “Reset Toolbox”
  2. Right click the toolbox and “Add Tab”, name it “Wisej 2”
  3. Right click the Wisej 2 tab and click “Choose Items…”
  4. Click “Browse…”
  5. Navigate to: “C:\Program Files\IceTeaGroup\Wisej 2\bin”
  6. Add the DLL files in that folder (You’ll get some errors while adding certain DLL’s, some don’t have toolbox components, just click okay to skip them)
  7. Click “OK”

Other option:

You can open the Wisej installation application and click “Uninstall” and try re-installing it.

Please let me know if this solves your issue!

 

Best regards,

Levie

  • Levie (ITG) answered Apr 29, 2019 - 3:26 am
  • last active Apr 29, 2019 - 3:34 am
0 votes

Hi Edmond,

 

You should try adding Responsive Profiles to your application.  Right-Click your project > Add Item > ClientProfiles.json.

 

You can add a handler for the ResponsiveProfileChanged event on your form and update the UI accordingly.  With this event handler, you can determine the device type and screen width from the “CurrentProfile” object property.

 

You will also notice in Wisej 2 you can directly edit different screens for Responsive Profiles from the designer window (At the bottom of the designer window shows “Default Profile”).

 

Please let me know if this helps you!

 

Best regards,

Levie

0 votes

Hi Eric,

what IIS version are you using ? 32 or 64 bit ? Express ?

TIA
Frank

0 votes

If you simply need to get one image or video from the camea, use an Upload control with AllowedFileTypes property set to “image/*”

 

  • Andrew Niese answered Apr 28, 2019 - 1:50 am
  • last active Apr 28, 2019 - 1:50 am
0 votes
In reply to: RTL for datagridview

Hi Eyal,

thanks for your feedback.

Can you please describe the problems you encountered in detail
and/or provide a test case that shows them ?

Thanks in advance !

Best regards
Frank

0 votes

Follow the project with a Widget in a form and the widget into an userControl …

0 votes

Frank, When I use the widget inside an userControl , the call “this.getParent().GetValues(“Ok”)” doesn´t works … gives an error  …

I need to use the widget inside a user control … is there an way to do it ?

 

Regards

 

Marcelo Blank

1 vote

Hi Carl,

 

To add items to the toolbox:

Right click the toolbox and click choose items.  Then click “Browse…” and select the Wisej.Framework dll from wherever it is stored in your computer (Try C:\Program Files\IceTeaGroup\Wisej 2\bin as this has extensions as well).

I will get back to you on the adding data source problem!  Thanks for your patience.

Please let me know if the toolbox solution works for you!

Best,

Levie

0 votes

It’s a problem caused by js.arcgis.com: https://github.com/Esri/esri-loader/issues/154

  • Luca answered Apr 24, 2019 - 3:59 pm
0 votes

See https://github.com/iceteagroup/wisej-examples/tree/2.0/PannellumExample

Use the Options.hotSpots array:

 this.pannellum1.Options = new
 {
 type = "equirectangular",
 autoLoad = true,
 autoRotate = -2,
 panorama = "https://pannellum.org/images/bma-1.jpg",

 hotSpots = new object[] {
 new {
 pitch= 14.1,
 yaw= 1.5,
 type= "info",
 text= "Baltimore Museum of Art",
 url = "https://artbma.org/"

 },
 new {
 pitch= -9.4,
 yaw= 222.6,
 type= "info",
 text= "Art Museum Drive"
 },
 new {
 pitch= -0.9,
 yaw= 144.4,
 type= "info",
 text= "North Charles Street"
 }
 }
 };

Detect the click:

private void Pannellum1_WidgetEvent(object sender, WidgetEventArgs e)
{
  if (e.Type == "hotspot")
     AlertBox.Show(e.Data.text);
}

 

  • Luca answered Apr 24, 2019 - 3:35 pm
Showing 6041 - 6060 of 11k results