How To Change Upload Widget to Icon

How To Change Upload Widget to Icon

  

I need help here, i'm using upload widget in web outsystems application and i want to change that button with icon widget..can i do that? Thx.

Hi Ricky,

As per my understanding, you can't change the upload widget to the icon but you can change the style of that widget.


here is the control

Regards,

Pankaj

Hi ricky,


Yes you can also customize the upload as per your requirement by applying style & css.

1. apply inline style->


"position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;"

2. Apply style class


.Form input.ReadOnly:not(.Not_Valid), .Form textarea.ReadOnly:not(.Not_Valid), .Form select.ReadOnly:not(.Not_Valid):focus {
    box-shadow: none;
}


Thanks!

JitendraYadav wrote:

Hi ricky,


Yes you can also customize the upload as per your requirement by applying style & css.

1. apply inline style->


"position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    cursor: pointer;"

2. Apply style class


.Form input.ReadOnly:not(.Not_Valid), .Form textarea.ReadOnly:not(.Not_Valid), .Form select.ReadOnly:not(.Not_Valid):focus {
    box-shadow: none;
}


Thanks!

Hi Jitendra,

I didn't understand how this code will change the upload widget as the icon.

Can you please elaborate?

Regards,

Pankaj


Hi pankaj,


Also use image to show the the block like

JitendraYadav wrote:

Hi pankaj,


Also use image to show the the block like

Hi  JitendraYadav,

How You Use it? can you give sample .oml ? Thx

Hi,

Yes once i'll get time..definitely will upload oml for u....Thanks!