Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > DropDownList SelectedIndexChanged not firing for extra <form>

Reply
Thread Tools

DropDownList SelectedIndexChanged not firing for extra <form>

 
 
George
Guest
Posts: n/a
 
      09-08-2004
I'm using .NET framework 1.1 and VS.NET 2003 for a aspx web form.

There is a DropDwonList on the page and its SelectedIndexChanged event is
fired to the server normally, until when I add another form "FormDummy" onto
the main form, and then the event no longer fires again when the user change
the value of the drop down list.

Can anybody help ? Thanks so much!

The aspx code is as follows:
(Every thing works fine is the form "FormDummy" is abscent !)

<%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb"
Inherits="HKG.WebForm1"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>WebForm1</title>
<meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" content="Visual Basic .NET 7.1">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema"
content="http://schemas.microsoft.com/intellisense/ie5">
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">

<form id="FormDummy" method="post">
</form>

<form id="Form2" method="post">
<aspropDownList id="DropDownList1" style="Z-INDEX: 101; LEFT: 168px;
POSITION: absolute; TOP: 64px"
runat="server" Width="160px" AutoPostBack="True">
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</aspropDownList>
</form>
</form>
</body>
</HTML>

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dropdownlist selectedIndexChanged event not firing =?Utf-8?B?Q3VybHlGcm8=?= ASP .Net 1 08-14-2005 04:21 PM
DropDownList SelectedIndexChanged event not firing when in a panel Paul Lacey ASP .Net 2 02-17-2005 09:51 AM
SelectedIndexChanged event of a DropDownList sometimes not firing Lew Barnesson ASP .Net 3 12-04-2004 07:56 PM
DropDownList SelectedIndexChanged not firing for extra <form> =?Utf-8?B?R2Vvcmdl?= ASP .Net 4 09-08-2004 02:23 PM
dropdownlist selectedindexchanged event not firing.. please help. DesignerX ASP .Net 2 11-14-2003 03:25 PM



Advertisments