Base solution for your next web application

Activities of "avanekar02"

Answer

even without using datepicker the same issue also will you hellp me fix datepicker issue

Like to check what is the role of the current logged in user

current logged in user got using abpsession.userid but how to get the role without calling controller

also i put up a date issue and attached a image , yesterday please assist me on that ssue as well

regards Anwar

Answer

have attached a file called err.jpg

also datepicker not working

thanks and appreciate help

my code

                        <input class="form-control date-picker" ui-jq="datepicker" type="text" value="" ng-model="vm.coursedetails.startDate" />
Question

hello

date is captured correctly in theform, when transfered to controller through createinput DTO , the date changes to {1/1/0001 12:00:00 AM}

in the createinputDTO it is defined as

[Required] public virtual DateTime StartDate { get; set; }

in the form createmodal the definition is as

<input class="form-control" type="text" name="StartDate" ng-model="vm.coursedetails.startDate" ng-class="{'edited':vm.coursedetails.startDate}">

can you tell me what i doing incorrect

Question

Where is the fullcalendar.min.css file in the application i geenerated it is a SPA , can you please tell me how to implemnt the same

Regards Anwar

brother how do i check if current user is logged in from FrontEnd pages,

Thanks

Answer

<?xml version="1.0" encoding="utf-8"?> <configuration> <configSections> <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> <a class="postlink" href="http://go.microsoft.com/fwlink/?LinkID=237468">http://go.microsoft.com/fwlink/?LinkID=237468</a> --> </configSections> <entityFramework> <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" /> <providers> <provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" /> </providers> </entityFramework> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <dependentAssembly> <assemblyIdentity name="Newtonsoft.Json" publicKeyToken="30ad4fe6b2a6aeed" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-8.0.0.0" newVersion="8.0.0.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Collections.Immutable" publicKeyToken="b03f5f7f11d50a3a" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.0.34.0" newVersion="1.0.34.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="EntityFramework.DynamicFilters" publicKeyToken="146423a1b8d60775" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-1.4.11.0" newVersion="1.4.11.0" /> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="AutoMapper" publicKeyToken="be96cd2c38ef1005" culture="neutral" /> <bindingRedirect oldVersion="0.0.0.0-5.1.1.0" newVersion="5.1.1.0" /> </dependentAssembly> </assemblyBinding> </runtime> <startup> <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.6.1" /> </startup> </configuration>

Question

Hello ,

i would like to change database name name frequently as my project demands it when i created a copy of the database and changed it in the connectionstring in the web,.config in the web project

it gives me the following error

The model backing the 'CmsProTestDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database (<a class="postlink" href="http://go.microsoft.com/fwlink/">http://go.microsoft.com/fwlink/</a>?

pleasenote i did not find any connectionstring element in the app.config in the migrations project

please tell me how i can do this.

regards Anwar

Answer

There is no connectionstring section in the App.config in the migrator

Showing 291 to 300 of 315 entries