Excuse-me for my poor english.
This is my code:
<
atlas:ScriptManagerID="smImmobili"runat="server"EnablePartialRendering="true"/><
atlas:UpdatePanelID="upProvinciaZona"runat="server"EnableViewState="True"RenderMode="Inline"><ContentTemplate>
<tableborder="0"cellpadding="0"cellspacing="4"style="width: 98%"><tr><tdstyle="width: 109px"><strong>Regione
</strong></td><tdcolspan="3"><asp:DropDownListID="cmbRegioni"runat="server"Width="190px"AutoPostBack="True"OnSelectedIndexChanged="cmbRegioni_SelectedIndexChanged"CssClass="Testo"></asp:DropDownList></td></tr><tr><tdstyle="width: 109px; height: 19px;"><strong>Provincia
</strong></td><tdcolspan="3"style="height: 19px"><asp:DropDownListID="cmbProvince"runat="server"Width="190px"AutoPostBack="True"OnSelectedIndexChanged="cmbProvince_SelectedIndexChanged"EnableTheming="True"CssClass="Testo"></asp:DropDownList><strong></strong></td></tr><%
if(_ViewZone){ %><tr><tdstyle="width: 109px; height: 19px"><strong>Zona</strong></td><tdcolspan="3"style="height: 19px"><asp:DropDownListID="cmbZone"runat="server"Width="190px"CssClass="Testo"></asp:DropDownList></td></tr><%} %>
<trbgcolor="#044da4"><tdcolspan="4"style="height: 15px"></td></tr></table></ContentTemplate></atlas:UpdatePanel>This is a "CascadingDropDownList Style" page, obiouvsly not from Atlas Toolkit.
On SelectedIndexChange Event on first dropdown I execute server side code to Fill the second drop down:
protected
void cmbRegioni_SelectedIndexChanged(object sender,EventArgs e){
FillComboProvince(
int.Parse(cmbRegioni.SelectedValue));_ViewZone =
clsProvince.getProvince(cmbProvince.SelectedValue).ViewZone;}
FillComboProvince is a Method that fill my combo with some cities.
ex... cmbProvince.Items.add(...)...
With EnablePartialRendering="true" don't work! WHY?
Is it a bug?hello.
can you give us more details about what's wrong? btw, if you can build a small page that reprocudes the problem and post it here, you'll have more options of getting an answer...
No comments:
Post a Comment