![]() |
Page refresh - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Page refresh (/thread-4186.html) |
Page refresh - rburton - 05-25-2024 Hi, I have a small application that has wo page/forms. Form 1 is a list with a link to show more information. Clicking the link goes to the second page to show the further information. when I close form (hide) it goes back to the original form but it refreshes, which means if I scrolled down the list, rather than returning to the list where I left it, it has now refreshed and is back at the top of the list. Is there anyway of stopping this? Thank you RE: Page refresh - Comograma - 05-27-2024 I have this problem also and never found a workaround for this. Interested!! RE: Page refresh - Alexandre Machado - 06-04-2024 What kind list is this? Can you please elaborate how your page is designed? Not refreshing a page that have possibly changed on the server side, IMO, is a drawback and should not be the preferred solution. It's like using the back button. What you see is not necessarily what in fact exists on the server side... RE: Page refresh - rburton - 06-11-2024 I generate the list like this: if SQLQuery1.RecordCount > 0 then Begin Repeat VValue:=VValue+'<tr>'+ '<td>'+SQLQuery1.FieldByName('CoilNumber').AsString+'</td>'+ '<td>'+SQLQuery1.FieldByName('Act_Width').AsString+'</td>'+ '<td>'+SQLQuery1.FieldByName('Act_Length').AsString+'</td>'+ '<td>'+SQLQuery1.FieldByName('Act_gauge').AsString+'</td>'+ '<td>'+'<button type="button" class="btn btn-outline-primary" onclick="return getMeetingID('+#39+SQLQuery1.FieldByName('CoilNumber').AsString+#39+','+ ')">Open</button>'+SLineBreak+'</td>'+ '</tr>'; SQLQuery1.Next; Until SQLQuery1.Eof; The javascript event pushes some paramters into delphi components and then does a button click event cll to action some delphi code. |