Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
Drop downlist to refresh warp in wabpart
posted

Hi all,

                I am using a webpart inside which a dropdownlist is used to refresh a webasyncrefreshpanel(warp).  Warp is getting refreshed on selectedindexchanged event of dropdownlist. But the problem is this event is fired only for the first selection from dropdown.  Why is it so?  Can anybody help me solve this please?

 Thanks in advance,

Prasad M

 

Parents
  • 45
    posted

    I got a way to solve this. I wrote a onchange javascript function for dropdownlist.

    function RefreshWarp()

    {

    var warp=eval(document.getElementById("<%=warpMyFacility.ClientID%>"));

    //alert(warp.id);

    var warpid = ig$(warp.id);

    warpid.refresh();

    //__doPostBack(warp, '');

    }

     

    So Warp is refreshed on selection of item from drop down.

    Then call the selecteindexchanged function of dropdown on oncontentrefresh event of warp.

    So cool. But a slight full page refresh still occurs sometimes. But result is much better than before.

    Regards, 

    Prasad M 

Reply Children
No Data