0

fckEditorを次のような値に設定すると

fckDescription.Value = "Description Text";

これにより、更新パネルがDropDownListコントロールの非同期PostBackを実行しないなどの問題が発生し、DropDownListの選択が変更されるとエラーが発生します。

Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500

しかし、私がこれらの行をコメントアウトするとき

// fckDescription.Value = "Description Text";

それはうまくいきます...なぜそうなのか疑問に思います!!?!!

また、fckEditorはUpdatePanelの外部にあり、DropDownListControlはUpdatePanelの内部にあります。

4

1 に答える 1

2
Page.ClientScript.RegisterOnSubmitStatement(EditorID.GetType(), "editor", "FCKeditorAPI.GetInstance('" + EditorID.ClientID + "').UpdateLinkedField();");
于 2011-03-09T09:44:51.840 に答える