|
|||||||
Join now to share free website templates or post on the forum. If you have never been on a forum before read the
FAQ. It's quick, easy and free to join!
|
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
I have a div in my aspx page.Inside the div user will able to add some rows.While user add some rows it will get saved in sql.after added in database, the page will get freshly loaded from the server.when page is loading i need the div position at where the user added the row.
|
|
||||
|
why would you need a div position when your page is still there?
use in your code the Response.Write command to ouput to the screen the responce back from the server.
__________________
Consultant - Programmer - WebMaster cleandeck - lawn mower undercoating wilmargraphite - graphite lubricants |
|
|||
|
can't you update the items necessary on the page without reloading the entire page?
or if the positioning is so important, give the div an ID and save the position of the div in your database too, then next time you can read the position from the database. for example <div id="usersRows"> .... </div> when the user Saves the information, do something like this: var divPosX = document.getElementById('usersRows').style.PosX; var divPosY = document.getElementById('usersRows').style.PosY; (i can't remember exactly how its done, but its possible)
__________________
Free Logo's Guarantee: Not satisfied with your logo? Claim 100% of your money back! |
![]() |
| Thread Tools | |
| Display Modes | |
|
|