HOW TO : Visible control if I using ajax Updatepanel ?!

Discussion in 'ASP.NET 2.0' started by falshaye, Mar 26, 2008.

  1. Hi,

    I have three controls the first one RadioButtonList, textbox anddropdownlist, What I want to do if I click on RadioButtonList I want textbox control visible..How I Do that if i'm using UpdatePanel :




    <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">


    <ContentTemplate>





    <asp:placeHolder ID="placeHolder" runat="server"></asp:placeHolder>





    </ContentTemplate>


    <Triggers>


    <asp:AsyncPostBackTrigger ControlID="ImageButton1" EventName="Click" />


    <asp:AsyncPostBackTrigger ControlID="ImageButton2" EventName="Click" />


    <asp:AsyncPostBackTrigger ControlID="btn_search" EventName="Click" />


    <asp:AsyncPostBackTrigger ControlID="txtSearch" EventName="TextChanged" />


    <asp:AsyncPostBackTrigger ControlID="DDLDept" EventName="SelectedIndexChanged" />


    <asp:AsyncPostBackTrigger ControlID="RadioButtonList1" EventName="SelectedIndexChanged" />


    </Triggers>


    </asp:UpdatePanel></BLOCKQUOTE>
     
  2. Hi..wisemx

    I read, but I could not obtain the required. Is it possible to obtain a very clear [​IMG]
     
  3. Step me through the way you're using it and what you need...
    i.e. Pulling records from SQL Server, displaying records for View, etc.
    Salute,
    Mark
     

Share This Page