日期:2014-05-17  浏览次数:20421 次

有EXTJS的高手没?问个关于ext:HtmlEditor取值的问题!
aspx:
<ext:Panel 
  ID="Panel1" 
  runat="server" 
  Width="610" 
  Height="300" 
  Html="Content" 
  BodyStyle="padding:6px;"
  Title="Editor panel">  
  <TopBar>
  <ext:Toolbar ID="Toolbar1" runat="server">
  <Items>
  <ext:ToolbarButton ID="ToolbarButton1" runat="server" Text="Edit" Icon="Pencil">
  <Listeners>
  <Click Handler="el.setDisabled(true);#{Button2}.setDisabled(false);#{PanelEditor}.startEdit(#{Panel1}.getBody());" />
  </Listeners>
  </ext:ToolbarButton>
  <ext:ToolbarButton ID="Button2" runat="server" Text="Save" Icon="Disk" Disabled="true">
  <Listeners>
  <Click Handler="el.setDisabled(true);#{ToolbarButton1}.setDisabled(false);#{PanelEditor}.completeEdit();" />
  </Listeners>
  </ext:ToolbarButton>  
  </Items>
  </ext:Toolbar>
  </TopBar>
  </ext:Panel>
  <ext:Editor 
  ID="PanelEditor" 
  runat="server"
  AutoSize="Fit"
  Shadow="None">
  <Field>
  <ext:HtmlEditor ID="HtmlEditor1" runat="server" />
  </Field>
  </ext:Editor>
   
  <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="Button" />
  <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>

如何取得输入的值呢?
解决之后马上结贴!高手帮忙帮忙!

------解决方案--------------------
前台触发某个事件传入参数
后台request直接获取
或用ajax