VB: Require unbound gridview

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • danielgee
    New Member
    • Jan 2008
    • 4

    VB: Require unbound gridview

    I need an unbound gridview with the following:
    - date picker
    - button
    - masked textbox
    - normal textbox

    I've tried a few grids but they're either too complicated or don't have the masked edit. I need a simple grid that moves across on an Enter and that's simple to add rows to.

    Can anyone advise on a good grid to use.

    Thanks.
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    GriwdView is for webpages, webpages don't have a masked textbox.
    However, all the other things should be accomplishable.

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Originally posted by danielgee
      I need an unbound gridview with the following:
      - date picker
      - button
      - masked textbox
      - normal textbox

      I've tried a few grids but they're either too complicated or don't have the masked edit. I need a simple grid that moves across on an Enter and that's simple to add rows to.

      Can anyone advise on a good grid to use.

      Thanks.
      Plater's correct in that there are no masked textboxes in web applications.
      However, if you are using the Ajax.NET Toolkit, there are masked textbox extenders.

      If you are finding a GridView too complicated for your solution, consider using a Repeater control instead to dynamically create a table.

      Either way (if you are using the Ajax.NET Toolkit) you are going to have to dynamically create your masked text box extenders for your masked textboxes.

      -Frinny

      Comment

      • danielgee
        New Member
        • Jan 2008
        • 4

        #4
        Sorry, I wasn't clear on my last post. I'm actually looking for a grid for WinForms on VB.NET.

        Thanks.

        Comment

        • Plater
          Recognized Expert Expert
          • Apr 2007
          • 7872

          #5
          DataGridView is more then encompassing for all of those things I would think?

          Comment

          • danielgee
            New Member
            • Jan 2008
            • 4

            #6
            Unfortunately the DataGridView doesn't have a masked edit textbox, which is essential for what we need the grid for.

            Comment

            • Plater
              Recognized Expert Expert
              • Apr 2007
              • 7872

              #7
              I was under the assumption you could inherit the DataGridViewCel l (Or DataGridViewTex tBoxCell) and set it to be a masked text box?
              I've never actually done it, just my understanding of what MSDN said leads me to believe it is possible?

              Comment

              Working...