Click here to Skip to main content
15,902,492 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
There is a parent grid and a child grid, inside the child grid in edit template there is a "html input text" control with the properties "id,name,runat and value" set.

now I'm trying to update the value entered in the control in the child grid's rowUpdate event, but when i try to find the "html input text" control and read the value it gives "Null" or empty string(i.e, "") instead of giving the value which i have entered.

Pls help me,
Thanks in advance.
Posted
Comments
[no name] 5-Mar-15 3:27am    
Grid inside another grid?
Member 11422868 5-Mar-15 4:51am    
Actually I'm able to manage all the events for inner grid but there was a problem with textbox inside the inner grid(i.e, whenever i used to update the row value in row update event a "," was prefixed to the text which i have entered),
So I replaced that asp:textbox with the html textbox but in code behind I'm unable to find the value.
[no name] 5-Mar-15 4:57am    
when u entered "hai" in text box what u get in code behind?u can use asp textbox.
Member 11422868 5-Mar-15 5:35am    
when i enter "hai" i used to get ",hai"
Even when i don't enter anything it was taking "," by default in code behind.

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900