各行に一意のスライダー コントロールがある ASP.NET GridView コントロール内に JuiceUI Slider コントロールを含めようとしています。テストとして、Slider コントロールを作成しました。
<juice:slider ID="MasterThresholdSlider" Value="50" Min="0" Max="100" runat="server"
Step="25" ValueChanged="MasterThresholdSlider_ValueChanged"></juice:slider>
<asp:TextBox ID="MasterThresholdText" runat="server"></asp:TextBox>
私が読んだドキュメントから、ValueChanged イベントが発生したときに値が変更されたことを検出できます。そのため、コード ビハインドで次のように作成しました。
protected void MasterThresholdSlider_ValueChanged(object sender, EventArgs e)
{
Juice.Slider slider = (Juice.Slider)sender;
MasterThresholdText.Text = slider.Value.ToString();
}
なんらかの理由で、アプリケーションを実行してもイベントが発生しません (ブレークポイントはイベントの先頭にあります)。私が間違っていることを知っている人はいますか?