Geeksltd / Olive

Olive framework, for more productive cross platform .NET solutions. It's available under the GPL v3 license. See License.md for more information.
https://geeksltd.github.io/Olive
Other
44 stars 44 forks source link

FileUpload "data" attributes is not working with AjaxRedirect. (e.g: data_text) #249

Closed atirnaveed closed 5 years ago

atirnaveed commented 5 years ago

Example : data_text replace the text of button image It should display like this image but this only works when you refresh the page it will not work with AjaxRedirect. Also you need to add filestyle class as-well to the control.

hamidmayeli commented 5 years ago

Hi Atir,

The data attributes should be in this format data-text="test" while you have it like data_text. Could you please give it a try and let me know if still had any issue?

atirnaveed commented 5 years ago

Hi Hamid,

This is becuase you can't give - in htmlAttribute it will render as _ in html. Code : image Html Render : image

hamidmayeli commented 5 years ago

Fixed in v0.9.204.