Hello all. I have a ListBox in my web page that user can add & delete & edit it's Items in client side by java script codes. when he click save button all items in ListBox saves to data base correctly. problem is: when post back ocuurs with another button all changes in ListBox flies and back to state that page had loaded. what should I do for keeping changes in ListBox during another post backs?

i use the below code to dynamically generate two dropdowns and a text box in my MVC project.

countValidate is used to concatenate and produce controls with postfix 1 ,2,3 etc.

now i need to access the Criteria? series dropdown and check their values and according to the values received on changing the Criteria dropdown the value textbox must be disabled or enabled, in javascript.

I want to add tab control in existing asp.net page. The problem is to when I add it the controls used in tab panel get prefix at runtime and all the validations get errors(Java script validations). I know only one way to solve this problem; that was add the prefix(actually tab control name with some symbols) to every control accessing places. But this is very difficult because my page has more than 200 control (using java script) and it is difficult to change every control depending on tab control. Is there any easy way to do this?

I am developing a shopping cart with asp.net and sqlexpress. I am using aspnet authentication components to create a backend page. I designed the site to let in only authorized users in.

Yesterday, I forget my password to login to backend and asked system recover my password. with recover password of the asp.net I was able to receive the temp password. I took that and logged in, of course asp.net forward me to password change component which I am having problem with.

Every time I change my password , password change shows that I was successfull but after clicking on the continiue button password change component comes back. I went to properties of password change component and entered the main default page as destination but it is not helping.

I close the IE clear the cache , even restart the machine. When I login always taking me to the password change page.

We have recently upgraded from SQL Server 2008 to SQL Server 2008 R2....I am experiencing a problem with my report parameters on my SSRS reports.
It seems that my report parameters that I do not have a specified 'default' value throws a java script error when I try and run/render the report under R2. As soon as I put a 'default' value on the report param, everything is fine. However, that
is not the behavior we need for our reports...the user needs to pick their selection.
Can anyone shed some light on this, it seems to be an AJAX problem...I need to be able to have report parameters with a list of values, but no 'default' value on the parameter.

i had a webform which used javascript for calander <head>
<script language="javascript" src="Calendar.js" type="text/javascript"></script>
</head>
.
.
.
<asp:TextBox ID="txtDateLeaving" runat="server" Enabled="false"></asp:TextBox>
<a onclick="showCalendarControl(txtDateLeaving);" href="#">
<img src="calendar.gif" style="width: 20px; height: 20px" border="0" alt="cal" /></a>
it was wrking perfectly . .but i am not able to run it using master pages.. when i try to access control on the content pageit says txtDateLeaving is not defined..can anybdy tell me how shld i achieve the same functionality using master n content pages..

UPDATE: Apologies for the previous formatting error - hopefully the post is now more readable...
Hi I have a button with an image control next to it. Before the button is clicked, the image control "ConfirmedStatusImage" shows a "cancel.png" image.
When the button has been clicked (and some other code successfully executed), then I change the imageurl for the "theConfirmedStatusImage" to show a "ok.png" image. Quite a bit of time can often pass between clicking the button and the associated code executing, so I have an ajax update progress control that shows a "bluespinner.gif" image while the page is updating after the button click.
At the moment, the update progress updating image appears next to the "ConfirmedStatusImage" control. However, I would like to change things so that when the update progress starts, the imageurl of "ConfirmedStatusImage" changes from "cancel.png" to the update progress image (i.e., the "bluespinner.gif"). Then, when the update is complete, then the image should change to the "ok.png" image.
My question is: how can I achieve this? As far as I can tell, the update progress control does not have any events that I can hook into. Also, placing the "ConfirmedStatusImage" inside the ProgressTemplate would not work either, as this only displays

Hi Experts,
Following script works perfect (refresh only once after 5 seconds and stops but for some reason if somebody clicks next month then it keeps refreshing for 5 seconds. Can you please put the following code in your calendar.aspx page and check if you can get
rid of the continuous refresh if somebody selects next month otherwise it works fine. Please provide the updated script
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8">
<title>Refresh test</title>
<script type="text/javascript">
window.onload=function(){
url = window.location.href;
qIndex = url.indexOf("?");
if( qIndex != -1 ){
getData = url.substr(qIndex+1, url.length-1);
if(getData != "refreshed=1"){
refresh();
} else {
myDiv = document.getElementById('content');
myDiv.innerHTML = "This is the second and final time the page loaded.";
}