private void SetButtonEdit() { bteTextInput.Buttons.Add(new EditButton()); bteTextInput.ClientSideEvents.ButtonClick = @"function(s,e) { " + popDataList.ClientInstanceName + @".Show(); }"; if (IsRequiredField) { bteTextInput.SetValidation(ValidationGroup); } }
private void SetButtonEdit() { bteMFCustomers.ClientSideEvents.ButtonClick = @"function(s,e) { " + popMFCustomers.ClientInstanceName + @".Show(); }"; bteMFCustomers.ClientSideEvents.LostFocus = @"function(s,e) { if(s.GetText() != " + hddMFCustomers.ClientInstanceName + @".Get('" + HKEY_NO + @"')) " + cbClickGdvRow.ClientInstanceName + @".SendCallback(); }"; if (IsRequiredField) { bteMFCustomers.SetValidation(ValidationGroup); } }
private void SetButtonEdit() { bteTextInput.Buttons.Add(new EditButton()); bteTextInput.ClientSideEvents.ButtonClick = @"function(s,e) { " + popDataList.ClientInstanceName + @".Show(); }"; bteTextInput.ClientSideEvents.LostFocus = @"function(s,e) { if(s.GetText() != " + hddData.ClientInstanceName + @".Get('" + HKEY_TXTINPUT + @"')) " + cbClickGdvRow.ClientInstanceName + @".SendCallback(); }"; if (IsRequiredField) { bteTextInput.SetValidation(ValidationGroup); } }