All Answers

0 votes

Alexander,

please provide a compilable test case that helps us to reproduce the issues you have found.

Best regards
Frank

0 votes

Shady,

our Wisej Mobile Integration extensions creates hybrid applications. It does not make native applications.
If you intend to create a native apk with Android Studio and Java refer to Android Studio documentation, it´s not a Wisej issue.

Best regards
Frank

0 votes

Hi Paul,

in my Wisej .Net 6.0 Project I put the connection strings in Default.json like this:

{
...
},
"settings": {
"dbConnectionLiveString": "Server=xxx;Database=xxx;user id=xxx;password=xxx;",
"dbConnectionTestString": "Server=xxx;Database=yyy;user id=xxx;password=xxx;"
}
}

Without further ado you can access the strings via Wisej.Web,Application class:

var dbConnectionString = Application.Configuration.Settings.dbConnectionLiveString;

Cheers, Gerhard

0 votes

I public by via FileFolder and OneDrive.

In App Service tool Code editor I see, in App Service have files: Default.html  and Default.json files.

0 votes

Hi Ainras,

If you used the VS publishing tools to deploy to Azure App Services then you’re probably missing the Default.json and Default.html files.

You’ll have to upload them to your service share via FTP.

HTH,

Alaa

0 votes
In reply to: Sales Issues ..

Hi Shady,

Thanks for reaching out!

We’ve received your request and will reach out soon.

Thanks for your patience!

Best,

Levie

0 votes

Hi Branko

Today was relased WisejNet 3.0.11 and also the fix on RibbonBar extension that resolve the issue that you comment us, thanks

Here let a little sample and a video gif of it

HTH

 

  • Paul answered Jun 22, 2022 - 4:28 pm
0 votes

Hi

I attach the report sample in Net6
When you compile it an you can see an error, but this are for net48 and can go ahead.

Also can see the output in the pic attached

HTH
Paul

  • Paul answered Jun 22, 2022 - 5:57 am
0 votes

Dear friends, once again I’m back seeking for your support. Alaa, thank you for your support but it seems my labor is in vain. It seems the reportviewer only loads the report under the asPxWebDocumentViewerWrapper1_LoadComplete!

I’ve tried to call the Update method in the ASPxWebDocumentViewerWrapper Class under the under the OpenReport Method but the behavior of unending loops still occurs.

I’ve reattached the sample project with a database file in the bin folder. Its a VistaDb File and the connection string can be changed in the WebConfig file. I hope you shall be able to reference several required DevExpress Libraries as I cannot attach them here because of the file size limitations.

I’m eagerly waiting for your support.

Thank you

0 votes

Dear Nagabo,

I believe that there’s a mistake in my answers.

ASP.NET wrapped controls cannot be used directly in Wisej events, everything that uses an ASP.NET control has to be done inside the control’s event:load, preload, etc…

So you can either:

A- Put your code inside the wrapped ASP.NET life cycle events

B- Use a JavaScript based control.

Sadly, we can’t change how those type of controls work.

For more info you can go to this link here: https://docs.microsoft.com/en-us/previous-versions/aspnet/ms178472(v=vs.100)

HTH,

Alaa

0 votes

Dear Alaa,

Thank you for your support.

  1. I’ve used the Update method in a button click event as you’ve suggested. The result is that the Report is not shown or loaded though the viewer seems to have been updated.
  2. I’ve also used the Refresh method in the sameway but an error has been thrown “Partial Public Class ASPxWebDocumentViewerWrapper” Class as shown in the attached image.
    Please, your direction is still needed here.

Thanks

1 vote

Hi Nicholas
Sorry for the late answer
Sadly, browsers don’t let you browser a user’s computer and
the OpenFileDialog maps drive units on server, not user pc.

But for do your goal, there are three options

1) upload files using the Upload control or drag and drop a file (see docs online) and process it on server
2) user the https://www.nuget.org/packages/Wisej-3-ClientFileSystem extension which uses the browser’s file access api
The client file access api is documented on the mozilla web site.
3) contact sales for custom support, if our goal is more complex and is outside of our free support scope.

HTH
Paul

  • Paul answered Jun 20, 2022 - 4:29 pm
-1 votes

Hi Ngabo,

The sample you provided won’t work for us because it’s missing the DB file.

You can try adding a asPxWebDocumentViewerWrapper1.Update() or asPxWebDocumentViewerWrapper1.Refresh() to update or refresh your Report Viewer.

And for the “two tabs” issue, I couldn’t reproduce it, perhaps you’re using Application.Navigate() somewhere within your app?

HTH,
Alaa

  • Alaa (ITG) answered Jun 20, 2022 - 12:36 pm
  • last active Jun 20, 2022 - 4:12 pm
1 vote

Hi Nicholas,

I just wanted to also point out that with this here you’re going to create a Control for each individual cell.

if the grid has 1000 rows it creates a 1000 controls. if it’s just meant to display custom content in a grid cell then the answer in one of your previous posts (https://wisej.com/support/question/display-progrgress-percentage-in-datagridview-column) is the right thing to do.

Adding to that you don’t even have to change the value of the cell with HTML, but you can instead handle CellFormatting and format what is rendered in the cell without putting html in the cell value.
Let me know if you need anything!
Best,
Alaa

//

1 vote

Hi Nicholas,

You can achieve your goal using :

'1
Dim progressBar As New ProgressBar
progressBar.Value = 10
progressBar.Dock = DockStyle.Fill

dataGridView1.Rows(0)(3).Control = prog

or

'2
dataGridView1.Rows(0)(3).Control = New ProgressBar With {.Value = 10, .Dock = DockStyle.Fill}

HTH,
Alaa

  • Alaa (ITG) answered Jun 18, 2022 - 3:57 pm
  • last active Jun 18, 2022 - 3:58 pm
0 votes

Hi Michael,

You can click the Close button on that window, from there you’ll have the option to deactivate your license and re-activate it with a new license key.

HTH,

Alaa

0 votes
In reply to: Payment Gateways

Paul meant that paypal and stripe already provide easy to use C# rest apis ready to plug in a wisej app and fully documented and maintained. There is nothing for us to rewrite.

  • Luca answered Jun 17, 2022 - 1:19 pm
  • last active Jun 17, 2022 - 1:19 pm
0 votes

Hi Vincent

Please, try the attached mixin theme

On it there is this change

"styles": {

“css”: “{ \”transition\”: \”background-color 1s linear\” }”

},

HTH

regards

  • Paul answered Jun 16, 2022 - 9:36 pm
0 votes

Hi Neil

This kind of question sadly is outside of the scope of help that we provide in the forum.

This info can help you to go in the right direction
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/routing?view=aspnetcore-6.0

Also we can provide proffesional services for specific advanced request, in 4h support packages
Here the link for contact us

Professional Services Request

Thanks and regards

  • Paul answered Jun 16, 2022 - 4:37 pm
0 votes

It’s a lot easier than the code you attached. There are two ways to use custom editors:

Light way:  column1.Editor = new TextBox()

This is all you need. TextBox can be MyTextBox() or whatever control you like. When a cell in column1 enters edit mode the single instance (for that column) of the edit control is moved to that cell, initialized with the cell formatted value and then the Text property of the editor is parsed and stored in the cell.

More involved way: Custom column, custom cell, and custom editor implementing IDataGridViewEditingControl. Of course there are also ways in between where you can change a cell type in a standard column, or change only a single cell, etc.

// custom column using a custom cell
public class RICStandardColumn : DataGridViewColumn {
    public RICStandardColumn() : base(new RICStandardCell()) {
    }
}

// custom cell using a custom editor
public class RICStandardCell : DataGridViewCell {
   public override Type EditType { get { return typeof(RICStandardEditingControl); } }

   // optional override
   public override void InitializeEditingControl(Control editor, DataGridViewCellStyle style) {
    // initialize the editing control here.
    base.InitializeEditingControl(editor, style);
  }
}

// custom editor implementing IDataGridViewEditingControl
// if you extend an existing class like DataGridViewTextBoxEditingControl just call the base for the initialization.
public class RICStandardEditingControl : TextBox, IDataGridViewEditingControl {

  public DataGridView DataGridView { get; set; }

  public void ApplyCellStyleToEditingControl(DataGridViewCellStyle style) {
  }

  public string GetEditingControlFormattedValue() {
   return this.Text;
  }

  public void PrepareEditingControlForEdit(bool selectAll) {
  }

  protected override void OnTextChanged(EventArgs e) {
    base.OnTextChanged(e);

    // this is necessary to inform the grid that something has been edited or
    // the cell is never dirty.

    // ONLY when implementing IDataGridViewEditingControl, otherwise Wisej
    // will automatically use TextChanged for light implementation simply assigning the Editor property
    // of a column. Cannot mix the two.

    this.DataGridView?.NotifyCurrentCellDirty(true);
  }
}


  • Luca answered Jun 16, 2022 - 3:30 pm
  • last active Jun 16, 2022 - 3:32 pm
Showing 2181 - 2200 of 11k results