本文介绍了FileUploader在Updatepanel内的gridview中不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我在updatepanel中有gridview ...在这个gridview中,我在imagebutton中有图像插入和更新过程...

对于此插入和更新,我在C#中使用了fileuploader.单击插入"按钮时,它会触发fileuploader事件...

触发fileuploader时,显示错误为对象引用未设置为实例"....因为fileuploader事件在updatepanel内部....

当updatepanel之外的fileuploader事件正常工作时...但是带有updatepanel的fileuploader对我的项目很重要....

所以请帮我解决这个问题....

问候
vivekx2

Hi all,
I have gridview inside the updatepanel...In this gridview i have image inserting and updating process in imagebutton...

For this inserting and updating i have used fileuploader in C#...When clicking insert button it fires the fileuploader event...

When it fires fileuploader it shows error as "Object reference not set to an instance"....Because the fileuploader event is inside the updatepanel....

When the fileuploader event outside the updatepanel it works fine...But fileuploader with updatepanel is important for my project....

So please help me to solve this problem....

Regards
vivekx2

推荐答案


这篇关于FileUploader在Updatepanel内的gridview中不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-17 19:42