Basically I have a few asp.net objects. I get the ID of object 1 and assign it to a string. I then want to add a control to a placeholder than end in that ID. Not too sure how to go about doing this.
string id = Regex.Match(btnCreateHazard.ID, @"\d+$").Value;
phHazard(SOMEHOW GET THE ID HERE).Controls.Add(txtHazardDesc);
Thanks a lot.