MVC :: Remember Previous Locations?
Jun 3, 2010My MVC 2 app is somewhat complicated in that a user can reach different parts of the site in different ways
How can i add a "back" link so that it remembers where it came from?
My MVC 2 app is somewhat complicated in that a user can reach different parts of the site in different ways
How can i add a "back" link so that it remembers where it came from?
In login control of asp.net there is a remember me checkbox. What is the functionality of this checkbox? What it does basically? Is there any way to put space between checkbox and its associated label?
I saw Windows Live login control has an extra checkbox Remember my password? How can we achieve this feature in our custom login control? I have read many tutorials but I can not able to solve my queries.
i have a login, and wanted to know how i could use the remember me function, (so each time the user visits the site, even though they are not logged in, it would auto log them in) but without using the actual remember me checkbox. Is there any extra code i need to write, and if so, what?
View 11 Repliesim having a login control in my website with a remember me option. i check the remember me but it does not remember me. here is a part of my web.config. i browsed over the other answers on this forum but nothing :( I also have the cookies allowed
[Code]....
I am developing a web application in ASP.NET3.5 with C#. I also using Telerik RadAjax Control. When user click the menu then open the page with a new tab(Like web Browser).I want to create, when user back any previous tab(page) the will be show the previous data without loading 2nd time( like browser tab). Is it Possible ?
View 2 RepliesI'm using a wizard control with 4 steps, when I use the previous button to navigate back to the previous step the page reloads but at the bottom of the page.Instead of showning the whole of the page, the user views the footer of the site and the previous button and next button.I'm sure there is a very simple answer to this but I just can't figure out how to get the page to reload to the top.
View 8 RepliesI'd like to implement a hyperlink in many locations on my website, however I just want to have it defined once not several times over. What is the best way to achieve this?I started down the road of listing it in the node of web.config but I was only able to get that to list as a literal and wasn't successful in having it end up as a hyperlink.I don't know much about master pages, but what I do know about them seems to me that they aren't the answer for this task because they wouldn't allow for that hyperlink to be located on some pages and not others and in different locations on some pages than others.
View 2 RepliesI have an asp .net form and within it two buttons. One button posts to a page, the other posts to self. I don't have an issue, but some users report that upon pressing the first button that posts to another page, then pressing back in browser, the button that should post to itself and do stuff code behind posts to the other page. a bit of code here but its standard stuff
Code:
<asp:Button ID="btnPreview" runat="server" PostBackUrl="xpreviewmycard.asp" Text="Preview" ValidationGroup="card" CausesValidation="true" />
<asp:Button ID="btnsend" runat="server" Text="Send" ValidationGroup="card" CausesValidation="true" />
I am having problem while using onclick="javascript:history.back();" with Aspnet. In the first page i filled some data and click search button it show some results, i click on particular result for its details which navigate to the 2nd page but when i click on custom back button it refresh the page and all data set to initial values,when i use onclick="javascript:history.back();" I get nothing but the page displays "webpage has expired."
View 1 RepliesCan you point me to a site where someone can explain file locations dll, applications etc. I guess it was too easy with asp classic to drop a file in a folder. How does all this file management work with aspx?
View 3 RepliesAre the various subpages that you can put on an Ajax updatepanel in fixed locations or can they be opened and closed in place of one another like forms on an MDI form in Visual Basic?
View 5 RepliesI have an assembly loaded in the "old location" GAC at C:Windowsassembly. The applications using the GAC are being developed in Visual Studio 2010 and the .NET framework 3.5. Now, I moved all of my applications to a new development server and I'm using gacutil.exe to install the assembly into the GAC on that new server but, it's installing to C:WindowsMicrosoft.NETassembly. I know the 4.0 framework gacutil.exe installs the assembly to the new GAC location . how to install it to the old location.
View 1 RepliesI have an xml file with custom routes that I'm creating routes from on Application_Start in Global.asax. Some of those routes require authentication, some don't. Currently I have "location" entries for all those routes in web.config to control authorization.
I wonder whether there is a way to configure locations on application start at the same time I configure routes, so that I don't need to have entries in web.config.
What I want to do it rewrite urls for a bunch of static pages in a locations folder such that
/london
maps to the physical file if it exist in the locations folder eg.
/locations/london.aspx
Is this possible with url rewrite. I can't get the rule to work.
<rule name="Rewrite Locations">
<match url="^([_0-9a-z-]+)/*" />
<conditions>
<add input="/locations/{REQUEST_FILENAME}.aspx" matchType="IsFile" />
</conditions>
<action type="Rewrite" url="/locations/{R:1}.aspx" />
</rule>
Where to store file locations in 3-Tier Architecture Website?
View 4 RepliesI have to do the following.
There is a database (SQL Server) with locations (longitude and latitude values). I need to plot the route on the map (Google or otherwise) based on those locations extracted from database. Plotting lines and map are on ASP.NET webpage.
What would be the most and cost-effective way to accomplish the task above?
I am trying to configure Entity Framework 4 in the Web.config file using this ConnectionString
[code]....
I would like remove the "*" and add the actual path for my dll file.
How to find the path for a dll in Visual Studio with no add-on? (I am pretty new in .net)
I have array of lattitude and longitude which is derived from one type of polygon, now i want to find all latitude and longitude from my database which are inside this polygon.So how can i achive this?
View 1 RepliesI am doing a web application in Asp.Net, to retrieve Near By Address from Google Maps API.
For getting this, I am using the below Link: [URL] ....
From this I am getting Places which are surrounded by Radius of 5 kms. My Problem is that,
I am passing "types" parameter here. This parameter is supporting the keywords from below link only: [URL] ....
But I want to send "types" parameter as of my wish, like either as street/area from Street Column in my Database.
Ex:
types=area or street or place
I was struck at this point.
I am using VS 2010 with an ASP.Net web application (FW: 3.5). When I run the app in VS, I get the following message:
c:WindowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oote7d09027703efd1App_Web_commandmodule.aspx.98f065d9.hwdz-ui2.0.cs(150): error CS0433: The type 'ASP.commandmodule_command_master' exists in both 'c:WindowsMicrosoft.NETFrameworkv2.0.50727Temporary
ASP.NET Files
oote7d09027703efd1App_Web_command.master.98f065d9.5f4zhfs0.dll' and 'c:WindowsMicrosoft.NETFrameworkv2.0.50727Temporary ASP.NET Files
oote7d09027703efd1App_Web_ltl_wu4_.dll'
I have deleted the temporary files/folders and as soon as I run the app, I get the same message and the files reappear. This is a show stopper and I do not know where to turn. I have searched the web, but the only thing I found was suggestion to delete the folders, which did not work.
I have wriiten the following code to avoid zoomout of the markers and to place the makers center to the map.
var bounds=new google.maps.LatLngBounds();map.fitBounds(bounds);map.setCenter(bounds.getCenter());
The above code is working correctly.But when i wrote setInterval function to drop the markers after a specific interval of time , the above piece of code is not working and the map is not getting displayed.This the code i have written
window.onload = function () {
var mapOptions = {
center: new google.maps.LatLng(markers[0].lat, markers[0].lng),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
var infoWindow = new google.maps.InfoWindow();
[Code] ....
There is 1 ASP.NET checkBox, 1 Button, 1 Gridview in my web page with GeoMap.Requirement is:When I check the "CheckBox", and click on "Button", ALL the locations(Latitude, Longitude also saved in DB) saved in DB should show inside "GeoMap" as well as in "GridView".I had done it using "DropDown" (showing particular location NOT ALL) but finding difficulty using "CheckBox" (to show ALL location at once)...
View 1 RepliesI have a page in my web app that is aquiring an aggregate of data from my SQL Server. What I want to do is display that content into categorized columns in a DataGrid based on the ID number of the record. Each category would have a category name (header) and have listed underneath the subject with the NavigateURL pointing to another page to display the full content.
For instance:
Category1
=============
Grocery Stores (ID:100)
Hobby Shops (ID:101)
Furniture Stores(ID:102)
Category2
=============
Call mom (ID:200)
Make Dr. Apt. (ID:201)
Wash dog (ID:202)
Category3
=============
Dinner with Pam (ID:300)
Breakfast at Tiffany's (ID:301)
Brunch at the hotel (ID:302)
how to seperate the topics based on the ID like in the above example from one query. I'm using one query to reduce the amount of connections to the SQL Server in hopes of making it more efficient.
I have 4 to 5 rows of latitude and longitude now I want it to display in map showing the path (line on map)
example: I have this
1> 12.32333232,20.334343542
2>13.32333232,21.334343542
3>14.32333232,24.334343542
4>15.32333232,28.334343542
now I want it to show on google map and drow lines based on the latitude and longi
I am doing a graduation project ..... it suppose to be with google maps asp.net first i used ur code to show multiple markers and i did the code that get the location by ur ip address but when i mergine these codes together none of them work..i just need when i open my website the map centered on my location and and showing the markers in that area this is the code that i found for location by ip address
<script type="text/javascript">
if (navigator.geolocation) {
navigator.geolocation.getCurrentPosition(success);
} else {
alert("Geo Location is not supported on your current browser!");
[code]...
and another thing how to change the marker i wanna put any image but every marker has his own image according to table is db marker type = 1 then the image is..... . png ETC.