当我选择下拉菜单项时,图像从文件上传控件中丢失.我们如何解决此问题? [英] Image is losted from file upload control when i selected dropdown item.How we solve this issue?

查看:69
本文介绍了当我选择下拉菜单项时,图像从文件上传控件中丢失.我们如何解决此问题?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我选择下拉项时,图像从文件上传控件中丢失.我们如何解决此问题?

Image is losted from file upload control when i selected dropdown item.How we solve this issue??

推荐答案

图像从文件上传控件中丢失当我选择下拉菜单项
看起来下拉列表的AutoPostBack属性设置为"True".像这样设置后,选择下拉项后,页面就会回发.将属性设置为"False".您可以通过在页面加载中放置断点来跟踪执行情况.
Image is losted from file upload control when i selected dropdown item
Looks like AutoPostBack property of dropdown is set to ''True''. When this is set like this, as soon as you select a dropdown item, page will get a postback. Set the property to ''False''. You can track the execution by putting a breakpoint in your page load.


这篇关于当我选择下拉菜单项时,图像从文件上传控件中丢失.我们如何解决此问题?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆