Hi Terry,
We are reading xml file which will containing multiple image tags.
These image tags are having file type attribute which decide which file extensions are allowed to upload for that image file. Previously we have added Uploader control in Gridview so if our xml is having 20 image tags then 20 Uploader controls were bound. This caused the size issue. Page size was about 4 mb. So we have decided to remove this Uploader control from Gridview and added it in ModelPopupExtender so it will be rendered only once. It reduced the page size to 600 kb. But we are not able to add file extension using JavaScript.
If we use different control for file extension check then we will be back to our first issue as page size. So it is not possible for us to use that option.
Please help.
Regards,
Yogesh