Client_ServerProcessing - Location?
Feb 1, 2010First ASP.Net project and I can't even find the location to Client_ServerProcessing. I even did a search of the puter with no luck
View 3 RepliesFirst ASP.Net project and I can't even find the location to Client_ServerProcessing. I even did a search of the puter with no luck
View 3 RepliesURL....This link shows a demo that let user to put origin and destination then get direction. I want to know how to add a option which is let user to use their current location as origin location (Location from).
View 1 RepliesI have a table in my database, in which a certain field holds the locations of text or doc files (the files are of a transcript for a chat session).
In the Gridview right now i able to show the link locations. But i want to have Hyperlink or Button in the links location in the Transcript Location fields.And on the click of which the txt or doc file opens up in notepad or microsoft word.
Following is my code when user enters hospital name and city, he will be navigated to this page to show location on map. Now I want to get user current location and draw the route between current location and destination. Is there any way to integrate to geocoding and geolocation?
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<style>
html, body, #map-canvas
[Code] ....
i need to develop a website which would run on an adroid tab. and whenever the user saves the data it should capture the longitude and latitude of the point where it is saved. no prob. at all at creating the data related and saving related website.
but i have been searching a lot for getting the geo location but all i am getting is using a map. i do not want to use any map nor do i want to show the data on the device i.e. on a map
I have a file upload to SQL Server 2005 DB that keeps timeing out at different times. I know about the web.config <httpRuntime maxRequestLength="2097151" executionTimeout="180"/> Where else are there times out settings?
View 8 Replieshow to link to the location on the same page on the server side with LinkButton
View 3 RepliesMy web.config has following settings :
Code:
<authentication mode="Forms">
<forms loginUrl="SignIn.aspx" >
</forms>
[code]....
and different settings for a folder - "user" inside root.
( same config file )
Code:
<location path="User">
<system.web>
<authorization>
[code]....
but when use the statement
Code:
Server.Transfer("~/user/somepage.aspx")
in code behind , the control goes to somepage.aspx instead of SignIn.aspx.
am using Asp.Net C# 2.0. My website is working fine in local. Website contains 2 js files included in master page. It works fine in local environment, but when i publish my website i get "Object expected" error on page load, and thus the js functions are not working in published website. Currently I am writing:
<script src="/javascripts/jquery.hotkeys-0.7.9.js" type="text/javascript"></script>
in the master page.
i have an application wherein i am using a web-service. Now the ip address of the machine where this web-service was residing has changed.
i try to update the web reference in my application and it is still trying to access the web-service from the old location. How do i change this to the new location.
I have already updated the new location in my web.config file.
I am trying to debug a problem where HtmlHelper is null in extension methods. Oddly the debugger claims it's fully populated, however I consistently get null exceptions. I'm trying to figure out where HtmlHelper should being instantiated in an attempt to see where my problem may be.
Where should HtmlHelper be Instantiated?
Update: In particular I am trying to implement the extension found here, [URL] within a masterpage. The error occurs on the MVC template's HomeController.Index(). There are some 'plugins'/virtualpathing that may be causing the problem (trying to avoid this can of worms), but, code the code is essentially the same as found here: [URL]. However, I don't want to trouble anyone with the details of all of that.
I have site ( ASP.NET, C# ) and I need to automatic show start page based on user location. Can I get name of user city if I have IP address of user ?
View 5 Repliescurrently I am working on an activities management system, in this application I want to give facility to show the visitor location of this site. I am using c# and asp.net so how we should start implementation
View 3 RepliesWe have an application that is making use of the location tag in the web.config file at the machine level - meaning like :WindowsMicrosoft.NETFrameworkv2.0...CONFIGweb.config, the one that applies to the whole server - this application has lots of virtual directories under it and for each one there is a <location path="IIS Web App NameCustomerA">...This seems to work ok for that app. But then we have a second app on the same server, and I'd like to add location tags to that app's web.config file - meaning the local web.config file in the app's directory - and have each one of them specify a location tag in a similar way
View 1 RepliesI just want to select some file and get it location as a string.
I want that when I click in the button upload, that some panel will appeared and I just select the file that I want and get from there the location of the file. I saw that I need to use
using System.Windows.Forms;
but when i write it i saw an erorr
Error 9 The type or namespace name 'Windows' does not exist in the namespace 'System' (are you missing an assembly reference?) C:WebApplication1WebApplication1WebForm1.aspx.cs 15 14 WebApplication1
I am deciding to output cache my page and i need to set duration as never expiring. how can i achieve this? Also if i do not specify any location, where will the cache get stored? client or server? Ram or hard disk ?
View 4 RepliesI have a controller that returns an image for a given parameter (productID). The image for a product is loaded from the database, but if the product is new, then there is no database record, or perhaps the image is null. In that case, I need to show an image that indicates that no image has been uploaded (e.g., a red X). The code to get the image from the database is straightforward, but the fallback image resides in the ASP.NET MVC application. The problem is, this is fairly generic code, and it will be used with areas later, so I want get the physical location of the file (i.e., "~/Images/noImage.jpb" to full file path). I know how to do this is a normal ASP.NET application, but how do I do this in a controller, in a way that won't break when the application is put in a subfolder?
View 2 RepliesWhich detect location most accurate.
View 4 RepliesI was going through a website I've taken over and came across this section in one of the pages:
<a href="javascript:window.location='<%=GetSignOutUrl()%>';">
// img
</a>
Apparently anyone who has ever used the site without javascript would not be able to log out properly (surprisingly enough, this has never come up).
So the first thing that comes to mind is
<a href="<%=GetSignOutUrl()" onclick="javascript:window.location='<%=GetSignOutUrl()%>';">
// img
</a>
Then I realized I don't know why I'm keeping the javascript call around at all. I'm just a little confused as to why it would have been written like that in the first place when a regular link would have worked just fine. What benefit does window.location have over just a regular link?
This is also the only place in the website I've seen something like this done (so far).
Edit: The programmer before me was highly competent, which is actually why I was wondering if there was something I wasn't taking into account or if he just made a simple oversight.
I want to implement the gps location in asp.net how can I do it ??
View 1 RepliesIs there a function that can determine your IP address or location? I am using ASP.Net (Visual Basic)
View 8 Repliesthe location in this if statement is where? I mean what can be the location where can I find the location of this file?
if (File.Exists(Server.MapPath("~/Elina/" + url + ".ascx")))
{
ElinaUserControl elinaPage = LoadControl("~/Elina/" + url + ".ascx") as ElinaUserControl;
MasterPageFile = elinaPage.MasterPage;
m = this.Master;
while (m.Master != null)
{
m = m.Master;
}
if (m.FindControl("Form1") != null && WebConstants.IsChangeFormAction)
((SmartForm)m.FindControl("Form1")).Action = UrlHelper.ElinaURL() + url;
page = elinaPage;
}
else
{
throw new HttpException(404, Request.Path);
}
}
I have a VS2010 ASP.NET project saved on my computer that works fine. However, when I move in to my usb and attempt to check if it still works I receive this error:
One or more projects in the solution were not loaded correctly.Please see Output Window for details. The message in the output widow tells me the the file at the location does not exist which, I know because I just moved it. Also, I notices when I checked the suo file via Notepad++ that the file path was hard coded. Is there anyway, to change it so the project will open no matter where it is located.
I am currently using the LoginStatus Control to display the Login/Logout button. I want to change the location of the login page. Currently the login page is on login.aspx (default) but I want to have it so that when the login is pressed it re-loads the current page but attaches GET variables such as ?action=login to the URL. Reading through the .net documentation I found this: Quote: LoginStatus control provides a link to the login page defined in the application configuration settings. I'm not sure which configuration setting this refers to. Where exactly can I edit this value?
View 2 RepliesI wanted to impose specific timeout interval and request length on some specific pages that uploads documents of size up to 50MB. Hence I did the following config changes after going through some sites.
<location path="Upload.aspx" >
<httpRuntime maxRequestLength="51200"/>
<httpRuntime executionTimeout="36000"/>
</location>
I keep getting error when I run the application. I tried various other ways like giving the complete path like <sitename>/<applicationname>/<v.folder name>/<filename>.I tried this on both IIS 6.0 and IIS 7.0.