Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Atlas Cascading Down Page Load

Reply
Thread Tools

Atlas Cascading Down Page Load

 
 
sjickells@gmail.com
Guest
Posts: n/a
 
      09-08-2006
Hi,

Can any one help?

I have implemented the atlas toolkit in an application. For some reason
pages that contain the atlas controls call the page load method twice.

Here is the atlas code:

<%@ Control Language="C#" AutoEventWireup="true"
CodeFile="CascadingDropDown_Validated.ascx.cs"
Inherits="UserControls_CascadingDropDown_Validated " %>
<%@ Register Assembly="AtlasControlToolkit"
Namespace="AtlasControlToolkit" TagPrefix="atlasToolkit" %>

<%@ Register Assembly="PeterBlum.VAM.MSStyle"
Namespace="PeterBlum.VAM.MSStyle" TagPrefix="M2V" %>
<%@ Register TagPrefix="vam" Namespace="PeterBlum.VAM"
Assembly="PeterBlum.VAM" %>

<script runat="server">
</script>



<atlas:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<table border="0" width="720">
<tr>
<td class="bold" align="right" style="width: 180px">
Staff Id:
</td>
<td align="left" style="width: 180px">
<asp:TextBox ID="txtStaffId" runat="server"
CssClass="formSelectBox"></asp:TextBox>
</td>
<td style="width: 360px">&nbsp;</td>
</tr>
<tr>
<td class="bold" align="right" style="width: 180px">
Channel:
</td>
<td align="left" style="width: 180px">
<aspropDownList ID="ddlChannel" runat="server"
CssClass="formSelectBox">
</aspropDownList>
</td>
<td style="width: 360px">&nbsp;</td>
</tr>
<tr>
<td class="bold" align="right">
Region:
</td>
<td align="left" >
<aspropDownList ID="ddlRegion" runat="server"
CssClass="formSelectBox">
</aspropDownList>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="bold" align="right">
Area:
</td>
<td>
<aspropDownList ID="ddlArea" runat="server"
CssClass="formSelectBox">
</aspropDownList>
</td>
<td>&nbsp;</td>
</tr>
<tr>
<td class="bold" align="right">
Advisor:
</td>
<td>
<aspropDownList ID="ddlAdvisor" runat="server"
CssClass="formSelectBox" AutoPostBack="True"
OnSelectedIndexChanged="CascadingDropDown_OnItemCh ange">
</aspropDownList>
</td>
<td>&nbsp;</td>
</tr>
</table>

<br />

</ContentTemplate>
</atlas:UpdatePanel>


<atlasToolkit:CascadingDropDown ID="CascadingDropDown1" runat="server">
<atlasToolkit:CascadingDropDownProperties
TargetControlID="ddlChannel" Category="channel" PromptText="-- Please
select --" LoadingText="Loading Channels..."
ServiceMethod="GetDropDownContentsPageMethod" />
<atlasToolkit:CascadingDropDownProperties
TargetControlID="ddlRegion" Category="region" PromptText="ALL"
LoadingText="Loading Region..." ServicePath="ChannelsService.asmx"
ServiceMethod="GetDropDownContents" ParentControlID="ddlChannel" />
<atlasToolkit:CascadingDropDownProperties TargetControlID="ddlArea"
Category="area" PromptText="ALL" LoadingText="Loading Area..."
ServicePath="ChannelsService.asmx"
ServiceMethod="GetDropDownContents" ParentControlID="ddlRegion" />
<atlasToolkit:CascadingDropDownProperties
TargetControlID="ddlAdvisor" Category="advisor" PromptText="ALL"
LoadingText="Loading Advisors..." ServicePath="ChannelsService.asmx"
ServiceMethod="GetDropDownContents" ParentControlID="ddlArea" />
</atlasToolkit:CascadingDropDown>


Anyone else had this problem and managed to fix it?

Cheers

Si

 
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
ISSUE WITH AJAX CASCADING DROP DOWN CONTROL john_mcmahon@gap.com ASP .Net 0 01-04-2008 05:46 AM
Cascading radiobutton group/drop down list Michel Couche Javascript 1 04-29-2007 01:56 AM
Javascript event for Atlas page load Surya Vellanki ASP .Net 2 03-26-2007 11:28 PM
ASP.NET AJAX Control Tookit - cascading drop down robert@orisoft.co.uk ASP .Net 0 11-15-2006 11:50 PM
Cascading dropdown problem (without using Atlas ) pintu ASP .Net 0 09-14-2006 05:16 AM



Advertisments