Read Only

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • snowwwolf
    New Member
    • Jan 2007
    • 28

    #1

    Read Only

    hi all,

    I want to control the web controls(textbo x & dropdownlist)'s enable property by client javascript function.
    I can use disabled property, but the problem is here, if I use like that, I can't get the value of that controls at the server side. I did not want to use hidden controls to store data for that control.
    so, plz help me,
    - How can i manage the enable property?
    - Is there readonly property?

    I use ASP.NET 2003 with C#

    regards,
    <X>
  • radcaesar
    Recognized Expert Contributor
    • Sep 2006
    • 759

    #2
    There will be a perfect readonly dropdown available in code project.

    But u can manage this situation with the existing component itself. Store the value in a variable when the form loads and use that afterwards.

    :)

    Originally posted by snowwwolf
    hi all,

    I want to control the web controls(textbo x & dropdownlist)'s enable property by client javascript function.
    I can use disabled property, but the problem is here, if I use like that, I can't get the value of that controls at the server side. I did not want to use hidden controls to store data for that control.
    so, plz help me,
    - How can i manage the enable property?
    - Is there readonly property?

    I use ASP.NET 2003 with C#

    regards,
    <X>

    Comment

    • snowwwolf
      New Member
      • Jan 2007
      • 28

      #3
      Originally posted by radcaesar
      There will be a perfect readonly dropdown available in code project.

      But u can manage this situation with the existing component itself. Store the value in a variable when the form loads and use that afterwards.

      :)
      thanks for your reply,
      I fill data to my controls from web service at the client side,
      and I want to update to DB at server side.
      so there are no way to store in variable.
      plz share me any other your advice.

      regards,

      <X>

      Comment

      • radcaesar
        Recognized Expert Contributor
        • Sep 2006
        • 759

        #4
        Yup No Probs i think, After the web service is consumed and data are binded, get the values and store it in a variable. It can be done.

        :)


        Originally posted by snowwwolf
        thanks for your reply,
        I fill data to my controls from web service at the client side,
        and I want to update to DB at server side.
        so there are no way to store in variable.
        plz share me any other your advice.

        regards,

        <X>

        Comment

        • snowwwolf
          New Member
          • Jan 2007
          • 28

          #5
          Originally posted by radcaesar
          Yup No Probs i think, After the web service is consumed and data are binded, get the values and store it in a variable. It can be done.

          :)
          is there readonly property in html textbox control?


          <X>

          Comment

          • snowwwolf
            New Member
            • Jan 2007
            • 28

            #6
            Originally posted by radcaesar
            There will be a perfect readonly dropdown available in code project.

            But u can manage this situation with the existing component itself. Store the value in a variable when the form loads and use that afterwards.

            :)
            hello, may i know the link to download readonly dropdown in code project.
            i have been search and i found only for window application.

            regards,

            <X>

            Comment

            Working...