Solved

Check box (ASCI)

Posted on 2014-02-19
9
284 Views
Last Modified: 2014-02-22
I have a textbox and i want to fill it with a check. How?

for example

txtBox.text = however i get the checkbox
0
Comment
Question by:vbnetcoder
  • 4
  • 3
  • 2
9 Comments
 
LVL 58

Expert Comment

by:Gary
ID: 39871621
Use a checkbox and not a textbox.
0
 

Author Comment

by:vbnetcoder
ID: 39871633
Long story but i need a textbox....
0
 
LVL 40

Expert Comment

by:Kyle Abrahams
ID: 39871650
you could do

"[  ]"  as empty  and "[ X ] " as checked
0
 
LVL 58

Expert Comment

by:Gary
ID: 39871654
Then use the ASCII for a tick e.g.

<input type="text" value="&#10003;">
0
Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

 

Author Comment

by:vbnetcoder
ID: 39871658
so

txtbox1.text = <input type="text" value="&#10003;">
0
 
LVL 58

Expert Comment

by:Gary
ID: 39871676
txtbox1.text = "&#10003;"

If you want a slightly bolder version then

txtbox1.text = "&#10004;"
0
 

Author Comment

by:vbnetcoder
ID: 39873521
Would't
txtbox1.text = "&#10004;"

ust set the value in the textbox to "&#10004;"  

?
0
 
LVL 40

Accepted Solution

by:
Kyle Abrahams earned 500 total points
ID: 39873632
txtbox1.text = ChrW(&H2713)
0
 

Author Closing Comment

by:vbnetcoder
ID: 39879348
ty
0

Featured Post

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
User art_snob (http://www.experts-exchange.com/M_6114203.html) encountered strange behavior of Android Web browser on his Mobile Web site. It took a while to find the true cause. It happens so, that the Android Web browser (at least up to OS ver. 2.…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now