开发者

DropDownExtender In Ajax

开发者 https://www.devze.com 2022-12-15 03:48 出处:网络
in my web page i want to place the ajax Dropdownexteder. but it is not working fine this is my code: <form id=\"form1\" runat=\"server\">

in my web page i want to place the ajax Dropdownexteder. but it is not working fine this is my code:

<form id="form1" runat="server">

        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
        <asp:Label  ID="lbldrp" runat ="Server" Text ="MyDropDown"></asp:Label>
        <asp:Panel ID="Mypanel" runat ="Server" >
          <asp:LinkButton ID ="linkmsn" runat ="Server" Text ="www.stackoverflow.com"></asp:LinkButton><br />
          <asp:LinkButton ID ="linkgoogle" runat ="Server" Text ="www.google.com"></asp:LinkButton>
        </asp:Panel>

        <cc1:DropDownExtender ID="DropDownExtender1" TargetControlID ="lbldrp" DropDownControlID ="Mypanel"  runat="server" >                 

        </cc1:DropDownExtender>
        <cc1:AnimationExtender ID="AnimationExtender1"  TargetControlID ="Mypanel"    runat="server">
        <Animations>
          <OnShow>
            <HideAction Visible="true" />
          </OnShow>
          <OnHide>
            <HideAction Visible="false" />
          </OnHide>
        </Animations>          
        </cc1:AnimationExtender>            

    </form>

it is giving some error like

"Animation on TargetControlID="Mypanel" uses property AjaxControlToolkit.AnimationExtender.OnShow that does not exist or 开发者_运维问答cannot be set"

help me thank you.


Hai Sasidhar OnShow and Onhide are not valid properties of ajaxcontroltoolkit:animationExtender, instead u can use OnMouseOver for OnShow and OnMouseOut for OnHide

Look at this http://www.c-sharpcorner.com/UploadFile/raj1979/AnimationExtender01242008065540AM/AnimationExtender.aspx

or

http://www.asp.net/AJAX/AjaxControlToolkit/Samples/Animation/Animation.aspx and check its properties

0

精彩评论

暂无评论...
验证码 换一张
取 消