PropertyGrid Validation issue

  1. #1

    PropertyGrid Validation issue

    Hi,

    I need to validate propertyGrid value before edit.I am adding property to propertyGrid on code behind.

    Field editor = getEditor(propertyInfo.Name);
    propertyGrid.AddProperty(new PropertyGridParameter
    {
       Name = propertyInfo.Name,
       Value = getValue(control,propertyInfo),
       DisplayName = atrr.Caption,
       Editor = { 
          editor             
       }
    });
    And on textField editor which is added in PropertyGrid im calling js function.I want to validate editor value before blur event is called.How can i achive this?

    TextField tf = new TextField();
    tf.Listeners.Blur.Handler = "propertyValueChanged(this,'"+ propertyName+ "')";
    return tf;
    Thank You
  2. #2
    Do u have any suggestion plz?Its urgent.
    How can i validate property grid on blur event?If its not possible how can i validate propertyGrid before value changed?
    Thank you

Similar Threads

  1. [CLOSED] PropertyGrid editor issue
    By bossun in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: May 20, 2013, 7:36 AM
  2. [CLOSED] [1.0] Validation Error Rendering Issue
    By rcaunt in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Jan 13, 2012, 4:18 PM
  3. FormPanel Validation Issue (el is not defined)
    By inorder in forum 1.x Help
    Replies: 0
    Last Post: Mar 09, 2011, 11:03 AM
  4. [CLOSED] Issue with propertyGrid params viewstate
    By edigital in forum 1.x Legacy Premium Help
    Replies: 6
    Last Post: Feb 21, 2011, 6:39 PM
  5. PropertyGrid Big Issue.
    By dr.lam in forum 1.x Help
    Replies: 0
    Last Post: Jul 14, 2009, 11:17 PM

Tags for this Thread

Posting Permissions