Click here to Skip to main content
15,894,405 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi experts,

i am wokring on a form where i am using a UpdatePanel,here is the code for update panel
XML
<asp:UpdatePanel ID="UpdatePanel2" runat="server">
                                          <ContentTemplate>
                                              <table border="0" width="100%" cellspacing="0" cellpadding="9" align="center">
                                                  <tr runat="server" id="trStores" visible="true">
                                                      <td align="right" valign="top" width="34%">
                                                          Select Store:
                                                      </td>
                                                      <td align="left" width="65%">
                                                          <asp:CheckBoxList ID="chkStores" runat="server">
                                                              <asp:ListItem Value="-1">All Stores</asp:ListItem>
                                                          </asp:CheckBoxList>
                                                      </td>
                                                  </tr>
                                              </table>
                                          </ContentTemplate>
                                          <Triggers>
                                              <asp:AsyncPostBackTrigger ControlID="ddlMerchant" EventName="TextChanged" />
                                          </Triggers>
                                      </asp:UpdatePanel>


In the updatePanel i have used the Trigger because the control which is firing the the event is outside update panel.
here i am having a Dropdown outside the update panel.

XML
<asp:DropDownList ID="ddlMerchant" runat="server" Width="210px" AutoPostBack="true"
                                               OnSelectedIndexChanged="ddlMerchant_SelectedIndexChanged">
                                           </asp:DropDownList>



till now the working fine,but now i want to use the UpdateProgress here is the code,

XML
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2">
                       <ProgressTemplate>
                           Loading....
                       </ProgressTemplate>
                   </asp:UpdateProgress>



Now the problem is UpdateProgress is not displaying the message?


but if put the dropdown inside the updatepanel and remove the Trigger the this updateProgress work fine.

it means UpdateProgress is not working with Trigger..


So help me to dipslay the UPdateProgress using trigger in Update panel
Posted
Comments
Tom Marvolo Riddle 6-Dec-13 1:30am    
I'm not sure but try a separate updatepanel for ddlmerchant
Er Daljeet Singh 6-Dec-13 7:15am    
Dear everything working fine and there is no need to put the dropdownlist inside the update panel i jusat want to display the progressTemplate..

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900