Link to home
Start Free TrialLog in
Avatar of PapaSmurf
PapaSmurf

asked on

User control refresh by itself

Someone told me that is was possible to have a usercontrol refresh itself without the holding page being refreshed.

If this is true can someone please explain how!

Thanks
Avatar of Piotr Strycharz
Piotr Strycharz
Flag of Poland image


Only possible when you put the user control inside FRAME or IFRAME.
Also some ActiveX may do your job.
Avatar of PapaSmurf
PapaSmurf

ASKER

Thanks Pstry

I'm trying to fix a common problem. I want to display the details of a row in a datagrid cell, but without the page scrolling back to the top. I'll try out some iframes....
ASKER CERTIFIED SOLUTION
Avatar of surajguptha
surajguptha
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
or you can try "document.all.datagridname.focus()"  on page load. So when the page loads the focus will come to the datagrid rather than the top
thanks surajguptha

I'm only just understanding your code suggestion, i guess i need to call saveScrollCoordinates from my code?

sorry bit new to this still :-)

fine