Announcement

Collapse
No announcement yet.

How to Refresh Detail Form in Master Derail Application.

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to Refresh Detail Form in Master Derail Application.

    I have a Master Detail Application , When i OnBlur from particular field then i am inserting some data in Detail form, I just want to know how to auto refresh detail form when i am moving out from particular field.



  • #2
    I had a similar problem at one point. I did not find a way to refresh the detail form as such, but found an acceptable solution for my application: Doing a refresh on the master application using the sc_redir macro to call it again (i.e. from itself). As for for the detail form, I just made sure that the block (in the main application) containing it was defined to be started open -- specified under Layout->Blocks, "Collapse" column. Thus when the main form was reopened, the detail form would show new data right away.

    Perhaps this could work for you to.
    Best regards,

    Frank

    Comment


    • #3
      You can use JavaScript and force the detail iframe to reload
      /Giuseppe

      Professional Scriptcase Services
      Some Customers opinions

      Comment


      • #4
        Originally posted by Giu View Post
        You can use JavaScript and force the detail iframe to reload
        Interesting!
        If an action in the master application updates the database table that is the basis of the detail form (e.g. an editable grid view with several lines), will such an iframe reload really get new data in the table in the database to show in the detail form?
        Best regards,

        Frank

        Comment


        • #5
          i am not finding proper solution for this issue. i am temporarily using auto refresh the detail form using HTML code in onLoad Event.

          <meta http-equiv="refresh" content="5"/>

          My detail form auto refresh every 5 seconds. I think this is not the proper solution.

          Thanks Giu please share with me the JavaScript code for reloading the detail block. it is quite urgent for me.


          Regards.


          Comment


          • #6
            Originally posted by Orion View Post

            Interesting!
            If an action in the master application updates the database table that is the basis of the detail form (e.g. an editable grid view with several lines), will such an iframe reload really get new data in the table in the database to show in the detail form?
            It should. Reload the iframe means to select against database.

            Amit, if I get time I will do it
            /Giuseppe

            Professional Scriptcase Services
            Some Customers opinions

            Comment


            • #7
              @Giu Thanks

              Comment


              • #8
                AmitGK

                /Giuseppe

                Professional Scriptcase Services
                Some Customers opinions

                Comment


                • #9
                  @Giu

                  Thank you so much that you took so much initiative to prepare this video, Its really a great help from your side for me.
                  I feel many people will be benefited by your video.

                  Thanks

                  Regards

                  Comment


                  • #10
                    @Giu

                    Great video.
                    Very useful when things don't work, to see how you fix it.
                    Thanks!

                    Comment

                    Working...
                    X