How to Edit DataGrid Cell in Silverlight

With the Microsoft Silverlight application framework, you can enter code for running Internet applications, including graphics, animations and other multimedia controls. The DataGrid control in Silverlight allows you to add information into various cells. You can manually edit a DataGrid cell at any time, and you can disable the editing after you finish making changes. It's important to carefully edit the scripting code so that you don't corrupt the application.

Instructions

    • 1

      Click the "Start" button in the lower left-hand side of your desktop and move your mouse over the "All Programs" option.

    • 2

      Click the "Microsoft Silverlight" application and locate the "DataGrid" object within your Web page code.

    • 3

      Locate the code for the cell you want to edit and make your edits. While you edit, the code will reflect the PreparingCellForEdit event for entering edit mode.

    • 4

      Press the "Enter" key on your keyboard. This will commit the edit for the cell and automatically add the CommitEdit script.

    • 5

      Enter "IsReadOnly=" into the open DataGrid expression and enter "True" after the equal sign. The DataGrid will become read-only after you have made your edit.

Related Searches

References

You May Also Like

  • How to Show Images in a Silverlight Datagrid

    Add the image column using "DataGridTempalteColumn." Add a cell template and create an image object to display the image in the cell....

  • How to Sort the Silverlight DataGrid

    Silverlight provides you with a medium for developing Internet applications using any .NET language, such as C# and VB.NET, which assists you...

  • How to Add an Edit Button to DataGrid

    One way to present tabular data efficiently is to use a grid. Microsoft includes a helpful grid management control with its Visual...

  • How to Remove a Row on Silverlight DataGrid

    Silverlight is a Microsoft application used for running Internet media. Embeddable in websites, Silverlight code particularly proves useful on multimedia displays ...

  • How to Sort Columns in DataGrid

    DataGrids are .NET controls that allow users to display data in a table-like fashion, but with much more functionality and options. DataGrids...

  • How to Disable Silverlight Buttons

    Microsoft Silverlight is a development platform for creating Web, desktop, and mobile applications. A button is used in a User Interface to...

  • How to Add an Image to a Silverlight Button

    Open the Silverlight editor and double click the form you want to edit in the "Solution Explorer" workspace. Scroll down to the...

  • Silverlight Animation Tutorial

    Microsoft Silverlight is the .NET based application media development environment for Windows phone applications, the Web and the desktop. Animation, which is...

  • How to Enable Vertical Scrolling

    Vertical scrolling is a slick modification that can be added to your iPhone through the third-party tweak InfiniBoard. As with all third-party...

  • How to Edit a Cell

    Users of Microsoft Excel will find that one of the most common tasks is editing cells. The data content of cells may...

  • How to Display an Image in Silverlight

    Microsoft Silverlight provides you with a language tool for advanced graphics and user interaction on web pages. The Silverlight software is freely...

  • How to Play Audio in Silverlight

    Microsoft Silverlight is a multimedia platform designed for usage on multimedia websites and applications. The software is designed for interactive gaming and...

  • How to Scroll in Silverlight

    Microsoft Silverlight is an application development framework utilized by developers to enable the creation of rich and dynamic Web applications with the...

  • How to Edit Data in Grid View

    The GridView is a control in Visual Studio that allows you to organize data in a table and edit it on a...

  • Silverlight Tutorial for Beginners

    Microsoft Silverlight can be used to create applications for websites. You can add buttons, animations or graphics to your application that can...

  • How to Remove Silverlight Manually

    Silverlight is a Microsoft software application similar to Adobe Flash Player and it runs multimedia, graphics and animation. The program offers support...

  • How to Hide DataGrid Columns

    Datagrids are controls that hold data in grids like a spreadsheet. They can be used in both Windows forms and websites. The...

  • How to Edit Columns in Grid View

    A grid view control is a part of the .NET programming language that allows you to lay out data in a table-like...

Related Ads

Featured