Click here to Skip to main content
15,896,606 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
XML
.i have textarea from where i pass value to code behind in asp.net
so when i add new textarea , the value for this is passed

for exp:

<textarea id="GetTextArea1" style="visibility: hidden; display: none;" name="GetActivityText[1]" aria-hidden="true"></textarea>
the above is original ..

then i add textarea from jquery and it shows ,

<textarea id="GetTextArea2"  name="GetActivityText[2]" aria-hidden="true"></textarea>


the value for GetTextArea[2] is shown in code behind , and for GetTextArea[1] value is blank
Posted
Comments
Naz_Firdouse 10-Jan-14 7:49am    
could be please elaborate your problem?
maulikshah1990 10-Jan-14 7:58am    
i save textarea values in database..for that

I have textarea like ,
<textarea id="GetTextArea1" name="GetActivityText[1]" aria-hidden="true"></textarea>

and when i see in source code, i get html as
<textarea id="GetTextArea1" style="visibility: hidden; display: none;" name="GetActivityText[1]" aria-hidden="true"></textarea>

and when i add textarea from jquery like
<textarea id="GetTextArea2" name="GetActivityText[2]" aria-hidden="true"></textarea>

in source code , i get as
<textarea id="GetTextArea2" name="GetActivityText[2]" aria-hidden="true"></textarea>

also, when i save in database, GetActivityText[2] value is saved , but GetActivityText[1] is not saved....



how to make GetActivity[1] as visible like GetActivity[2] is visible

1 solution

<textarea id="GetTextArea1" style="visibility: hidden; display: none;" name="GetActivityText[1]" aria-hidden="true"></textarea>

You must have written some code to make style like this. Please check your code both in .cs and .aspx page.
 
Share this answer
 
v2

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