Hi Arun Kumar,
I have created custom control for file upload, code behind clone from ~\CMSFormControls\Media\UploadControl.ascx
I found it contain a code to register postback trigger in uploader
protected override void OnPreRender(EventArgs e)
{
//some stuff code...
// Register post back button for update panel
if (Form.ShowImageButton && Form.SubmitImageButton.Visible)
{
ControlsHelper.RegisterPostbackControl(Form.SubmitImageButton);
}
else if (Form.SubmitButton.Visible)
{
ControlsHelper.RegisterPostbackControl(Form.SubmitButton);
}
}
But if i remove that code, it won't upload anything.
I wonder if is there a way to make it work withou postback ?