Reputation: 51
Is there any option or any method , i have change content or form or move one page to another without refreshing the page or change in the url ..
My client want a single url after login and need all the functionality .
I m using asp.net with c# and this project is done
is this possible?
Upvotes: 2
Views: 1012
Reputation: 439
You have several options Javascript, CSS or lot of C#
Javascript Either you use Javascript to change the content of your page. In that case I advise you to use a Javascript Framework like AngularJS, jQuery Backbone ... With javascript you will be able to manipulate the dom of your page and so to change the content.
CSS This is the one option I not very confident in. You can display:none the content you dont want to display and change the visible part of your page as your user is clicking on content. It will require Javascript but wont be very dynamic
C# Using variable POSTED to your unique Controller/Action you can choose which page to render in a Layout. If you are using MVC.
Upvotes: 3
Reputation: 3327
Upvotes: 0
Reputation: 100
and you can try adding some jquery/ajax - https://api.jquery.com/load/
Upvotes: 1