hi guys. I have a problem with my script, I created textbox like :
"tdNilai = new TableCell();
txtNilaiRusak = new TextBox();
txtNilaiRusak.Attributes["id"] = arIdChild[b].ToString();
txtNilaiRusak.CssClass = "form-control create-number";
int dataKomponen = arIdKomponen.Count;"
txtNilaiRusak = new TextBox();
txtNilaiRusak.Attributes["id"] = arIdChild[b].ToString();
txtNilaiRusak.CssClass = "form-control create-number";
int dataKomponen = arIdKomponen.Count;"
but when I input values in front values always txtxNilairusak="". wht should I do. please help me soon

Manas MohapatraRank #182 · 13.2K reputationPosted Nov 15, 2016, 8:11 PM EST
mega sarasvari36 reputationPosted Nov 15, 2016, 8:28 PM EST
- TextBox tb = (TextBox)pnlTextBoxes.FindControl("dynaTextBox");
- TextBox tb = (TextBox)Page.FindControl("dynaTextBox")
error on this. name must not sameManas MohapatraRank #182 · 13.2K reputationPosted Nov 15, 2016, 8:30 PM EST
mega sarasvari36 reputationPosted Nov 15, 2016, 8:48 PM EST
{
for(int i=0;i
TextBox txtselected = (TextBox)tblData.FindControl(arIdChild[i].ToString());
TextBox txtselected2 = (TextBox)Page.FindControl(arIdChild[i].ToString());
if (txtselected != null && txtselected!=null)
{
string temp = txtselected.Text;
string temp2 = txtselected2.Text;
}
}
this.validate();
mega sarasvari36 reputationPosted Nov 15, 2016, 8:49 PM EST
Manas MohapatraRank #182 · 13.2K reputationPosted Nov 15, 2016, 9:09 PM EST
mega sarasvari36 reputationPosted Nov 15, 2016, 9:22 PM EST