Need Immediate HELP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dhanu sahu
    New Member
    • Mar 2008
    • 14

    Need Immediate HELP

    Hi all,

    I am entering some data into a page and want to save in backend .Its ok...

    But My Desired is, once it save in back end the user canot ReEDIT Again.


    Regard
  • balabaster
    Recognized Expert Contributor
    • Mar 2007
    • 798

    #2
    How are you displaying your data? Are you writing a Windows Application or a Web Application? Where is your data stored? Are you using a database of some description or a file? Can you give us more information regarding the application you're writing so that we can assist?

    Comment

    • dhanu sahu
      New Member
      • Mar 2008
      • 14

      #3
      Thanks

      I am writing Web Application and using Sqlserver inback end.
      User enter the data in textBox,Dropdow nlist..etc When he/c click SAVE button it save on back End Database.Its Ok here...

      But I need after SAVE click the page's data or Controls are Inactive means not editable.Even you post back /use BACK Button in IE .

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by dhanu sahu
        Thanks

        I am writing Web Application and using Sqlserver inback end.
        User enter the data in textBox,Dropdow nlist..etc When he/c click SAVE button it save on back End Database.Its Ok here...

        But I need after SAVE click the page's data or Controls are Inactive means not editable.Even you post back /use BACK Button in IE .
        Why not have a display only page then. After the user has entered the details just forward them to to the display only page and they can no longer make any changes.

        Comment

        • balabaster
          Recognized Expert Contributor
          • Mar 2007
          • 798

          #5
          Originally posted by r035198x
          Why not have a display only page then. After the user has entered the details just forward them to to the display only page and they can no longer make any changes.
          I was thinking a GridView - make sure the Edit option is not selected and then use a DetailsView to add data into the database... on the update event of the DetailsView, rebind the GridView to force a data refresh... There's a tutorial on the ASP.NET AJAX website called Scott's Task List that will show you how to nicely AJAXify it too.

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #6
            Originally posted by balabaster
            ... AJAXify ...
            There's no such word.
            Words don't just automagically come into existence you know.

            Comment

            • balabaster
              Recognized Expert Contributor
              • Mar 2007
              • 798

              #7
              Originally posted by r035198x
              There's no such word.
              Words don't just automagically come into existence you know.
              Pfft... they dosohappen@*$!

              Comment

              Working...