[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 750
  • Last Modified:

Javascript to update gridview

Hi, how do i use javascript to update parts of a datagrid...upon on a click of the button. what i am trying to achieve is no postback for this action.

thanks
0
jaxrpc
Asked:
jaxrpc
  • 2
2 Solutions
 
Sammy AgeilCommented:
0
 
RejojohnyCommented:
u have to call a client side javascript on the action where u wish the postback should not happen .. this javascript function can return a "false" so that the postback dioes not occur after testing ur desired condition ..

have a look at this site for loads of examples on gridview .. www.gridviewguy.com

Rejo
0
 
jaxrpcAuthor Commented:
hi...i can do the no post back...but i just need to know to get the javascript function to change the gridview as when callback it will call a javascript function.
0
 
RejojohnyCommented:
>>i just need to know to get the javascript function to change the gridview as when callback it will call a javascript function
change the view on the client side?? but grids are finally rendered as tables .. what do mean by changing the view .. y can't that be acheived at the server side itself?
Rejo
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now