Base solution for your next web application

Activities of "avanekar02"

my code

@section Scripts { <script src="~/Common/Scripts/jquery.fancybox.js"></script> <script src="~/Common/Scripts/jquery.fancybox-media.js"></script>

&lt;script type=&quot;text/javascript&quot;&gt;
    $(document).ready(function () {
        $(".fancybox").fancybox({
            openEffect: 'none',
            closeEffect: 'none'
        });

        $('.fancybox-media').fancybox({
            openEffect: 'none',
            closeEffect: 'none',
            helpers: {
                media: {}
            }
        });

        $('[data-toggle=offcanvas]').click(function () {
            $('.row-offcanvas').toggleClass('active');
        });
    });
&lt;/script&gt;

}

jquery.fancybox-media.js:89 Uncaught TypeError: Cannot read property 'helpers' of undefined(anonymous function) @ jquery.fancybox-media.js:89(anonymous function) @ jquery.fancybox-media.js:199 jquery.min.js:4Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check <a class="postlink" href="https://xhr.spec.whatwg.org/">https://xhr.spec.whatwg.org/</a>.

Question

Do you have an example of star rating ?

i would like to implement the same..

Thanks

please tell me how can i pass 2 parameters in href to the controller

Thanks

SPA

Answer

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

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

<?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>

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

Thanks

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

Showing 11 to 20 of 315 entries