S
SSIS_Newbie_1234
Guest
Hi,
As usual I'm left supporting another horrible MVC application, made by a developer that left the company.
In general is unbelievable hard with Model View Controlller, since the relevant bits of code are hidden all over the shop.
So I'm simply trying to find where and how validation occours, since I need to add more.
Some existing fields are validated, somehow (by magic it would seem).
For example, Business Group.
Running the code locally at least that is working this time.
But why can't I simply search for the existing validation text? Then I would know where it is, find it and add validation for my new field.
As an example, the validation says things like:
Please correct the validation issues below
or
Please select the business group.
But such strings cannot be found in Visual Studio, this time using 2017 edition.
I suppose alternatively VS \ C Sharp may know to validate the columns because they are not null?
But then how is the prompt provided? I mean it's not like it's an SQL Error for saving a record without a not null value.
Other things don't work to, there is a button labelled Create Reservation - that can't be found, even though I know for a fact that text exists in the solution since I eventually found it another way.
Any ideas to make it search properly? Use Windows Perhaps?
Continue reading...
As usual I'm left supporting another horrible MVC application, made by a developer that left the company.
In general is unbelievable hard with Model View Controlller, since the relevant bits of code are hidden all over the shop.
So I'm simply trying to find where and how validation occours, since I need to add more.
Some existing fields are validated, somehow (by magic it would seem).
For example, Business Group.
Running the code locally at least that is working this time.
But why can't I simply search for the existing validation text? Then I would know where it is, find it and add validation for my new field.
As an example, the validation says things like:
Please correct the validation issues below
or
Please select the business group.
But such strings cannot be found in Visual Studio, this time using 2017 edition.
I suppose alternatively VS \ C Sharp may know to validate the columns because they are not null?
But then how is the prompt provided? I mean it's not like it's an SQL Error for saving a record without a not null value.
Other things don't work to, there is a button labelled Create Reservation - that can't be found, even though I know for a fact that text exists in the solution since I eventually found it another way.
Any ideas to make it search properly? Use Windows Perhaps?
Continue reading...