Click to See Complete Forum and Search --> : how to minimize page refereshing
Farhad
December 13th, 2002, 05:00 AM
I m using a datagrid in my aspx page
now when user cliks or perfoms some action on the page I want to update just datagrid not the page
how will it be possible
or any other way to minimize page refereshing
Please tell me
Thanks in advance
CPCericola
December 20th, 2002, 07:42 PM
ASP.net is primarily a server side language. To minimize refreshing, I've always used JSript or VBScript.
sager
January 15th, 2003, 09:11 PM
make sure to put the creation of your datalist inside a sub like this
Private Sub Page_Load()
If not page.ispostback() then
'do all your time consuming work here it will only do it the first time a page is loaded
end if
end sub
This should minimize the time spent refreshing.
anatase
January 17th, 2003, 03:02 PM
Put this in the top f your .aspx page.
In the <%@ Page section
smartNavigation="true"
reduces the appearance that page is refreshing. AFAIK.
I like it in my page
codeguru.com
Copyright Internet.com Inc., All Rights Reserved.