- Home
- Forum
- ASP.NET MVC
- sadsad
sadsad
Hi,
I have a similar question like in this post: http://www.syncfusion.com/support/forums/grid-mvc/88506.
My Grid is bound to model which is updated by a ValueChangedEvent from an AutoCompleteBox.
When clicking the small Refreshbutton at bottom of the grid it updates correctly but how can I trigger the update automatically via the (ValueChanged - success callback) AutoCompleteBox?
thanks,
Philip
Hi Philip Herzl,
Thanks for your interest in Syncfusion products.
Please refer the below code snippet for “how to refresh the data of the grid” when the value of an Autocomplete textbox is changed by using the “ValueChangeEvent” of the Autocomplete textbox.
Code snippet:
function ValueChanged(sender, args)
{
var grid = $find('GridId'); // GridId – Id of the Grid
grid.sendRefreshRequest();
}
Please try
this and let us know if you have any concerns.
Regards,
Maithiliy K
Sorry for the late reply and many thank's for your answer! This solved my Problem.
Thank for your update.
Please let us know if you have any further assistance we will be happy to help you.
Thanks for using Syncfusion Products.
Regards,
Bala Murugan A.S
In our latest ASP.NET MVC platform, we can refresh the grid using the refreshContent method. Please refer to the below API reference documentation for more information on the refreshContent method of the Grid.
API reference link: https://help.syncfusion.com/js/api/ejgrid#methods:refreshcontent
Regards,
Ragavee U S.
- 5 Replies
- 5 Participants
-
PH Philip Herzl
- Jan 10, 2013 05:58 PM UTC
- Oct 27, 2015 06:01 AM UTC