asp.net

Problem deploying an ASP.NET site

I have written my ASP.NET web site code in Visual Studio 2008. When I'm uploading it to the remote server I'm getting an error message about a problem in the web configuration file: Section or group name 'system.web.extensions' is already defined.Updates to this may occur at the configuration level where it is defined. What is the ...

How to show map with the help of the zipcode and with ip using .net framework

I have visual studio 2008. I don't know how to show the map with the help of the zip code and ip addresses. How can i find the zip code and IP addresses of the particular state in all over the world. I am new in this so please help me with an example. ...

move time consuming operations out of page load

Hi All, I have a aspx page in which i create reports and charts on the fly. Creation of these charts and reports takes a lot of time because of which a blank screen is shown to the user until the creation completes. To solve this problem I am trying to trigger report generation in a separate thread on page load and when the reportgener...

Page disappears when scriptmanager calls jquery dialog.

Hi, I got a problem in my Asp.net application. When I try to save some data, I check if the data is right, When not I call a jquery dialog with the error message. But when my jquery dialog appears, my background form dissapears. and I get a javascript error: "html parsing error unable to modify the parent container element before the ch...

How to set permissions on a local virtual directory mapped to an UNC directory

I'm trying to set up test environment that includes a VM (running Win7-x86) hosted on Win7-x64. I want to be able to use VS2010 in the VM, to work on a web application project on the host machine. So I've set up a virtual directory on the VM, and set its physical path as an UNC path. I've set the physical path credential to be an ad...

ASP.NET amount of data transfered with a repeater really high

I was busy implementing a repeater in an ASP.NET 4.0 to display data that I got from the database, I didn't start with building in paging so at the start allot of data was transfered. I filled a datatable and bound it as the datasource of my repeater. I noticed the following, while the page was busy loading 4000 records(way to much ofc)...

How to create designer/editor as a web application to design pages? - C#/ASP.Net

Hello I've a project where i need to allow users to design their own pages for their application. So i want to create a designer/editor using ASP.NET/C# or silverlight or using anyother MS technologies. The designer should have the following features Drag and drop controls Move the controls in the designer to position it Preview mode/...

Google Chrome/Safari Same Browser Name and Version !!!!!!

Hi, I have a asp.net website in which i check for supported browser. That is i user Request.Browser.Browser -- for the browser name and Request.Browser.MajorVersion for the browser version Problem here is browser Safari and Google Chrome show me the same value !!! That is AppleMAC-Safari(name) and version would be 5.. How do i diff...

.Net 4.0 Framework Causing Issue for aspnet_regiis during installation

Hi Folks, We have a ASP.net 2.0 web app with an installer which appears to hit an issue with .Net Framework 4.0. This has occurred on XP and Windows 7. Seems to happen every time. During the installation, we call aspnet_regiis for various tasks such as encrypting the web.config. If .Net 4 is installed this throws the error: aspnet_r...

debugging dll in vb.net web application

I have a vb.net web application in visual web developer 2008 with a dll file and i need to debug a method in that dll. I also have project source files for the dll file itself. How could i make the web application use the source instead of the dll file so that i'd be able to debug it? I've tried debugging the dll project itself, but it's...

Can you use Digital Certificates with SilverLight Web pages?

I am fairly new to web development and have never used Digital Certificates before. I assume using a digital certificate on a silverlight web page is the same as using one on any other web page, but i thought i should check. There are a few example of digitally signing the .xap file on the internet, would it then be a case of simply buyi...

How to localize a non-embedded javascript file with resource?

Hello friends. I have a question about javascript. In my project, there are embedded and non-embedded javascript codes. And i did localization of the embedded codes like below and it works. CN.DEFAULT_CONFIG = { strings : { year: '<%=GetGlobalResourceObject("Resource", "YEAR") %>' ... .. . But, this method does not work f...

After publishing ASPNET web site, identity does not have write access to c:\...\aspnettemp

After publishing my Visual Studio 2005 ASP.NET web site, I get the following error(if I start without debugging I get no error):The current identity (WEBHOSTING\packageid_481898) does not have write access to 'C:\inetpub\tempcompilation\aspnettemp\jeppenicolaisen.dk', when I access the site on the internet. How do I resolve this? ...

How to close a pop up window

I am using this code.This pop up window pops up when I clicks a button on the main page.Now I want the pop up window to be closed if the password is successfully changed and reload the main page,but if the password is not changed then refresh the pop up window again. Here is the code..... <asp:Textbox id="curnt_paswrd" textmode="Passwo...

ASP.NET & Entity Framework 4.0 data not refreshing on screen

I've written a 2-tier C# asp.net application. Everything works OK, but if I modify the SQL Server data using the management console, the changes are not displayed on screen. It seems the application reads the data from a cached instance. I have tried everything to make sure it's not a browser cache issue... the data remains static until ...

Change background color and font of tool tip for ASP. Net controls

For ASP.Net controls, how to change background color, font name, size, font color for tool tips? Is it possible to add background image for tool tips instead of the default yellow color background? ...

How to close a pop up window and return control to parent page on successs

I am using this code.This pop up window pops up when I clicks a button on the main page.Now I want the pop up window to be closed if the password is successfully changed and reload the main page,but if the password is not changed then refresh the pop up window again. Here is the code..... <asp:Textbox id="curnt_paswrd" textmode="Passwo...

ASP.net webform design

I can't figure out a good design for this. I have an edit product page. It allows you to change basic product details, product name etc. Then I have a function to upload images of the product. I also have a small page for adding different prices based on date ranges for the product. What I can't figure out, is how to have these on...

Change text of text objects based on formula result in Crystal report

I want to change text of text object in crystal report (.rpt file). The datasource for the report is a datatable which consists of a column named sale, if it is '0' then I want to display the text of text object as 'sale' and if it is '1' then I want to display the text of text object as 'lease'. Please help me to add formula and based u...

JsTree jQuery plugin selects too many nodes?

I'm using jstree jQuery plugin, and I'm using the cookie plugin to save previously selected node on refresh. However, if the tree structure contains two nodes with the same name (under different parents), both will be selected on a refresh. Anybody know how come, and what to do about it? Here's the code: $("#divLeftPane") ...