locked
Clent side problem RRS feed

  • Question

  • User-1089808927 posted

    I have one grid that i add one bound field

    my problem is when i click outside check box  the bound fieldfill at run time

    Wednesday, August 3, 2011 3:56 AM

Answers

  • User1129323849 posted

    The Update Panel still sends a Postback, the only difference is you will not see the page refreshing.

    The correct way is to add a callback on the page and on the onchange "client side" event of the CheckBox fire the callback to update the Grid.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 5, 2011 8:40 AM

All replies

  • User-1516073966 posted

    You mean to say when you select the check box grid should be bounded with the data?

    Use the CheckBox selection changed event with AutoPostBack property set to "true" and get the data from db source and bind the grid, with tha bound field will be filled with the data.

    Wednesday, August 3, 2011 4:19 AM
  • User-1089808927 posted

    but i dont wont page refresh all coding should be client side

    you know how to bind gridview in aspx page check box click

    Wednesday, August 3, 2011 4:22 AM
  • User3866881 posted

    but i dont wont page refresh all coding should be client side

    Hi:)

    Just throw your CheckBox as well as your GridView into the UpdatePanel. And do what you did before. There you cannot see the whole page's refreshing.

    Thursday, August 4, 2011 9:48 PM
  • User1129323849 posted

    The Update Panel still sends a Postback, the only difference is you will not see the page refreshing.

    The correct way is to add a callback on the page and on the onchange "client side" event of the CheckBox fire the callback to update the Grid.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, August 5, 2011 8:40 AM