Click here to Skip to main content
15,789,698 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I have generated dynamic textbox control in asp.net,
when submit event fire then it shows like below :-

ctl00%24cph1%24txttestimg_MagentoID=test+id 

but I put
C#
test id
on it how to resolve it.
Posted
Comments
syed shanu 29-Aug-14 1:53am    
Dont use Space ,try like this test_id
DINESH K MAURYA 29-Aug-14 1:59am    
okwhen user put space then how to avoid it.
syed shanu 29-Aug-14 2:02am    
is this test id is your textbox Id (textbox name ) you are creating.
if so then why you are allowing user to enter the Textbox name.
DINESH K MAURYA 29-Aug-14 2:05am    
i just put "test id" but it is name field..
syed shanu 29-Aug-14 2:12am    
Chk this link i think you have asked the same question over there .I have added as solution.

http://www.codeproject.com/Questions/812857/How-to-write-items-in-ListBox-into-TextBox?arn=4

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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