Overcoming large image map problem in IE

Hi all,

On one of our web applications, an image is created dynamically. On this image the user can hover the mouse over some parts of the picture to get certain information, and can then click on these same annotations to edit them. In order to do this, I create an image map along with the image. The image map has onMouseOver and onClick properties for the image.

The problem is that the image map for this picture can get quite large, and when it gets too large it drives internet explorer nuts. In one example, the image map alone is 1.5 MB of information, and when internet explorer tries to open it the browser will not show the image, the buttons go haywire (i.e. radio buttons are replaced by j's), and after closing the browser, windows will act weird (such as right-click menus coming up all black) until I restart the computer.

I have tried to run the app on a few different computers, all with the same symptoms. I can run it in Netscape 7.0, but cannot get it to run in IE.

Help: Deleting wrong record.
&nbsp(108 Views)
If I choose to delete RefID 12 the stepper is showing 11 for the deleteid. That is kind of weird. Anybody see where it might be removing 1.

Publishing an ASP.Net website to GoDaddy
&nbsp(87 Views)
I'm using VS 2008. I created an ASP.Net Website. The only thing I added was a 'Coming Soon' line of text within the that was created. Nothing else at all was changed from the shell that VS created. I published the website to GoDaddy but can't see it. I've read different things about the web.config, and added various lines, such as:

how to copy asp.net project from one computer to another
&nbsp(122 Views)
How do I copy my asp.net project that I am developing on Visual Studio.net from one computer to another. I tried copying the project and the pages from wwwroot but it doesn't open my project. I can individually open the pages and also see my project which means that it has been copied. Please help asap.

Trusted Server Connection Error
&nbsp(53 Views)
Ok...I'm dipping my toes in the ASP.NET pool. Programming in VB.NET....In a nut shell, I'm loading data from a data table using a SQLClient command and reader to a listbox. But I'm getting the error as described in the attached pic below. Not a trusted connection. I tried configuring IE to use that as a trusted site. I'm assuming that it's something on the database side. Can anyone point me in the right direction

Creating a web form in .net to send via email
&nbsp(94 Views)
Hi ,Im wanting to create a form on the web in .net that lets user enter relevant data into it and then it sends the data via any email to the relevant recipient. Was wondering what the best way would be to do this Any pointers or website or tutorials that anyone has used would be a great help

hierarchical or data using .Net
&nbsp(68 Views)
Hi all,I have been given the task of creating a summary page for a customer application. The page needs to show hierachical view of data in the format of:Dealer - Department 1 - Vehicle 1 Vehicle 2 Vehicle 3 Department 2 - Vehicle A Vehicle B Vehicle CDealer 2 - Department 1 - Vehicle A Vehicle B Vehicle C Department 2 = Vehicle 11Etc.......currently i am not entirly sure on how to achieve this. Can i use nested controls or would it be better to simply create the table on the fly using code Any input would be greatly appreciated

crystal
&nbsp(119 Views)
I have created a crystal report in my asp.net project.Do you know how I can just run the report on its own to test if it works firs

Simple database sample code needed
&nbsp(133 Views)
all,I need to pull in 5 fields from an Access database table and was instructed to do it in asp.net which I am unfamiliar with. Could somebody please direct me to a simple data connection sample where fields are pulled from and shown It would take me 5 minutes in ASP but I can't find a decent sample to modify for asp.net. I did check out the post of suggested books and have already ordered the sams book.

Help with GridView
&nbsp(82 Views)
New to asp.net and using Visual Studio 2008.I have a GridView with a column named "Doc" that stores a UNC path for a document. I don't want this column visible, so I set the visible property to "False".I added a templete field to the GridView with a button that the user will click. I managed to get the Button_click event to fire where I get the value of the "Doc" column for the current row.However, the Button1_Click subroutine only gets the value of the "Doc" row when the "Doc" column is visible. When I set the "Doc" column visible property to "False" I don't get the UNC path.Can someone help with this Here is the "Doc" field that contains the UNC path.CODE Here is the templete field with the button.CODE Here is the code behind for the button click event. The strField1 variable = "" when the "Doc" column visible property is set to false. When the "Doc" column visible property is set to true, then the strField1 variable = "\\*****-***\d$\TrainingDocs\Project Management for Project Team Members_One day.doc" CODE Protected Sub Button1_Click(ByVal o As Object, ByVal e As EventArgs) Dim Button1 As Button = DirectCast(o, Button) Dim grdRow As GridViewRow = DirectCast(Button1.Parent.Parent, GridViewRow) Dim strField1 As String = grdRow.Cells(0).Text End Sub

shopping cart and session variables
&nbsp(84 Views)
is it a good idea to use session variables to hold cart details in an asp.net shopping cart applicationif not, why and can u suggest something els

adjust column width in edit mode for combo and text box
&nbsp(108 Views)
hi, I have created a DG that has edit feature in it.when I click edit, the width of the dg in edit mode expand horizontally, this is a sample code that I tried to fix this issue but wasnot able to do soitemStyle-Width="20" in the above code did not have any effect on the column width. I wonder how I can control the column width in an edit mode

Application Deployment - Fixed!
&nbsp(81 Views)
For anyone interested, and fellow newbe's, I have found a way to share application (session vars), over my Intranet pages.root

Why no use asp.net if it is faster than jsp
&nbsp(77 Views)
I have learnt that asp.net is faster in performance than jsp.Also Microsoft has supported the codes of other languages in its .net framework, so why would one stick to jsp(Java as such) & not move - over to the .net

Custom Server Control Question
&nbsp(142 Views)
does anyone know how to make a section of output from a custom server control render only once regardless of how many controls of that type are on the formJames James Culshawjames@miniaturereview.co.ukhttp://www.miniaturereview.co.ukhttp://www.caninerescue.co.uk

validating email addresses
&nbsp(113 Views)
I am working with a script that I found in a book I bought called ASP.NET: Tips, Tutorials, and Code. The script I am working with is on page 90 of that book. The purpose of the script is to make sure a email address has a valid domain. I believe I have no spelling errors and I recieve an error. Here is my code followed by the error.Sub btnButton_submit( s As Object, e As EventArgs )Dim strEmail as String, strPattern as StringstrEmail = emailaddress.textstrPattern = "^[\w-_\.]+\@([\w]+\.)+\w+$"If Not Regex.IsMatch(strEmail, strPattern, RegexOptions.IgnoreCase) Then errortext.text = "Your Email Address is in the wrong format"Else Dim strDomain as String strDomain = strEmail.Substring(strEmail.IndexOf("@") + 1) Dim strIP as String Try strIP = DNS.Resolve(strDomain).AddressList(0)ToString() ' error is on this line errortext.text = "Email Domain is correct" Catch errortext.text = "Email Domain is incorrect" End TryEnd ifEnd SubCompiler Error Message: BC30311: Value of type 'System.Net.IPAddress' cannot be converted to 'String'.Source Error:Line 22: Dim strIP as StringLine 23: TryLine 24: strIP = DNS.Resolve(strDomain).AddressList(0)ToString()Line 25: errortext.text = "Email Domain is correct"Line 26: Catch

Multiple URLS on Application
&nbsp(110 Views)
I wanted some help on where to start with the following project design. I want to develop a cms type site which allows multiple customers to register and have a CMS driven website. Each site would be a single asp.net application which loads the data on something like a cutsomerid. So I plan to have www.mysite.com/about.aspx which loads the content based on the customerid either from querystring or session value. Another option I was toying with was giving each customer a subdomain so customer1.mysite.com which points to the app but it works out the content to display based on the subdomain.I don't really know what technologies to research in .net to do this. The most complex example might be customers who wish to point their domain to my system, so it looks as though it's there own site but it's still my application as the engine underneath. How would I need to design the setup for this scenario Steve G (MCSE / MCSA:Messaging)

Mobile ASP.NET app hangs up
&nbsp(114 Views)
- Hoping someone might have an answer to this question. I've got a ASP.NET mobile app that I'm connecting to from a mobile device. The app works great when I'm running over a local IP address, but it hangs up when I run it over the internet. It doesn't make any sense to me at all and I'm at a loss as to why it the behavior is different.

Select, Insert, Update and Delete Example
&nbsp(69 Views)
I'm new to ASP.NET and I would like to ask if someone can provide me a very simple code to manipulate data using the SQL Commands in the above subject. To keep it simple, say, just 1 textbox and 5 buttons (Next, Prev, Insert, Update and Delete). I'd like to see code of an unbound text box and not bound data. I came from ASP Classic background and I think it is entirely different in ASP.NET to do the steps for the 5 actions. Can I code everything in the code-behind rather than in the ASP.NET side I have no clue where is the best place to code them. I guess I'd also like to know what is the best way or are the best practices in programming the above subject.Once I have the code, I can study and do it myself and hopefully move on to more complex application.Please kindly help

Web Service Time Zone Offset Missing
&nbsp(67 Views)
I am having trouble with a server that is not returning the time zone offset in a Web service response. From what I've read on the internet, it should always return the time zone offset. I need it but it is missing. It works on my local development machine but not on my test server. Both are set for Eastern Time GMT-5 (4 right now because of daylight savings time).Below is my test code (.Net 1.1):CODE _Public Function GetTime() As DateTime Dim d As DateTime = #5/28/2009 8:00:00 AM# Return dEnd FunctionLocal development machineWindows XPVisual Studio 2003IIS 5.1Test machineWindows Server 2003IIS 6.0Response From Local Development machineCODE 2009-05-28T08:00:00.0000000-04:00 Response From Test machineCODE 2009-05-28T08:00:00 Notice that the response from the test machine is not returning the time zone offset.Note that this does appear to be happening on our production machine which is also a Server 2003 (IIS6) machine, but I have not been thorough test with it yet.Does anyone have any thoughts on this I've searched Google and all I seem to find are people who are getting the offset and do not want it. I'm not getting the offset and do want it. Pat B

Importing a namespace in web service
&nbsp(121 Views)
I'm trying to import a namespace in my web service, but it is not being recognized. The applicable code for my namespace exists in the App_Code directory of my web site.Does anyone know how I can get the namespace to be recognizedThx.

Issue with Dynamic Dependent Drop Down Menu
&nbsp(136 Views)
you have c# code, and i normally work with vb.net, but where is your HANDLES after the event functionin vb you havePublic Sub xx_click(sender, e) handles xx.click -Sometimes the answer to your question is the hack that works

Elegant way of including large amounts of dynamic JavaScript?
&nbsp(100 Views)
Ok, since I use repeaters and other types of controls that rename controls on the client side, and since I also have a lot of javascript that calls on these controls, I have to output the javascript using controlName.ClientID all over the place to ensure that the controls are named properly.The problem is my .cs page is full of these large concantenaded strings of JS that get added to the page via the ClientScriptBlock feature.My js is cluttered and hard to debug because of this. Is there a way I can have something like a .js file, unencumbered by the surrounding C# code, and have it included dynamically, while preserving the ability to dynamically load the control names at runtime

ControlState Thoughts
&nbsp(104 Views)
I'm currently using ControlState to pass simple objects between postbacks. Can anyone comment on this approach and some things I might want to considerI don't want to get half way through development and realize that our architecture was a giant flop

javascript for maintaining vertical position in code behind
&nbsp(62 Views)
yes, I know I posted this concerning a recent post, but what was with a control I found on the web.I'm now trying it on my own.Here's what I have in my HTML:*****************************************************************For my code behind, I've got the following in the page_load event:If Page.IsPostBack ThenResponse.Write("location.href="" temp_href=""#"""";")End If...tried this too, and no luck for the page_load event:***********************************************************************If Page.IsPostBack ThenDim strScript As StringstrScript = ""strScript = strScript & "location.href=""#"";"strScript = strScript & ""Page.RegisterStartupScript("ClientScript", strScript)End IfAny suggestions are welcome

Redirect Issues
&nbsp(136 Views)
I have a C# asp page that needs to record a hit and redirect, but the Javascript isn't executing and the redirect beats the JS execute.CODE Redirect

Connection string for MS Access
&nbsp(129 Views)
I want to develop .NEt application reading MS Access Data.1) What is connection string I can place in web.config2) In case if I decide to have linked MS Access tables in SQL Epress 2005, what are the connection settings for it3) In Case if I decide to have DTS scheduled job, how do I schedule this with SQL Express 2005 Do I need to have SQL Server 2000 for this4)What would be the best aproach from options 1-3 The input data always comes in MS Access... The tables are big...5) The data will be exported as Web Service. Is there any existing sample how to do this

Help required with CheckBoxList
&nbsp(57 Views)
Hi Guys.I am populating a CheckBoxList from an IList returned from the database consisting of an id and a description.There are only about 6 records (not relevant but !)Here is how I populate the checkbox list.//This will populate the checkbox list passed in with the values//passed in the IList.private void PopulateCheckBoxList(IList list, CheckBoxList cBoxList) { //add each item in the IList to the Check Box list for (int i = 0; i < list.Count; i++) { Hashtable htList = list[i] as Hashtable ; string description = htList["description"] as string; string id = htList["id"] as string; cBoxList.Items.Add(new ListItem(description, id)); } cBoxList.Items.Add(new ListItem("Final Choice", "fc")); }// end PopulateCheckBoxListAnd here is how I signify which ones I want checked.//This will preselect the items in the checkbox list that apply//to the list passed in. private void PreSelectCheckBoxListItems(IList list, CheckBoxList cBoxList) { // itterate through the list marking each of the checkboxes // that correspond with an item linked to the anime as selected. for (int i=0;i

Returning results in a datagrid and label
&nbsp(60 Views)
I have the following stored procedure below and I was wondering if I will be able to bind the restuls to a datagrid for the first select statement and display the results of the count in a label for the count. I wasn't sure if i should have written two stored procedures to do this or if I'll be able to do it the way it stands. I appreciate any help anyone is able to give me. Was wondering if I needed to return a value as an output parameter to achieve what I wanted Or is there a better way of doing this altogetherCREATE PROCEDURE [sp_RegisteredUsers]ASSELECT u_user_title, u_first_name, u_last_nameFROM UserObjectSelect Count (*)From UserObjectGO

Dates in a recordset not displayed correctly
&nbsp(84 Views)
The problem is that dates are showing up incorrectly when returned from a stored procedure: i.e. 12:00:00 AM (when using CDate conversion), or 12/30/1899 (via rs("columnname").Value)Here is the ASP code: CODEIf not rs.BOF and not rs.EOF Then Do Until rs.EOF %>

Prevent download of MDB file
&nbsp(62 Views)
I am using an ACCESS database with my .NET application. Not to compromise security on the website, I want to prevent users from being able to download my access database file by typing the URL directly in the address bar of the browser. My access file is in the same folder as all other files. What can I do Do I necessarily have to ask my host to do something on IIS or is there a programmatic way out of this

role-based security and signout
&nbsp(99 Views)
I am using role-based security for my web site. I call FormsAuthenticateion.SignOut() and Session.Abandon() to Logout the web page, but it seems mechanism does not work. When I type in a page name in the browser, I can still got in, without redirect to the default login page.So, am I doing the signout procedure wrongVincent

Dynamically Assign IDs to Controls
&nbsp(81 Views)
Okay, I've searched EVERYWHERE for this, and I am still confused. Saw a few posts here about it, but again, still confused...I am creating a dynamic HTML table, from a database table. In the database table, I have cell properties for the HTML Table (Rowspan, colspan, color, etc). I need to be able to fill in these cells with the information I need. I had this running in ASP, but .NET is quite different...I've decided to create the table, and use placeholders in each cell. Then in the Page_Load event, populate those placeholders with the necessary info. Now, in order to keep the ID's straight, I need to dynamically assign ID's when I create the PlaceHolder. I am doing it by this..CODE dim plcHold as PlaceHolder plcHold = new PlaceHolder() plcHold.ID = "MainHold" & myReader("templateSpaceVar") Page.controls.add(plcHold)myReader is a datareader and has the Unique ID I am assigning to the Placeholder. Then in my code, I am trying to place a list box in each place holder, like soCODE Page.findcontrol("MainHold"&dr("templateSpaceVar")).controls.add(selBox)selBox is already defined as a DropDownList. However, the FindControl returns Null, and doesn't find the PlaceHolders I dynamically created. What am doing wrong

sending the current page as an html email
&nbsp(51 Views)
I have found this tutorial that does what i am looking to do[url]http://www.devhood.com/tutorials/tutorial_details.aspxtutorial_id=758[/url]but what i wanted to know if there was anyway to grab only certain areas of the page you wanted to email. manly just the texual content and not the pictures and such

passing variable from javascript
&nbsp(215 Views)
im posting this here but not sure if this is the right placedoes anyone know how to pass a value from the client in javascript back to the server using vb.net codewhat i want to do is get the screen resolution from the client computer which i can do but i want to be able to save it in a variable so that i can have an object on the asp page resize to fit the users browse

How to diable some validator controls
&nbsp(75 Views)
Here is my requirement:1. I have a text box (lets say txtStore), which accepts some integer values. This is a mandatory field. User can just enter an number and if he/she hits enter we need to retrieve some values and display it.2. Screen also has some other fields, which are mandatory when user clicks on Save button.I have used validator controls for all the mandatory fields, but I dont want to validate any information when user hits 'enter' inside the txtStore text box.Any ideas/solutions will be of great help

Best way to specify length parameter of TEXT field in ASP.NET code
&nbsp(64 Views)
Which of the following would be better to set the length parameter for a SqlParameter object in ASP.NET code for a field of type TEXTcomm.Parameters.Add(new SqlParameter("@paramName",SqlDbType.Text,16));comm.Parameters["@paramName"].Value = someValue;-- OR --comm.Parameters.Add(new SqlParameter("@paramName",SqlDbType.Text,2147483647));comm.Parameters["@paramName"].Value = someValue;

Viewing/hiding controls on a page
&nbsp(70 Views)
Hi ,I have a page in which I need the following functionality: First, I need two radio buttons (that's easy enough). Next, when one of the radio buttons is clicked, I need a set of controls (which include radio buttons and check boxes) to be displayed. When the other radio button is clicked, I need the controls to be hidden. Now, this behavior must be accomplished without a post back so I guess I'll need some java script to do the job. Also, I must still be able to retrieve the user selections (which of the view/hide check boxes were selected, for instance) from server code.Can anybody tell me how I could accomplish thi

incompatible with the version
&nbsp(116 Views)
i am trying to open the project which one is developed in other version of .net. It is giving message like" unable to read the project file". Project was created with the newer version of visual studio which is incompatible with your version. You can only open this with the newer versions of visual studio."please give me suggestion to open this project.

Code Behind Server
&nbsp(88 Views)
can anybody recomend a free server where i can test my aspx pages i need one with access to the bin directory for code behind. ____________________________________________________If you like a post, show you care by giving it a .

Generate Aspx Template File?
&nbsp(52 Views)
,I am making a web App that allows the Owner of the app to customize what they want User to see. For Example, One set of user may want: (the underlines represent a textbox)First Name: ___________Middle Name: __________Last Name:__________and another :First Name:____________Last Name:_____________I have a model in Which I am storing the whether the Control is visible and what the label text should be stored in a SQL database. Currently I have the Codebehind page load the controls dynamically, then I assign any data to the controls.What I am wondering is if I can instead of Building the page dynamically adding the controls at run time if I can build it one time with an admin program and then have the page only rebuild (Place controls) if the admin program has a change.I am thinking that instead of haveing a code behind that runs on the server at run time I would like a Windows app that does the same thing and then places Server script and