Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "Mitch"

Answer

Hi @ismcagdas

As the final release of ASP Net Core 3.0 is due in 9 days, could you see if it's possible to update to it in ASP Net Zero 8.0 ?

Many thanks.

Answer

Thanks for the quick reply.

Really good to hear that you've already experimented with the preview.

Let's hope Microsoft fix the issues in the final release.

Answer

I don't think that there will be a version of ASP Net Zero for ABP.io for some time.

Also, I'm hoping to see Razor Components supported in the future as I use Telerik tools and many controls for Blazor/Razor Components have already been launched by Telerik. That's also why I'm interested in ,Net Core 3.0 as it's a requirement of Razor Components.

@Panic

Not to worry, I've resolved the issue. You just need to ensure the Controller for the reports isn't created in the Areas/App/Controllers folder but the /Controllers folder instead.

The required js files do not seem to be available from Areas/App/Controllers. I'm not sure why and I haven't got time to investigate, but at least it now works.

Hi @Panic

I'm finally getting around to using the Stimulsoft Reports with ANZ.

I've installed the Nuget for Stimulsoft Reports and created a Test cshtml Page and associated Controller, but everytime I run it I get Uncaught ReferenceError: StiJsViewer is not defined.

I'm already setting the entire ReportsController with [IgnoreAntiforgeryToken] just to be sure that isn't an issue.

I've asked Stimulsoft if they could help but they've asked me to send the project for them to look at. I'm a bit reluctant to send them an entire ANZ project as it seems overkill just for this small issue.

Have you ever had "Uncaught ReferenceError: StiJsViewer is not defined" when using with ANZ. If not, are there any setup gotchas that I might be missing when trying to get Stimulsoft and ANZ to play nicely.

Many thanks

Mitch

I'm using ASP.NET Core MVC & JQuery.

Are you trying to use British English date format?

If so, I have an ongoing battle with it when using ASP Net Zero as it seems give it USA date settings.

As an example, if I select the ASP Net Zero Language from the dropdown as French then I get "dd/mm/yyyy" which is correct. But if I set the Language to British English (en-gb) I get the US Date format "mm/dd/yyyy" instead of "dd/mm/yyyy",despite specifying en-gb when setting adding the Language as an option to the list.

Out of desperation I have totally removed the US English "en" option from the database. It then seems to behave itself. Might be worth a try.

Yes of course Aaron, HTML Helpers. It was a late night!

Many thanks for your offer of help. I've spent about 4 hours stripping my app down to the bare bones so that I can send you a representative example of the problem.

The email has just been sent to you along with a WeTransfer file as the app is too big to attach to an email.

As requested, the following was what I was getting for the Telerik control when bound to a String[].

Response {"result":null,"targetUrl":null,"success":false,"error":{"code":0,"message":"Your request is not valid!","details":"The following errors were detected during validation.\r\n - \r\n","validationErrors":[{"message":"","members":["caseConditionsArray"]}]},"unAuthorizedRequest":false,"__abp":true}

Request Payload {"id":"6effe3ec-5e0d-4dee-a4ba-a7e187f15cec","dpmsClientId":"0a3c603f-4e0b-43d5-05ae-08d5e0c249cb","caseStartDate":"03/07/2018","caseEndDate":"","caseFlag":"","caseConditionsArray":"Do not visit home","casePriorityMessage":"","ageAtReferral":"","caseNewReturner":"New","caseRole":"Survivor","timeElapsedBeforeSupport":"","caseLocation":"","currentSituation":"","currentStatus":"","statusFrequency":"","initialSituation":"","initialStatus":"","initialFrequency":""}

[AbpMvcAuthorize(AppPermissions.Pages_DpmsClientCases_Create, AppPermissions.Pages_DpmsClientCases_Edit)]
        public async Task<PartialViewResult> CreateOrEditModal(Guid? id)
        {
			GetDpmsClientCaseForEditOutput getDpmsClientCaseForEditOutput;

			if (id.HasValue){
				getDpmsClientCaseForEditOutput = await _dpmsClientCasesAppService.GetDpmsClientCaseForEdit(new EntityDto<Guid> { Id = (Guid) id });
			}
			else{
				getDpmsClientCaseForEditOutput = new GetDpmsClientCaseForEditOutput{
					DpmsClientCase = new CreateOrEditDpmsClientCaseDto()
				};
			}

            var viewModel = new CreateOrEditDpmsClientCaseModalViewModel()
            {
				DpmsClientCase = getDpmsClientCaseForEditOutput.DpmsClientCase,
					DpmsClientName = getDpmsClientCaseForEditOutput.DpmsClientName
            };

            viewModel.DpmsClientCase.CaseConditionsArray = viewModel.DpmsClientCase.CaseConditions.Split(',');

            return PartialView("_CreateOrEditModal", viewModel);
        }
Showing 31 to 40 of 62 entries