|
.net
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
datagrid - do not refresh the contents in the gridHello,
I have a datagrid object. I have my own button on the grid, but after I am doing something after clicking on the button, I don't want to refresh the contents of the grid. the contents of the lines on the grid are refreshed authomatically. Can I avoid that refresh ? Thanks :) Eitan M wrote:
> Hello, get the grid building out of the page_load or exclude it from IsPostBack()> > I have a datagrid object. > I have my own button on the grid, > but after I am doing something after clicking on the button, > I don't want to refresh the contents of the grid. > the contents of the lines on the grid are refreshed authomatically. > Can I avoid that refresh ? > > Thanks :) > > > get the grid building out of the page_load or exclude it from IsPostBack() The button should be on client side.When clicking, I want to do alert('abc'); That's work, but I don't want the page to be refreshed. Thanks :) "Eitan M" <nospam@nospam.com> wrote in message Also,news:ubD8MoTbFHA.2980@TK2MSFTNGP10.phx.gbl... >> get the grid building out of the page_load or exclude it from >> IsPostBack() > > The button should be on client side. > When clicking, I want to do alert('abc'); > That's work, > but I don't want the page to be refreshed. > > Thanks :) > If I see the source (view source on IE 6.0), the button's input type is "submit" (for edit/update/delete and any of button that is on the grid). Can I change the button type ? Thanks :)
Other interesting topics
No two-way databinding
How solve this IF Then problem? javascript datagrid events inside item template container.dataitem cast throws exception PDF Letters if(blah) alert box else somethinge useful code continues after stop debugging How to Stop a Function? writing logs to a web page Unexplained Application restarts |
|||||||||||||||||||||||