私はvb.netて画像をトリミングするために使用されるが、まずあなたがthis controlをダウンロードしてくださいコードは次のとおりです。
<asp:Panel ID="pnl" runat="server" HorizontalAlign="Right" Font-Names="Tahoma"
Font-Size="15pt">
Upload your picture
<br />
<asp:Panel ID="croppnl" runat="server" HorizontalAlign="Left" Width="810px">
<asp:Image ID="Image1" runat="server" />
<cs:CropImage ID="CropImage1" runat="server" Image="image1"
IsInUpdatePanel="False" />
<asp:Button ID="cropbtn" runat="server" CausesValidation="False"
Font-Names="Tahoma" Text="Crop" />
<br />
</asp:Panel>
分離コード:ウル再生のため
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Image1.ImageUrl = "~/Image.jpg"
End Sub
Protected Sub cropbtn_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles cropbtn.Click
CropImage1.Crop(MapPath("croppedpictures.jpg"))
End Sub
感謝.i切り取りpart.itが正常に動作していて、サーバーフォルダにイメージを保存することができますが、同時にこのパスをhttpハンドラに送信する必要があります.httpハンドラはcontext.request.filesのみを受け入れます。format.now私は、ファイルのuploaderのcontrol.the画像パスを使用していないので、そのformat.becauseで送信できません.HTMLハンドラを編集する機会はありません。 – sandeep
あなたはurコードを共有できますか?私たちがあなたを助けることができるように –