Can I get the control in the control
-
I mean, I did like this: I put DataList inside the DetailsView, and there is an Image controol inside the Data list, I need to get that Image to change its' ImageURL property from the C# Code file. I tried this:
DataList ImagesDataList = (DataList)DetailsView1.FindControl("DataList1"); Image ImageControl = (Image)ImagesDataList.FindControl("ImageControl");
But it doesn't work. thx -
I mean, I did like this: I put DataList inside the DetailsView, and there is an Image controol inside the Data list, I need to get that Image to change its' ImageURL property from the C# Code file. I tried this:
DataList ImagesDataList = (DataList)DetailsView1.FindControl("DataList1"); Image ImageControl = (Image)ImagesDataList.FindControl("ImageControl");
But it doesn't work. thxYes U can get. what error r u getting here? Best Regard Pathan
---------------------------------------------------
-
Yes U can get. what error r u getting here? Best Regard Pathan
---------------------------------------------------
-
U need to bind Datalist first. best regard Pathan
---------------------------------------------------
-
U need to bind Datalist first. best regard Pathan
---------------------------------------------------