So I do it on the client side not server side?
OK, so a normal class that contains my validation rules (read from DB), if the validation fails, I throw an exception, any such sample in your samples online?
Thanks
Hi,
I need to add custom validation to DTOs and Entities. This validation cannot be satisfied by the usual Data Annotations.
Is it okay to access DB when inside DTO or Entity to get some data from the database and then validate the object?
Is there a better way of doing it, the boilerplate way?
Thanks
Do you think I can inherit from this class: AbpWebViewPage
then add my code there? In my case, the things I want to read from DB are specific for a View, so is it possible for that View only, to use a class that inherits from AbpWebViewPage and that read some data from DB to use on the View?
Thanks
Hi,
In one of the forms I am working on. I need to show/hide fields. The data to show/hide fields is stored in the database, so for example, Field 1 - Show, Field 2 - Hide.
So in the cshtml view (Angular view) I need to load this info from the database. Is this doable?
The reason I am asking is because this .cshtml view is used by Angular not a normal MVC View that I can pass a Model to it.
Thanks
How can I get latest features so that I have latest features? Can I upgrade the code? or I have to replace the entire code?
Problem solved!
In the Web.config I was setting this:
<add key="WebSiteRootAddress" value="http://localhost:6240/{TENANCY_NAME}" />
Seems this doesn't work. On production, I will just put the placeholder as a subdomain.
Thanks
Notice how the link is being generated.
<a class="postlink" href="http://localhost:6240/">http://localhost:6240/</a>Default./Account
Where is that . coming from?
Thanks
Hi,
I clicked on Forgot Password to retrieve the password for one of the users. I enter the tenant name and email and I receive the email.
Then, when I click on the link inside the email, it opens as follows:
http://localhost:6240/Default./Account/ResetPassword?userId=sLwljR%2FBdR7W64QgwVFk%2Bw%3D%3D&tenantId=mFlm%2BKHDrbFA%2BQWcyocM9g%3D%3D&resetCode=9748642471e34c738bea375aefa66c86
And the page shows something like:
What's wrong?
So basically, first time the application runs, the XML files are stored in the database?
So, should I add more keys for my application in the XML files or through the website? I am confused here.
Thanks, Bilal