Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

Nested grid + WebUserControl + AjaxFileUpload or RequiredFieldValidator

$
0
0

I've created two webusercontrols. Both are CRUD controls that have grids with Textboxes and RequireFieldValidators. Edit and New operations are raised in the screen with AJAX ModalPopupExtenders. One of this use, also, an AjaxFileUpload to upload images.

When I put this controls in a blank aspx all work fine. but, when I put this UserControls in a nested grid, (with two more rows in the root grid), two issues appear.

1.- Edit operation of WebUserControl 1: Two RequiredFieldValidators validate even when the values are right. If I accept the blank page without data, two validators validate fields. If I accept the nested page, (with three rows in the root grid), six validatos appear. I deleted one row in the root grid and, after try to insert a new row in the child grid, four validators validate fields.  

2.- New operation of WebUserControl 2: Trying to uploading a image in the nested grid of the row number 3 of the root, the control upload image in the nested grid of the first row of the root grid. I added other row in the root grid, and ordered in the first position and, when I upload an image, always upload in the nested grid of the first row of the root grid.

I don't upload code because I understand individual controls work fine, even both in the same page.

There are issues related this problem? 

Thanks.

 

Charly


Viewing all articles
Browse latest Browse all 5678

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>