- Joined
- Sep 24, 2008
- Messages
- 2
- Reaction score
- 0
I am creating a number of textboxes dynamically from code behind and setting their Id's properly.
i am adding them in a dynamically generated table that is added to a static aspanel.
But at the postback when i use findcontrol or iterate through every control of form, i cant find any textbox control or a table control.
I have tried creating the textboxes in the Init function also but no sucess.
Does any one has any idea ?
Below is the HTMl table generated
</div><br /><br />
<span style="font-weight:bold;">Description of CCI 1 ATTRIBUTE</span><table class="AttributeTable" cellpadding="5" border="0">
<tr>
</tr><tr>
<td><span>Child 1</span></td><td><input name="87" type="text" id="87" /></td><td><span>String </span></td>
</tr><tr>
<td><span>Child 2</span></td><td><input name="88" type="text" id="88" /></td><td><span>String </span></td>
</tr><tr>
</tr><tr>
</tr>
</table><span style="font-weight:bold;">Description of cbs 1 ATTRIBUTE</span><table class="AttributeTable" cellpadding="5" border="0">
<tr>
</tr><tr>
<td><span>child 3</span></td><td><input name="89" type="text" id="89" /></td><td><span>String </span></td>
</tr><tr>
<td><span>child 4</span></td><td><input name="90" type="text" id="90" /></td><td><span>String </span></td>
</tr><tr>
</tr><tr>
</tr>
</table>
</div>
i am adding them in a dynamically generated table that is added to a static aspanel.
But at the postback when i use findcontrol or iterate through every control of form, i cant find any textbox control or a table control.
I have tried creating the textboxes in the Init function also but no sucess.
Does any one has any idea ?
Below is the HTMl table generated
</div><br /><br />
<span style="font-weight:bold;">Description of CCI 1 ATTRIBUTE</span><table class="AttributeTable" cellpadding="5" border="0">
<tr>
</tr><tr>
<td><span>Child 1</span></td><td><input name="87" type="text" id="87" /></td><td><span>String </span></td>
</tr><tr>
<td><span>Child 2</span></td><td><input name="88" type="text" id="88" /></td><td><span>String </span></td>
</tr><tr>
</tr><tr>
</tr>
</table><span style="font-weight:bold;">Description of cbs 1 ATTRIBUTE</span><table class="AttributeTable" cellpadding="5" border="0">
<tr>
</tr><tr>
<td><span>child 3</span></td><td><input name="89" type="text" id="89" /></td><td><span>String </span></td>
</tr><tr>
<td><span>child 4</span></td><td><input name="90" type="text" id="90" /></td><td><span>String </span></td>
</tr><tr>
</tr><tr>
</tr>
</table>
</div>