So i start investigate my code, and luckily i found the solution.
The solution
I just need to set enctype attribute at the form and value multipart/form-data .This is the code i use.
protected override void OnInit(EventArgs e) { base.OnInit(e); Page.Form.Attributes.Add("enctype", "multipart/form-data"); }
Hopefully this simple solution help someone.
By Mohd Zulkamal
NOTE : – If You have Found this post Helpful, I will appreciate if you can Share it on Facebook, Twitter and Other Social Media Sites. Thanks =)
0 comments:
Post a Comment