Ramco Ramco

Ramco Ramco

  • 440
  • 3.4k
  • 515.9k

Display image after FileUpload

Dec 9 2022 12:33 PM

Hi

  I have below code & i want when user upload image it should be displayed below in a image.

<div class="form-group col-lg-12">
    <div class="form-group">
        <label class="control-label">Files to Attach</label>
        <asp:FileUpload ID="FileUpload1" runat="server" AllowMultiple="True" class="filestyle" data-input="false" />
    </div>
</div>
<div class="col-lg-3 col-sm-3 col-xs-3 col-md-3">
    <asp:Image ID="img1" Height="150px" Width="150px" runat="server" />
</div>

Thanks


Answers (4)