I have an UltraWebGrid on my page (Content Page to be exact) that is contained in a WebAsyncRefreshPanel in order to allow the grid to be AJAX enabled. I have the trigger set up to update the Grid OnSelectedIndexChanged of a dropdownlist. I have simplified the error I'm getting by just trying to call a basic javascript function fired from the dropdownlist. This function just alerts a message saying it was fired.
The problem that I'm experiencing is that I can't fire both OnSelectedIndexChanged AS WELL AS any other event from my dropdown (including my basic javascript function). For example, if I call my javascript function from my onClick event the subsequent event (onSelectedIndexChanged) does not fire and the grid is not updated. If I call onSelectedIndexChanged first and hook my javascript function to a subsequent event my javascript function does not fire.
{
WebAsyncRefreshPanel1.AddLinkedRequestTrigger(ddlModelNumber);
}
What I am actually trying to do here, and maybe I'm going about this completely wrong, is when the user chooses a specific value out of the drop down list (fire OnSelectedIndexChanged via WebAsyncRefreshPanel trigger) i want the webgrid to be updated AND i want an AJAX UpdatePanel that I have initially set to invisible to be made visible (via OnSelectedIndexChanged).
Anyone have any idea why I can't seem to update the webgrid AND either make my update panel visible OR call another javascript function?
Thanks,
Jim