Question

i am using this obout grid in asp, how can i use ajax to filter this grid

I mean i would have these fields above the grid

Name [......] Date From [......] Date To[.......] Year [......]

SUBMIT BUTTON

Now i dont want page refreshing, to filter it, If i click on submit button, the grid should refresh and filter according to critera, does obout provide any such functionality to use its component with jquery or ajax?

Thanks Atif

Was it helpful?

Solution

Yes, you can achieve this with AJAX.

You have to put your gridview in an update panel and add an Asynchronous post back trigger to your Click button. Like...

<asp:UpdatePanel runat="server" ID="upnl" UpdateMode="Conditional" ChildTrigger="true">
<ContentTemplate>
    <asp:Gridview></asp:Gridview>
</ContentTemplate>
<Triggers>
    <asp:AsyncPostBackTrigger ControlID="btnSubmit" EventName="Click" />
</Triggers>
</asp:UpdatePanel>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top