Imports GrapeCity.Web.Input.Core
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
GcTextBox1.Format = "J"
GcTextBox1.AutoConvert = False
End Sub
Protected Sub GcTextBox1_InvalidInput(ByVal sender As Object, ByVal e As System.EventArgs)
GcGcMessageBox1.Show("ひらがな以外の入力はできません。", DialogType.Alert)
End Sub
using GrapeCity.Web.Input.Core;
protected void Page_Load(object sender, EventArgs e)
{
GcTextBox1.Format = "J";
GcTextBox1.AutoConvert = false;
}
private void GcTextBox1_InvalidInput(object sender, System.EventArgs e)
{
GcGcMessageBox1.Show("ひらがな以外の入力はできません。", DialogType.Alert);
}