Jump to content
Software FX Community

canurao

Members
  • Posts

    4
  • Joined

  • Last visited

Everything posted by canurao

  1. Added template feild in that added itemTemplate and Update template. Added Label and textbox in respective tags. I am able to bind data to label but not able to bind data in update panel. If i click on cancel button during the updation of record then the entire row is getting disappeared. Please help me as i need to implement this functionality.
  2. How can i set MaxLength property for textbox in gidFX. I need to set this property as the textbox is taking unlimited of characters.
  3. Is there any option to add date picker in gridfx control?
  4. I need to perform validations against database. If row exists then it should populate error. For this i have used "ValidatingFieldInput" event. For insert it is working fine. When i am trying to update the then this validation is fired and always returns error message. Can any one tell me how to avoid this problem. Here is the sample code i am using this validation need to execute for insert and update (only if old vale and new value is not same) protected void grdAssetTypes_ValidatingFieldInput(object sender, FieldInputValidationEventArgs e) { if (e.Field.DataPath == "AT_str_AssetType") { dsATAR.ATAR_AssetTypesRow ARow = null;ARow = AtarAssetDT.FindByAT_str_AssetType(e.InputValue.ToString());if (ARow != null) { e.ErrorMessage = "Error: Asset Type Exists";e.IsValid = false; } } }
×
×
  • Create New...