I have two buttons that are listed as TriggerControlIDS for a WebAsyncRefreshPanel. The problem that I'm encountering is that the first button works correctly by doing an asynchronous postback but the other button will not. Both buttons are used to manipulate a UltraWebGrid within the WebAsyncRefreshPanel. Does anyone have any suggestions?
Thanks,
Mike
If my code sample is also causing issues then you may need to either install the latest hotfix or upgrade to a newer version. If the issue seems isolated to your sample, you may want to submit an issue to Developer Support with the page giving you problems.
http://devcenter.infragistics.com/Protected/SubmitSupportIssue.aspx
I'm not using Master Pages with this app. I set the TriggerControlIDS through the designer. I'm 2007 7.2. I've gone into the web page and tested the controls there. I may need to update my version. I had trouble with the upgrade from 7.2 to 7.3 and went back to 7.2. Do you think I should go ahead and upgrade?
I tried out that setup and did not have any issues. Are you using master pages? How did you set the TriggerControlID, through the designer or through code. Here is what I tested in 2008 Volume 2 without issues:
<body>
<form id="form1" runat="server">
<div>
<igtxt:WebImageButton ID="WebImageButton1" runat="server">
</igtxt:WebImageButton>
<igtxt:WebImageButton ID="WebImageButton2" runat="server">
Width="721px" TriggerControlIDs="WebImageButton1,WebImageButton2">
<igtbl:UltraWebGrid ID="UltraWebGrid1" runat="server" >
<Bands>
<igtbl:UltraGridBand>
<AddNewRow View="NotSet" Visible="NotSet">
</AddNewRow>
</igtbl:UltraGridBand>
</Bands>
</igtbl:UltraWebGrid>
</igmisc:WebAsyncRefreshPanel>
</div>
</body>
I also added a sleep so i can see the progress indicator come up.
Thread.Sleep(2000);
The layout is as follows:
I have webimagebutton1 and webimagebutton2 outside of the warp panel directly on the form.
Next I have a warp. Inside the warp I have an UltraWebGrid.
I have both buttons assigned through the TriggerControlIDS property on the warp panel. It will work with the first assigned webimagebutton1 however it doesn't work with webimagebutton2.
What is your exactly layout? What control is inside of what WARP and what is directly on the form? The first thing that comes to mind is if you have both of these buttons ouside the WARP. Setting the TripperControlIDs to a control inside a WARP can cause issues.