All Answers

0 votes
In reply to: multiple iframe forms

You can’t create Wisej objects as if they were ASP.NET objects. They don’t return an HTML string as ASP.NET or PHP do. They create javascript objects on the client in a Single Page Application (SPA) system. You can create a Wisej application inside an IFrame easily, simply use the URL to your Wisej application:

<iframe src=”/application?formToOpen=my.app.Form1″></iframe>

Where /application is a Wisej application. In Program.Main(args) you can read the value of “formToOpen” and create that form or take any other action.

Please change your email address from  sssssssssss@aa.it to something usable.

 

 

  • Luca answered Aug 23, 2017 - 2:21 pm
0 votes

Thanks Truong !

Can you please tell me the Wisej version and the Visual Studio version that you are using ?

Best regards
Frank

0 votes

Nothing in my code.
I create new Wisej Project, and add new grid into a form.
Error will occur.
Please view my attach video.

https://youtu.be/w4UWuTTA41I

0 votes

Hi Truong,

even with 2 datagridviews on a tab control I cannot reproduce, sorry:

t1

Any chance to provide us with more details or the actual code ?

Thanks in advance,
Frank

0 votes
In reply to: Button padding

Hi David,

using the tools component is pretty straight forward. Just edit the Tools property of your textbox:

tools1

You can set up various parameters like tooltip text, position, icon etc. and it will appear like this:

tools3

Then you can just react on the click event and add your custom code like a modal dialog that includes various options etc. :

tools2

Hope that helps.

Best regards
Frank

PS: I will add this information also to the docs.

0 votes

Hi Truong,

thanks for providing further information, but I still cannot reproduce it here, not even with multiple datagridviews on the same page.

What are the last 2 columns in your sample ? They don´t seem to have a name ??

Can you please send me the code to frankATiceteagroup.com ?

Thanks in advance !

Best regards
Frank

0 votes
In reply to: App Theme With buttons

Hi Orel,

there is a blog article that shows several ways to apply styles to objects:

https://wisej.com/blog/shadow_on_the_panel/

Hope that helps.

Best regards
Frank

0 votes

Hello Frank,

Thanks for the Tip, now it works.

In my case I’m trying to build a vertical label. Any chance to see a “Angle” property added to a standard label ?

 

namespace WebPage2
{
public partial class UserControl1 : Wisej.Web.UserControl
{
private Wisej.Web.StyleSheet mStyleSheet=null;

public override string Text
{
get { return label1.Text; }
set { label1.Text = value; }
}
public string SetCssClass
{
set { mStyleSheet.SetCssClass(label1, value); }
}

public UserControl1()
{
InitializeComponent();

mStyleSheet = this.styleSheet1;
}
}
}

 

0 votes

thanks! it works!

  • Orel Gabay answered Aug 23, 2017 - 6:54 am
  • last active Aug 23, 2017 - 6:55 am
0 votes
In reply to: Button padding

I haven’t tried the Tools collection yet.  Is there an example of how to use it online?  I found the class reference for ComponentTools in the Docs, but no example code, and unfortunately I can’t figure it out how to use it from the VS autocomplete 🙂

  • David answered Aug 23, 2017 - 4:07 am
0 votes

It does not work correctly.
With the first time, the Design group always shows.
However, when I click other tabs, open Edit Column popup in other grid, the Design group disappeared.

  • Truong Nguyen answered Aug 23, 2017 - 1:53 am
  • last active Aug 23, 2017 - 1:54 am
0 votes

Correction, it´s been fixed in the meantime and will be included in the next build.

Sorry for any confusion,
Frank

0 votes

Hi Sergio,

I tried to reproduce, but failed so far. Can you please give an example of the URL that you are using ?
Could it be related to the load balancer issue you had reported ?

Thanks in advance.

Best regards
Frank

0 votes

after further investigations the issue when i try to dynamicali set the openedimagekeyvalue of a node AND i launch the expand method on this node AND i try to do it in a a subcontrol.

so : forget-it. i’ll just make some small changes in my code and everything will be fine.

sorry guys

0 votes

If I understand it correctly, the events will be fired but base.OnBeforeSelect(e) and base.OnAfterSelect(e) won’t raise a NullReferenceException.

Please confirm so I fix the code accordingly.

0 votes

Here is the attachement.

0 votes

I can reproduce the null exception. It’s WJ-8406.

Non selecting the first node is by design. That behavior in WinForms has always created problems with the selection events and having to set the node to null.

  • Luca answered Aug 22, 2017 - 4:09 pm
0 votes

I can’t reproduce. I tried with OpenedImageKey and OpenedIndexIndex using existing and non-existing images. Before and after adding the node.

It may have been fixed as part of something else. Can you share a small sample please?

 

  • Luca answered Aug 22, 2017 - 4:05 pm
0 votes

Hi Tiago, the attachment is missing.

  • Luca answered Aug 22, 2017 - 4:01 pm
0 votes

Hi Truong,

the property you´re looking for is Name and it´s already in the Design section in the column designer:

columnname

Hope that helps.

Best regards
Frank

Showing 8581 - 8600 of 11k results