Hi Team,
I have 3 columns in web data grid, 1 is dropdown field. Based on dropdown selection item, the 2nd column data should change. When we call dropdown selection change event, The page was reloading completly.
How can we use ajax to resolve this.
Please let me know.
Regards,
Sravani
Hello Sravani,
You can set the AutoPostBackFlags for the selectionChanged event to Async:
<ig:DropDownProvider ID='WebDropDown1'>
<EditorControl ID="EditorControl1" runat="server"
DropDownContainerMaxHeight="200px" EnableAnimations="true" TextField="DataText"
ValueField="DataText">
<AutoPostBackFlags SelectionChanged="Async" />
Please let me know if this helps.
Hi Elena,
Thanks for the quick response.
Presently we are using Infragistics trail version.
we have only webdropdown field. We are unable to find DropdownProvider object or element.
Please provide me another solution if possible,
I believe that currently you are using template column and you are placing WebDropDown control in its template. Still we could recommend you use our DropDownProvider functionality instead:
<EditorProviders>
<ig:DropDownProvider ID="CustomerNameProvider">
<EditorControl ID="EditorControl1" runat="server" DisplayMode="DropDownList" DataSourceID="Customers"
TextField="ContactName" ValueField="CustomerID" />
</ig:DropDownProvider>
For additional details on it you could check the code provided in the following sample from our samples browser:
http://ko.infragistics.com/products/aspnet/sample/data-grid/dropdown-editors
Please let me know if you need any additional assistance on this matter.