Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > AJAX.NET triggers don't fire

Reply
Thread Tools

AJAX.NET triggers don't fire

 
 
Troy Donavan
Guest
Posts: n/a
 
      12-19-2006
The idea here is to get the user's country, state and city and when the
country is selected the selections for state would be updated and similarly
for state, when a state is selected the selections for city would be updated.
Unfortunately, none of the triggers are firing. Any idea why?

Here is the code in a page with three DropDownList controls.

<%@ Page Language="VB" MasterPageFile="~/TasiAsp.master"
AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default"
title="Untitled Page" %>
<asp:Content ID="ContentLogIn" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">

<asp:UpdatePanel ID="UPCountry" runat="server">
<ContentTemplate>


<aspropDownList ID="DDCountry" runat="server" style="z-index: 100;
left: 500px; position: absolute; top: 100px; width: 200">
</aspropDownList>

</ContentTemplate>
</asp:UpdatePanel>




<asp:UpdatePanel ID="UPState" runat="server">
<ContentTemplate>
<aspropDownList style="Z-INDEX: 100; LEFT: 500px; WIDTH: 200px; POSITION:
absolute; TOP: 130px" id="DDState" runat="server" __designer:wfdid="w4">
</aspropDownList>
</ContentTemplate>
<triggers>
<asp:AsyncPostBackTrigger ControlID="DDCountry"
EventName="TextChanged"></asp:AsyncPostBackTrigger>
</triggers>
</asp:UpdatePanel>





<asp:UpdatePanel ID="UPLocality" runat="server">
<ContentTemplate>
<aspropDownList style="Z-INDEX: 100; LEFT: 500px; WIDTH: 200px; POSITION:
absolute; TOP: 160px" id="DDLocality" runat="server" __designer:wfdid="w5">
</aspropDownList>
</ContentTemplate>
<triggers>
<asp:AsyncPostBackTrigger ControlID="DDState"
EventName="TextChanged"></asp:AsyncPostBackTrigger>
<asp:AsyncPostBackTrigger ControlID="DDCountry"
EventName="TextChanged"></asp:AsyncPostBackTrigger>
</triggers>
</asp:UpdatePanel>


</asp:Content>


--
Troy Donavan
http://www.velocityreviews.com/forums/(E-Mail Removed)
 
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
Ajax Triggers for DropDownList don't fire Troy Donavan ASP .Net Web Controls 3 12-27-2006 06:32 AM
Fire with fire Little Green Eyed Dragon Digital Photography 0 08-16-2006 12:15 AM
On fighting fire with fire... skip@pobox.com Python 16 08-01-2005 07:09 PM
Re: URGENT!!!!!!!!!!!!!!!!Can Triggers fire to execute DTS Package????????? bruce barker ASP .Net 1 04-02-2004 08:56 PM



Advertisments