持久自定义Asp.Net webpart属性 [英] Persisting Custom Asp.Net webpart Properties

查看:106
本文介绍了持久自定义Asp.Net webpart属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个自定义编辑器Webpart,用于将内容显示为网格样式,列表样式和滚动样式。我需要从编辑WebPart中选择具有显示下拉列表(网格,列表和滚动)的样式。



它工作正常,但问题是下拉值没有保留停止调试后再次运行。 AppearanceEditorPart,LayoutEditorPart和BehaviorEditorPart中的值完全保留(因为这些是常规的webpart编辑器而不是自定义)。



如何在我的自定义编辑器中实现此目的。

I have a Custom Editor Webpart for displaying content as Grid style,List style and Rolling Style. I need to select the style from Edit WebPart which has Display DropdownList(Grid,List and Rolling).

It is working fine, but the problem is dropdown value not retaining after stop debug and run again. The values in AppearanceEditorPart,LayoutEditorPart and BehaviorEditorPart are retained perfectly( because these are regular webpart editor not a custom).

How can i achieve this in my custom Editor too.

推荐答案

这篇关于持久自定义Asp.Net webpart属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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