0 Replies - 9257 Views - Last Post: 23 November 2008 - 06:55 AM Rate Topic: -----

#1 ervipingupta  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 23-November 08

Ajax dropdownlist inside update panel

Post icon  Posted 23 November 2008 - 06:55 AM

Hi All,


Problem:

I have 5 dropdownlist at my asp.net form & these r inside update panel . when i used this 4-5 times ,it work fine .but after sometime when i again used this...........then the dropdownlist & the update panel are disappear(or delete)at the page........

Please help me.......

the code below--
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Adminsession.aspx.cs" Inherits="Admin_Adminsession" %>

<%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
	Namespace="System.Web.UI" TagPrefix="asp" %>

<!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 runat="server">
	  <title>Untitled Page</title>
<script language="javascript" type="text/javascript">
<!--


// -->
</script>
</head>
<body>
	<form id="form1" runat="server">
	<div style="text-align: left">
		<asp:DropDownList ID="DropDownList1" runat="server" Style="z-index: 100; left: 480px;
			position: absolute; top: 416px" Width="176px" AutoPostBack="True" onselectedIndexChanged="DropDownList1_SelectedIndexChanged">
		</asp:DropDownList>
		<asp:DropDownList ID="DropDownList2" runat="server" Style="z-index: 101; left: 480px;
			position: absolute; top: 472px" Width="176px" AutoPostBack="True" onselectedIndexChanged="DropDownList2_SelectedIndexChanged">
		</asp:DropDownList>
		<asp:DropDownList ID="DropDownList3" runat="server" Style="z-index: 102; left: 480px;
			position: absolute; top: 248px" Width="176px" AutoPostBack="True" onselectedIndexChanged="DropDownList3_SelectedIndexChanged">
			<asp:ListItem>--- Select One ---</asp:ListItem>
			<asp:ListItem>All</asp:ListItem>
			<asp:ListItem>East</asp:ListItem>
			<asp:ListItem>West</asp:ListItem>
			<asp:ListItem>North</asp:ListItem>
			<asp:ListItem>South</asp:ListItem>
		</asp:DropDownList>
		&nbsp; &nbsp;
		<asp:DropDownList ID="DropDownList5" runat="server" Style="z-index: 103; left: 480px;
			position: absolute; top: 360px" Width="176px" AutoPostBack="True" onselectedIndexChanged="DropDownList5_SelectedIndexChanged">
			<asp:ListItem>--- Tones ---</asp:ListItem>
			<asp:ListItem>All</asp:ListItem>
			<asp:ListItem>TRUETONES</asp:ListItem>
			<asp:ListItem>POLYTONES</asp:ListItem>
			<asp:ListItem>WALLPAPERS</asp:ListItem>
		</asp:DropDownList>
		<asp:DropDownList ID="DropDownList6" runat="server" Style="z-index: 104; left: 480px;
			position: absolute; top: 304px" Width="176px" AutoPostBack="True" onselectedIndexChanged="DropDownList6_SelectedIndexChanged">
		</asp:DropDownList>


Is This A Good Question/Topic? 0
  • +

Page 1 of 1