.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

How to? Virtual Keyboard

Posted By:      Posted Date: September 01, 2010    Points: 0   Category :ASP.Net
Hi,I'm trying to create a website (asp.net in c#) to be used on a touchscreen monitor and need to do data input for the webpage by a virtual keyboard (on screen). I found one that allows me to do so (click here) but it has some restrictions.#1. I'm only able to assign one keyboard to one textbox - which means if i have ten textboxes I'll need to create ten keyboards for each textbox#2. I am unable to use it for dynamically created controls (e.g. gridview) as I have no idea what the created grid view control id's are. Is there a way for me to do data input using one keyboard for all my controls (could be another method different from the one I mentioned)? If not, can anyone tell me how I'll me able to get control id on control focus please?I appreciate your help.Thanks!

View Complete Post

More Related Resource Links

WPF 4.0 on Windows 7 Touch - Does PasswordBox support virtual (on-screen) keyboard?



I am developing a WPF 4.0 application to be deployed on a Windows 7 Touch machine.

During initial testing, I observed that TextBox control supports the virtual (on-screen) keyboard by default. However, the PasswordBox control does not seem to support the virtual keyboard.

I could not find any properties on PasswordBox to enable the virtual keyboard. Also, there isn't any guidance available online. For now, I assume that virtual keyboard has been disabled for security reasons.

Does the PasswordBox control support the virtual keyboard? If yes, please let me know the details.

Appreciate your time,


Virtual Keyboard wont write to a textbox on the parent Window, but will on an external app (notepad)


I have a window (window1) it has a textbox (debugging purposes)..

The code behind creates a new Window PDFViewer. This window has a button that triggers a virtual keyboard control.

If I run the application and click the keyboard button and then open notepad.. All works well. It writes into note pad. So that tells me the virtual keyboard works.

However, if I click into the textbox and type nothing happends. It appears that the textbox looses focus, cursor disappears when I click on the virtual keyboard.

If I type into the textbox with my regualar keyboard it types into the textbox.

Why is the virtual keyboard not able to type into the textbox on the parent window?? agggggh



 <Window x:Class.....

<TextBox Width="150" Height="50"></TextBox>

private PDFViewer pdfCntrl;

   pdfCntrl = new PDFViewer();
   pdfCntrl.Owner = this;

Now in the PDFViewer  code..

In the localWindow_Activate()


virtual keyboard code



I want write a virtual keyboard as same as windows V.keyboard . I want that it can type in any active forms for example in internet explorer . would you help me or give me an open source code .





thank you !

Sorry For My English

PDA Keyboard v1.0 Light Edition - Full Screen Keyboard

The default keypad on Windows Mobile is not at all finger friendly, there is no way you can use it with your fingers. I have trouble using the stylus with it too. But there are many freeware option available to make the SIP ( Software Input Panel - check the Glossary ) finger friendly. Some of these are HTC Diamond keyboard, Blimkeys, PocketCM Keyboard and then now we have PDA Keyboard v1.0 Light Edition from pdamedia.biz. When you hit the blue button it goes into fullscreen mode , then you can use both your hands for typing.

Virtual Path Problem


 I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,

Note that the slashes go in different directions

I've tried a number of things but nothing seems to work. Thanks-


Imports System.Drawing
Imports System.Drawing.Drawing2D
Imports System.Drawing.Imaging
Imports System.Web.UI.WebControls

Imports System.Drawing.Imaging.ImageCodecInfo
Partial Class Protected_imageupload
    Inherits System.Web.UI.Page
    Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
        ' Initialize variables
        Dim sSavePath As String
        Dim sThumbExtension As String
        Dim intThumbWidth As Integer
        Dim intThumbHeight As Integer
        Dim sFilename As String = ""
        ' Set constant values
        'sSavePath = "images/"
        sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"

        sThumbExtension = "_thumb"
        intThumbWidth = 160
        intThumbHeight = 120

        ' If file field isn?t empty
        If FilUpload.PostedFile IsNot Nothing Then
            ' Check file size (mustn?t be 0)
            Dim myFile As Http

Difference Btw Website vs Web application and Virtual directory in IIS 7


May i know what is the Differenc that they actually make in IIS7 .

Please tell me at a low level as i am still a novice in Asp.Net


Thanks in Advance.


Keyboard shortcuts stops working in WebMatrix


I'm often experiencing that keyboard shortcuts stops working in WebMatrix. This is very annoying as CTRL-S, CTRL-C, CTRL-V, etc. stops working, all of which are heavily used when programming. It's obviously hard to explain how to reproduce this, but I was wondering if someone knows a quick-fix?

Windows With C++: The Virtual Disk API In Windows 7


This month we look inside the Windows 7 beta to examine the Virtual Disk API and the Microsoft Virtual Hard Disk (VHD) format.

Kenny Kerr

MSDN Magazine April 2009

Test Run: Configuration Testing With Virtual Server, Part 2


Because Virtual Server is built upon a set of COM modules, you can automate the creation and testing of virtual machines. Here we use Windows PowerShell to run the tests.

Dr. James McCaffrey and Paul Despe

MSDN Magazine December 2008

Test Run: Configuration Testing With Virtual Server, Part 1


This time James McCaffrey sets up a virtual environment to use for configuration testing to introduce you to software configuration testing with Microsoft Virtual Server

Dr. James McCaffrey

MSDN Magazine September 2008

Earthly Delights: Code Your Applications To Deliver The World With Virtual Earth APIs


In this article, Chandu Thota highlights some of the most salient features of the Virtual Earth APIs and shows you how to build your own powerful mapping and local search applications using them.

Chandu Thota

MSDN Magazine September 2006

{ End Bracket }: Microsoft Java Virtual Machine Update


In a settlement agreement reached in January 2001 to resolve a dispute over the Microsoft distribution of its Java implementation, Sun Microsystems and Microsoft agreed to limit the duration of the time Microsoft would use Sun's source code and compatibility test suites to support the Microsoft® Java Virtual Machine (MSJVM).

Brian Keller

MSDN Magazine October 2004

Virtual Server 2005: Program Customized Testing Environments Without Trashing Your Machine


Efficient testing can require many different machine and server configurations but the effort needed to manage these test environments can take a toll. Microsoft Virtual Server 2005 simplifies the provisioning and management of testing environments. This article demonstrates how the extensive Virtual Server COM API can be used to create an automated application testing environment to make your testing chores a whole lot easier.

Ben Waldron

MSDN Magazine August 2004

Mobility: Add Keyboard Support to Compact Framework Apps by Trapping Windows Messages


The Compact Framework Control class doesn't provide direct access to Windows messages. However, with P/Invoke, a few lines of native code, and the Compact Framework MessageWindow class, it's still possible to access underlying Windows messages. This can be used to work around any .NET Framework features, including keyboard support, that are not included in the Compact Framework.

Alan Pulliam

MSDN Magazine April 2004

ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend