This is a migrated thread and some comments may be shown as answers.

GridView with TextBox

3 Answers 84 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Øystein
Top achievements
Rank 1
Øystein asked on 01 Sep 2010, 09:43 AM
Hi.

I´m using a gridview to display a number of textboxes. I want to use TAB to jump between the textboxes. If I use tab the cells will be selected but not the textbox. How can i set focus on the textbox when a cell in the grid gets focus?

Best regards
Øystein

3 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 01 Sep 2010, 09:59 AM
Hello Øystein,

 You can use the approach demonstrated in this demo - Loaded event of the TextBox to call Focus() for the TextBox itself. 

Sincerely yours,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Øystein
Top achievements
Rank 1
answered on 02 Sep 2010, 11:54 AM
I get this error message when I try to run the sample application.

PLATFORM VERSION INFO
 Windows    : 6.1.7600.0 (Win32NT)
 Common Language Runtime  : 2.0.50727.4952
 System.Deployment.dll   : 2.0.50727.4927 (NetFXspW7.050727-4900)
 mscorwks.dll    : 2.0.50727.4952 (win7RTMGDR.050727-4900)
 dfshim.dll    : 4.0.31106.0 (Main.031106-0000)

SOURCES
 Deployment url   : http://demos.telerik.com/wpf/?GridView/CellEditTemplate
 Application url   : http://demos.telerik.com/wpf/Application%20Files/Telerik.Windows.Examples_2010_1_0601_35/Telerik.Windows.Examples.exe.manifest

IDENTITIES
 Deployment Identity  : Telerik.Windows.Examples.xbap, Version=2010.1.601.35, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil
 Application Identity  : Telerik.Windows.Examples.exe, Version=2010.1.601.35, Culture=neutral, PublicKeyToken=0000000000000000, processorArchitecture=msil, type=win32

APPLICATION SUMMARY
 * Online only application.
 * Trust url parameter is set. * Browser-hosted application.

ERROR SUMMARY
 Below is a summary of the errors, details of these errors are listed later in the log.
 * An exception occurred while downloading the application. Following failure messages were detected:
  + Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
 No transaction error was detected.

WARNINGS
 There were no warnings during this operation.

OPERATION PROGRESS STATUS
 No phase information is available.

ERROR DETAILS
 Following errors were detected during this operation.
 * [02.09.2010 12:51:42] System.Deployment.Application.DeploymentException (Subscription)
  - Unable to install this application because an application with the same identity is already installed. To install this application, either modify the manifest version for this application or uninstall the preexisting application.
  - Source: System.Deployment
  - Stack trace:
   at System.Deployment.Application.SubscriptionStore.CheckApplicationPayload(CommitApplicationParams commitParams)
   at System.Deployment.Application.SubscriptionStore.CommitApplication(SubscriptionState& subState, CommitApplicationParams commitParams)
   at System.Deployment.Application.DeploymentManager.SynchronizeCore(Boolean blocking)
   at System.Deployment.Application.DeploymentManager.SynchronizeAsyncWorker()

COMPONENT STORE TRANSACTION DETAILS
 No transaction information is available.

 



Any idea how I can resolve it?
0
Vlad
Telerik team
answered on 02 Sep 2010, 12:47 PM
Hi,

 Can you try to clean your XBAP cache? You can use mage -cc in Visual Studio command prompt. 

All the best,
Vlad
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
Øystein
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Øystein
Top achievements
Rank 1
Share this question
or