http://community.csdn.net/Expert/topic/4611/4611947.xml?temp=.5547449
帖子见这里,加上这个帖子400分,结帖我会另外在送100分,
 有意义的提示也给分..只到问题解决.

解决方案 »

  1.   

    InitializeSkin方法中加入以下部分事件就失效了if (FolderList != null)
                {
                    FolderList.RowCreated += new GridViewRowEventHandler(ResList_RowCreated);
                    FileList.RowCreated += new GridViewRowEventHandler(ResList_RowCreated);                FolderList.DataSource = CurrentDisk.Folders;                FolderList.DataBind();
                    FileList.DataSource = CurrentDisk.Files;
                    FileList.DataBind();
                    
                    
                }
      

  2.   

    你看看ResList_RowCreated这里都干了些什么
      

  3.   

    好了,问题清楚了,在初始化控件事,如果执行了GridView的绑定事件以后
     那么页面所有事件均失效, DataList之类的控件不存在此问题
     我已经不用GridView,不过谁有解决方案?
      

  4.   

    ResList_RowCreated就算什么都不干也一样只要执行了GridView.DataBind();
    所有页面事件都失效了