Put Link For Google Map Direction On Web
Dec 18, 2010I need to put a link for a google map direction on my web, the link should be redirecting the user to google map page.
View 1 RepliesI need to put a link for a google map direction on my web, the link should be redirecting the user to google map page.
View 1 Repliesi want to add a google map in my asp.net page. i have multiple location. now i want to get the driving direction for this multiple location. Its similar like getdirection in google map.
View 2 RepliesI have per minute Lat-Lang values of user and using it i want to draw a Route on Google Maps with arrow to show direction after some distance.
I am using this tutorial for reference but unable to modify the same.
how to change the route color when drawing routes on Google Maps
View 1 RepliesI am trying to send the meeting information via mail and in the mail content I would like to place a link to to the google map site, so that the meeting place could be seen on the map.
What would be the best way to construct the google map url string [URL] , for a particular address.
I am not sure if this is the correct place to post this question. If not, please forgive and point me.
In the application I work on people add items, then build forms to accept attributes. We have developed a set of custom controls that they can use as well as a environment where they can add "conditions" (that create JavaScript) and "elements" (that generate
html). The problem is that we end up supporting this "development environment" that we have developed as well as the conditions to JavaScript mappings.
If it helps, every element they build on that page (textbox, textarea, checkbox, select, hidden) ends up in our db in a attribute form that simply stores the input as key/value pairs with the element id as the key, and the value as the value.
I am thinking there must be a beter way to do this.
Maybe develop web services that each form submits to and leave the form building and scripting up to standard tools. But to do this we would need to be able to make custom controls (or custom properties in common controls) available. For example, we have
dropdown lists that use sql to get the keys and values for the options. A more elaborate example, we have user lookup dialogs, region lookup dialogs, site lookup dialogs, etc.
At this point I am looking for suggestions regarding architectures.
Thank you,
Sammer
Is it possible with the standard asp:dropdownlist to make the list expand upwards instead of downwards, or do I need to create a custom control?
View 2 RepliesI have a gridview in an updatepanel with sorting enabled and an event handler as follows:
protected void MyGridSort(object sender, GridViewSortEventArgs e)
{
var TheDirection = (e.SortDirection).ToString();
var TheColumn = (e.SortExpression).ToString();
I put a breakpoint just after these lines. Every time I press the column header, my variable TheDirection is always showing Ascending. Why is it not toggling from ascending to descending and back?
I am not able to change the direction of popups/Alerts in Arabic culture which should be RTL direction.Rest of my application is changed in above culture, only problem is with popups and alerts.
View 1 RepliesThis is more of a general question about which direction would be a better investment for the company.
Our company's core business application is written in Visual FoxPro and is about 9+ years old. The database is huge 15+ gigs and the core logic is complex and to make matters worse the data model is terrible. The two guys that built it and have maintained it all these years are at least in their 50's, so needless to say retirement or possibly death could come within the next decade or so.
This VFP app drives all our core business functions and requires terminal services and citrix to access it from the outside world. Our web apps have to interface with it via ODBC and we are always having performance issues with it. The servers that run this system are also very old, like Win 2000 server and are falling apart.
Recently we have been having meetings about upgrading the systems that run this core app as well as other services like email and file storage. The biggest expense however is buying new server hardware, OS licensing, Terminal Services licensing, Citrix licensing etc to solve some performance and outside access issues we are currently having as well as just generally bringing us to date on our systems.
The price tag is going to be in the $55K to $65K price range. So as a web developer my point of view is that this is a huge waste of money! My solution would be to invest that money in rewriting the core system to run on the web based .Net platform. This would eliminate the need for Terminal Server and Citrix licensing along with the pricey hardware and configuration management to run it on. I don't see the point in investing this kind of money in an antiquated system that should be on it's way out anyways.
I am looking to get some convincing arguments as to why this is a waste of money. Hopefully there is someone here that has faced this type of situation before that can give me some points of view. The hardware upgrade seems to be the easiest road to take because they will just have a consultant come in and do it all. A software development project would take longer, require more resources and possibly cost a little more money.
As an organisation, we use Google Apps. We have the paid version (mapped to our domain) etc...We are developing a web based application to manage orders, and other business functionality.I want to be able to use federated login with our google apps accounts-
For example, if a user is logged in to their email (gMail) - they should automatically be logged in to our ASP.net application
If they're not logged in - the log in form should auth. against our google apps account.How can this be done?Is it possible to be able to "get" the user who is currently logged in using this method etc...?
i have a dropdown list and what happens is that when i click on the dropdown button the list appears under other controls and it pops upwards. If it pops downwards and is non transparent then it would be visible .how is this achievable ?
View 1 Replieshow to convert the direction from rtl to slider extender the code below shows slider extender from left to right I want to change direction from right to left? could you please to explain?
<asp:TextBox
ID="slider2"
runat="server"></asp:TextBox>
<asp:Label
ID="slider2_display"
runat="server"></asp:Label>
<br
/>
<br
/>
<cc1:SliderExtender
ID="SliderExtender3"
runat="server"
BoundControlID="slider2_display"
Decimals="0"
Maximum="255"
Minimum="0"
TargetControlID="slider2"
EnableHandleAnimation="true"
TooltipText="{0}">
</cc1:SliderExtender>
I add a user control dynamically (which only contains a table) to the Panel:
<asp:Panel ID="panel" runat="server"
ScrollBars="Horizontal" Width="160" Direction="LeftToRight">
</asp:Panel>
when I add e.g. two user controls, they have vertical direction. Why ? I want them set from left to right (horizontally)
I need to add textboxes dynamically row by row with ajax when i click on one button control. Can you suggest me some useful tutorials or blog posts?
View 3 Repliesi have some link buttons that On click direct to some page iwant to add some if statement that if the user is online direct to same page and if not direct to other page?
View 6 RepliesI have a page which is LTR direction, and now I would like the page to work also with RTL direction. I care the most about the content in the middle of the page, that it would look nice.
View 1 RepliesI used Radiobutton list in my page
<asp:RadioButtonList ID="rblDirections" runat="server" RepeatDirection="Horizontal">
<asp:ListItem Text="East" Value="East"></asp:ListItem>
<asp:ListItem Text="West" Value="West"></asp:ListItem>
<asp:ListItem Text="North" Value="North"></asp:ListItem>
<asp:ListItem Text="South" Value="South"></asp:ListItem>
</asp:RadioButtonList>
I want text of each itemlist be at the right of radiobutton here text are at the left .
how i can do it?
My Gridview sorting only works only one way means it works only desc order not by asc order.
below is my code:
Public Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not Page.IsPostBack Then
Gridview1.Visible = False
End If
End Sub
Protected Sub Submit_Click(sender As Object, e As System.EventArgs) Handles Submit.Click
Gridview1.DataSourceID = Nothing
[code]....
According to thread [URL] ....
I used pagination for datalist and pagination look like below:
Last Previous ... 4 3 2 1 Next First
it is work correctly I want right to left pagination but problem is that here in below code:
private void PopulatePager(int recordCount, int currentPage) {
double dblPageCount = (double)((decimal)recordCount / (decimal)PageSize);
int pageCount = (int)Math.Ceiling(dblPageCount);
List<PagerPage> pages = new List<PagerPage>();
if (pageCount > 0) {
pages.Add(new PagerPage("Last", pageCount.ToString(), currentPage < pageCount, "button"));
[Code] .....
when I changed "first" "Next" "previous" "Last" to persian character:"First='اولین'" "Next='بعدی'" "previous='قبلی'" "Last='آخرین'"
again page number direction changed to left to right:
1 2 3 4 ...
private void PopulatePager(int recordCount, int currentPage) {
double dblPageCount = (double)((decimal)recordCount / (decimal)PageSize);
int pageCount = (int)Math.Ceiling(dblPageCount);
List<PagerPage> pages = new List<PagerPage>();
if (pageCount > 0) {
pages.Add(new PagerPage("آخرین", pageCount.ToString(), currentPage < pageCount, "button"));
[Code] ....
why this happen? Above code worked correctly just when text be in english character when I change to persian or this character "<< < >> >" it changed number direction. what should I do?
Asp.net.3.5 gridview on sorting problem The control not remember the last sort direction on the source side
AllowSorting="True"
EnableViewState="true"
on the server event
[Code]....
I was given help in a previous topic located here: Accessing Gridview In Another Form In this topic I had gridview rows that are selectable and a search window that returned search results. We found a way for me to select a row in the parent window of the search one. My issue now is that when the parent windows gridview is sorted, the function no longer selects the correct row. I was wondering if there was any way to access the gridviews sort expression and direction, or some other way I can do this so it accounts for sorting. Relavent code is as follow: This is in my parent window
<script type = "text/javascript">
function selectRow(index)
{
//Retrieve a reference to the table that represents the GridView
var gridView = document.getElementById('<%=gvSideList.ClientID%>');
if(gridView)
{
//If able to get a reference to the table representing the GridView...
var doPostbackArgument='Select$'+index;
__doPostBack('<%=gvSideList.ClientID%>',doPostbackArgument);
}
}
This is in the child window
<script type = "text/javascript" >
function selecttherow(index)
{
window.opener.selectRow(index);
}
</script>
protected void gvresults_SelectedIndexChanged(object sender, EventArgs e)
{
//declare variables
GridViewRow row;
int index;
int id;
//retrieve index, row, and id from gvresults
index = gvresults.SelectedIndex;
row = gvresults.Rows[index];
id = Convert.ToInt32(row.Cells[5].Text);
//fill a datatable from general with id's for selection
SqlCommand cmd = new SqlCommand("SELECT ID FROM General", csbg);
cmd.Parameters.AddWithValue("@id", id);
SqlDataAdapter da = new SqlDataAdapter(cmd);
DataTable dt = new DataTable();
da.Fill(dt);
//loop through the dt and find the index of the matching id from the search window
for (int i = 0; i < dt.Rows.Count; i++)
{
if (dt.Rows[i]["ID"].Equals(id))
{
//execute script to select the matching row in the dataentry page
string script = "";
script += "selecttherow(";
script += i;
script += ");";
ScriptManager.RegisterClientScriptBlock(this.Page, this.GetType(), "selecting", script, true);
break;
}
}
}
Let me know if you need me to further clarify anything.
I've implemented a google map with points and stuff that uses an address that the user inputs. When you click a point, the popup bubble appears with the name and address in.Often this name and address is a prominent location, as it's used for meetings and things, such as a university. If you google the address yourself on maps.google.co.uk then you get google's own popup bubble, which often has a photo, information, opening hours, links to directions, reviews, etc. etc.I am wondering if there's a way to use that popup dialog instead of my own, where it is available. I can't see anything in the API to do this.I'm using V2 as we support IE6 in a lot of our users, but I've been told recently I can upgrade to V3 should I need functionality from it.
View 1 Repliesjust want to add the effect of map momentum by the dragging of map as in maps.google.com has. currently on my map where i stop dragging the map stops there but in maps.google.com if you drag a mouse the map will not stop there it will continue the movement in the same direction for a second or few cordinates (i dont know basically), but I want the same thing on my google map. I am using GMap2.
View 1 RepliesI want to position my menu control on the right side of the page based on our design requirements.As a result, I want to make the arrow that indicates a submenu appear on the left of the menuitem as well as make all submenus flyout to the left now as well.
View 1 Replies