Stefan Haupt#1896
Hi
I have integrated your code in a large solution. The code compiles fine but ajax actions do nothing and postbacks return ControlNotFound exceptions. Se code below (which should look familar as it is taken more or less directly from your examples):
exception message is: Can't locate rubberband with ClientID equals 'RectangleRubberband1'.
The solution also contains other ajax components, can this be an issue?
Regards
<stefan>
I have integrated your code in a large solution. The code compiles fine but ajax actions do nothing and postbacks return ControlNotFound exceptions. Se code below (which should look familar as it is taken more or less directly from your examples):
<td>
<input id="ButtonCrop" onclick="Crop();" type="image" src="Images\ImageEditor\crop.jpg" />
<input id="ButtonRotateRight" onclick="RotateRight();" type="image" src="Images\ImageEditor\right.jpg" />
<input id="ButtonRotateLeft" onclick="RotateLeft();" type="image" src="Images\ImageEditor\left.jpg" />
<input id="ButtonBrightnessUp" onclick="BrightnessUp();" type="image" src="Images\ImageEditor\light.jpg" />
<input id="ButtonBrightnessDown" onclick="BrightnessDown();" type="image" src="Images\ImageEditor\dark.jpg" />
</td>
</tr>
<tr>
<td valign="top">
<aur:BitmapViewer ID="viewer" runat="server" Width="344px" Height="270px" ImageLoadMode="AdaptiveTile" Rubberband="RectangleRubberband1"
ZoomMode="BestFitShrinkOnly" ViewportAlignment="CenterCenter" BorderWidth="2" BorderStyle="Inset" ScrollBarsStyle="Auto" BackColor="White">
</aur:BitmapViewer>
</td>
<td>
</td>
<td valign="top" width="100">
<span id="SpanWarning" style="display: none; font-weight: bold; color: red">Selected
area is too small to get good quality of prints. </span>
<asp:CustomValidator ID="imageValidation" runat="server"></asp:CustomValidator>
</td>
<td>
<asp:Button ID="OK" runat="server" OnCommand="UploadImage" Text="Gem" />
</td>
</tr>
</table>
<aur:RectangleRubberband ID="RectangleRubberband1" runat="server" ResizeMode="Proportional" GripsVisible="True" MaskVisible="True" />
<script type="text/javascript">
Sys.Application.add_load(Application_load);
</script>
exception message is: Can't locate rubberband with ClientID equals 'RectangleRubberband1'.
The solution also contains other ajax components, can this be an issue?
Regards
<stefan>