Can we add a runat server attribute via javascript?. My scenario is user has to give a groupname and upload images to server. if the group name is duplicated i have to show the error message without choosing the image files once again.
I am really finding it difficult to achieve this. Any help would be appreciated