Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. combbobox fild saving

combbobox fild saving

Scheduled Pinned Locked Moved C#
question
8 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Pierre besquent
    wrote on last edited by
    #1

    Hi, I have in my combobox two fields: txt and csv.when I choose txt and save my project,I return to my page,I found csv which is the default value.How can I save my choice?

    N 1 Reply Last reply
    0
    • P Pierre besquent

      Hi, I have in my combobox two fields: txt and csv.when I choose txt and save my project,I return to my page,I found csv which is the default value.How can I save my choice?

      N Offline
      N Offline
      Not Active
      wrote on last edited by
      #2

      What type of project is this, Windows or Web? The answer will depend a great deal on this.


      I know the language. I've read a book. - _Madmatt

      P 1 Reply Last reply
      0
      • N Not Active

        What type of project is this, Windows or Web? The answer will depend a great deal on this.


        I know the language. I've read a book. - _Madmatt

        P Offline
        P Offline
        Pierre besquent
        wrote on last edited by
        #3

        Hi, it is a web application ty

        N 1 Reply Last reply
        0
        • P Pierre besquent

          Hi, it is a web application ty

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #4

          Set EnableViewState=true on the control or set the SelectedIndex during your postback


          I know the language. I've read a book. - _Madmatt

          P 1 Reply Last reply
          0
          • N Not Active

            Set EnableViewState=true on the control or set the SelectedIndex during your postback


            I know the language. I've read a book. - _Madmatt

            P Offline
            P Offline
            Pierre besquent
            wrote on last edited by
            #5

            Hi, where do I find this???this is my combobox fields

            var controlFileType = new Ext.form.ComboBox ({
            name : 'ExportFileType',
            width : app.B_WIDTH * bWidthCoeff,
            store : [[0, 'txt'],[1, 'csv']],
            value : 0,
            editable : false,
            typeAhead : true,
            debugInfo : "Type du fichier d'export",
            fieldLabel : "Type du fichier d'export",
            allowBlank : false,
            selectOnFocus : true,
            triggerAction : 'all',
            labelSeparator : ''
            });

            ty

            G N 2 Replies Last reply
            0
            • P Pierre besquent

              Hi, where do I find this???this is my combobox fields

              var controlFileType = new Ext.form.ComboBox ({
              name : 'ExportFileType',
              width : app.B_WIDTH * bWidthCoeff,
              store : [[0, 'txt'],[1, 'csv']],
              value : 0,
              editable : false,
              typeAhead : true,
              debugInfo : "Type du fichier d'export",
              fieldLabel : "Type du fichier d'export",
              allowBlank : false,
              selectOnFocus : true,
              triggerAction : 'all',
              labelSeparator : ''
              });

              ty

              G Offline
              G Offline
              GenJerDan
              wrote on last edited by
              #6

              Better off asking this in the javascript forum.

              There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

              N 1 Reply Last reply
              0
              • P Pierre besquent

                Hi, where do I find this???this is my combobox fields

                var controlFileType = new Ext.form.ComboBox ({
                name : 'ExportFileType',
                width : app.B_WIDTH * bWidthCoeff,
                store : [[0, 'txt'],[1, 'csv']],
                value : 0,
                editable : false,
                typeAhead : true,
                debugInfo : "Type du fichier d'export",
                fieldLabel : "Type du fichier d'export",
                allowBlank : false,
                selectOnFocus : true,
                triggerAction : 'all',
                labelSeparator : ''
                });

                ty

                N Offline
                N Offline
                Not Active
                wrote on last edited by
                #7

                You are using some JavaScript library to create the dropdown. You are not using ASP.NET. If you want accurate and helpful answers to your questions you must provide ALL of the relevant details. I have no idea what Ext.form.ComboBox is.


                I know the language. I've read a book. - _Madmatt

                1 Reply Last reply
                0
                • G GenJerDan

                  Better off asking this in the javascript forum.

                  There is water at the bottom of the ocean. My Mu[sic] My Films My Windows Programs, etc.

                  N Offline
                  N Offline
                  Not Active
                  wrote on last edited by
                  #8

                  Too late now, the question has already been asked here and we don't want duplicate questions all over the place.


                  I know the language. I've read a book. - _Madmatt

                  1 Reply Last reply
                  0
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups