C# - Add An Info Bubble To A Mapxtreme Map?
Mar 19, 2010I'm using MapXtreme 2008 v7 for a learning project, and was wondering is there any way to make a bubble appear with data when you pass a mouse over a point?.
View 1 RepliesI'm using MapXtreme 2008 v7 for a learning project, and was wondering is there any way to make a bubble appear with data when you pass a mouse over a point?.
View 1 RepliesI'm building an ASP.NET MVC 2 site where I'm currently implementing an OpenID sign-up form. Unfortunately, I'm foreseeing a possible security bug/vulnerability inside my architecture.
Here's how I want OpenID login to work:
User requests /Account/Login, Controller sends back OpenIDLogin View. User enters their OpenID into the View, then OpenID authorization takes place, and finally the OpenID is returned to the Controller.The Controller checks whether the OpenID is currently in use by a user in the system or not. If it is, the user is logged in to that account. If not, the registration process begins.
And now, the OpenID registration process:
The OpenID identifier, as well as any other information provided by the OpenID provider (such as email address or name), is put into my custom ViewModel and sent to my OpenIDRegistrationForm View.The RegistrationForm View stores the OpenID in a hidden field to make sure that it gets sent back to the Controller.The user fills in the RegistrationForm View and sends it back to the Controller.The Controller creates the user account and puts the OpenID into the database.
The bug that I see within my architecture is that a user could modify the hidden value in the RegistrationForm View. Thus, they could spoof their OpenID! I will make sure to add another round of checking to the final Registration Controller Action to make sure that the OpenID that is provided doesn't exist yet, but there is still a possibility for spoofing. Can my architecture be improved somehow? I don't want this to end badly...
One solution I'm considering is encrypting the OpenID before I send it to the View and then decrypting it when it reaches the Controller. Should I try this?
I am trying to change a value in the event arguments. Not sure if this is possible, but this is my current event in the parent class:
public void MasterClass()
{
void btnSubmit_Click(object sender, EventArgs e)
[code]...
I have a standard web app. My default page has a WebMethod and the WebMethod gets invoked by Json from client script. On my webForm I have an area that displays messages to the user showing the stage in the process and this is just a <asp:label>. if The webmethod had been a standard method, I would simply have done something like myLabel.Text = "sometext". However, the webMethod knows nothing about the label and so I need to bubble the value to the form. If I had called the webmethod from the codebehind in the form I may have been able to use delegates/events, but the call was made by the client, so I have not wired the webmethod up to any codebehind. How do I push my text back to the form in an asyncronous manner. So the code works in this way: Form load populates some controls on the client. The user perfoms some drag and drop then presses a standard html input button that calls a client ajax/json method passing the dragged values to the webmethod. I then need to feed back to the screen at several points in the webmethod process to inform the user of the current status.
View 5 RepliesCan I bubble up a button click event of a button in master page to be handled by an event handler in the aspx page ?
View 3 RepliesI am using BubbleEvent to give events from a web user control to its parent (which is a Default.aspx with code behind page).
I would like to use BubbleEvent to not only pass the sender and event, but also an integer or another variable.
Is there a way to add a parameter to the BubbleEvent, or is there a different way I should be approaching this?
I am facing a problem with jquery bubbleup plugin....
My goal is to show selected item text in a bubble up on the top of the asp.net dropdown list...
I did it on the server side and its working fine....now i want to do it in a nice way using jquery....
I am not concern with only bubble up...
anything which shows my selected item text in the dropdown list...because some text in the drop down is very big and we are unable to see it..
I do have around 10 dropdown lists on my page and all are inside formviews...
so its better to operate on class selector...like $('.mydropdown').val();
I have the following settings. Asp.net 2.0 / Vs.net 2005 / Web.config -> customErrors mode="on"
<customErrors mode="On" defaultRedirect="~/ErrorPages/Default.aspx">
I have created a Bubble chart using silverlight tookit as follows :
<charting:Chart Title="Bubble Chart"
LegendTitle="Legend"
Name="chart1" Margin="0,0,0,42"
HorizontalAlignment="Left" Width="568">
<charting:Chart.Series>
<charting:BubbleSeries Title="Pollutant A" IsSelectionEnabled="True"
ItemsSource="{Binding Pollution}"
IndependentValuePath="AQI"
DependentValuePath="Level"
SelectionChanged="ChangeSomething"
SizeValuePath="size1" >
</charting:BubbleSeries>
</charting:Chart>
And my xaml.cs defines the handler like this :
private void ChangeSomething(object sender, SelectionChangedEventArgs e){
Text1.text="selection changed"
// Here I want to show the value of the bubble selected
}
I have a ObjectDataSource and a ListView referencing it.
I have created a Templated User Control (see:
http://msdn.microsoft.com/en-us/library/36574bf6.aspx) and placed it in the ListView's InsertItemTemplate
It has one template <ContentTemplate>. Inside that template, I've defined a couple of server controls with their properties = '<%# Bind("colName") #>'.
See below:
[Code]......
what is MVC , what is the use of mvc and what i need to learn the MVC, what are the initial requirements for the Learning and MVC is a three tier architecture or not.
View 1 Repliesin PHP, I can know these info for the visitor: IP Address. IP HostName. Natted IP Address. Natted IP HostName. User-Agent (Web Browser, OS version, framework, infopath, etc...) Web REQUEST. Web Referrer. Language. DateTime. How can I know that in asp.net? And what additional info can I know using asp.net? And how can I know if the visitor have special software installed?
View 3 RepliesWhere I work, we're planning to develop a web application (for internal use) with the help of ASP.NET MVC, me being the intended developer. I have no real background in web app development, but I have dabbled a bit with RoR in my spare time and loved that way of doing things. At work .NET is de rigeur however, so I am looking at ASP.NET MVC (looks promising so far, for that matter).
Since we're new to developing web applications, we're unsure about how to best handle the administration of the application's platform (i.e., the web server and the database server etc.), and are wondering if we might be better off deploying it on Azure. While I know that there is support for ASP.NET MVC on Azure, I don't know the concrete methods of managing an application throughout its lifecycle: create it initially, deploy new versions, change database schema etc. On the other hand, I know at least superficially how to manage Rails applications on Heroku.Could someone please provide us with some much needed advise on running ASP.NET applications on Azure compared to on-premise, and thus help us decide? If we could be pointed toward some practical info, tutorials perhaps, showing how an ASP.NET MVC application (or even just a straight ASP.NET application) on Azure is managed throughout its lifecycle,
I wanted to know if there is a way to get the following info from a website if all i put was give was a url:
1. Title of page
2. A piece of the the text on the front page, or even the info that would be within one of the meta tags.
3. The logo
I,m not sure where to start on trying to get this info, but maybe there is a plugin that exists that i could buy or even a web service out there that i could use.I found Amazon's AWS which does kind of what i am looking for,but i've talked to a few people who've used it and they said it sucked.
i'm back again,i need some info about the login page. hope some 1 provide some useful link .i want to let the user login first before redirect to the my main page. I don know how to restrict the user access to my main page without login.
View 3 RepliesI have a Masterfile that has a header control with a button, and the ContentPlaceHolder which would be another page with multiple text boxes.
When I press the button in the header, I need to iterate through all the text boxes and grab their text, how exactly would I do this using C#?
I'm working on a ASP.NET (C#) site that pulls most of its data from Dynamics CRM over SOAP using Microsoft's CrmService SDK. I'm at the point where a query has returned an entity with a property of the type Customer. I need to get the name string of that customer record, but cannot figure out how to do so. By doing a little guess work I figured out that what I have is GUID for the customer. How can I use this GUID to get the customer's name as a string? Relevant Links:
CrmService Docs
Customer Property
Customer Class
I've been reading others questions regarding storing settings in the web.config. Most of you agree that's a good way to store settings.I just have another doubt about that.
In my app, I need to map some ID's in the web.config. For example:
[Table = UserType]
1 - User
/2 - Admin
Is it a good idea to store these settings in the web.config so I know what is the right ID in my application? Do you have a better solution?
I want to retrieve info from more than 1 table. I have tried to look into using the ViewModel but do not fully understand how to implement it. My Model is setup using ADO.Net framework.
View 1 RepliesCan you read the servers hardware info via a web app in c#?
View 5 Repliesi want to write a WCF service to get some info from the database. The service will be called by web application. SO first of all what type of WCF project should I use.. is it WCF Service Library or WCF Service application.
Next, where should I define the connection string? The connnection string that I use inside the web.config of my web application can be used or propogarted to my WCF service? Or SHould I define the connection string again in my WCF service..?
Any examples on WCF with ado.net examples? so I will know how to define connection strings and utilize the service inside my web app?
So i have a aspx that gets IP Addresses. but if i have multiple machines coming from an IP address I need some info that will distinguish each machine differently.
View 4 RepliesI am working on a program to pull info from sql and display it in a gridview. However I am getting the following error message :
Must declare the scalar variable "@branchparam".
All I am wanting to do is check to see if something exists in the sql database, if it exists then boolean active user=true else false.
If it is true then I want to fire the other subs, if it is false, then exit sub and display message.
HTML Code:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="FinancialManager.aspx.vb" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
[Code] ....
I have one website running on one server and another web application running on another server. My web application asks for username/password to login into the system. I need to put a username/password field on my website so that user can directly login from website. how to transfer these username/password values to the web application running on another server?
View 3 Repliesi have an admin page that displays membership info, like email, usename, lastactivity....., i need to add the telephone number from profiling.
i use this to get current but i dont need current i need it for the user whos ID is i a query string
[code]....