Giter Site home page Giter Site logo

lexdx / how-to-edit-nullable-bool-field-with-the-aspxgridview-and-aspximage-in-edititemtemplate-e2318 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from devexpress-examples/out-of-maintenance-how-to-edit-nullable-bool-field-with-the-aspxgridview-and-aspximage-in-edititemte

0.0 1.0 0.0 24 KB

.NET, ASP.NET Web Forms, ASPxGridView

Home Page: https://codecentral.devexpress.com/e2318

License: Other

C# 55.97% ASP 44.03%

how-to-edit-nullable-bool-field-with-the-aspxgridview-and-aspximage-in-edititemtemplate-e2318's Introduction

How to edit Nullable field with the ASPxGridView and ASPxImage in EditItemTemplate

Starting with version 2011.1:
I recommend that you use ASPxCheckBox instead of the demonstrated solution since the control supports the Undefined (Grayed) checked state, see ASP.NET Check Box - New Render State For Multiple Controls for details.


Prior version 2011.1:
The example demonstrates how to edit the Boolean field that allows writing "null" values (Nullable, Boolean?).
As the standard checkbox doesn't allow having three states (checked, unchecked and gray), the scenario can be implemented with the ASPxImage and three images. The images are taken from the default CSS sprite used by the ASPxEditors suite.


how-to-edit-nullable-bool-field-with-the-aspxgridview-and-aspximage-in-edititemtemplate-e2318's People

Contributors

devexpressexamplebot avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.