Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
Webdropdown Item Template Grid event firing
posted

Hi Team,

Need help..

I have a webdrop down setup as multim column dropdown.

In order to show multi column, I have placed a web datagrid inside Item template of WebDropdown and halding the row selection change via client side event.

My requirement is to load another dropdown (from server side) based on the selection of row from 1st dropdown.

That is : Dropdown 1: -> item template--> web data grid

Selection of row, call post back to server and populate another drop down based on selected value

How can I post back on the row selection changed inside item template of web dropdown

Pasted the codeblock in next text area..

<ig:WebDropDown ID="wcLocations" OnSelectionChanged="wcLocations_SelectionChanged"
runat="server" Width="200px" AutoPostBackFlags-SelectionChanged="On" DropDownContainerWidth="230px" >
<Items>
<ig:DropDownItem ></ig:DropDownItem>
</Items>
<ItemTemplate>
<ig:WebDataGrid ID="wdgLocations" runat="server" Width="190px" AutoGenerateColumns="false" OnInitializeRow="wdgLocations_InitializeRow" >
<Columns>
<ig:BoundDataField Key="LocationID" DataFieldName="LocationID" Hidden="true"></ig:BoundDataField>
<ig:BoundDataField Key="LongName" DataFieldName="LongName" Header-Text="Location"></ig:BoundDataField>
<ig:BoundDataField Key="DEFAULTBASIS" DataFieldName="DEFAULTBASIS" Hidden="true"></ig:BoundDataField>
</Columns>
<Behaviors>
<ig:Selection RowSelectType="Single" Enabled="True" CellClickAction="Row" >
<SelectionClientEvents RowSelectionChanged="wdgLocations_RowSelectionChanged" />
</ig:Selection>
</Behaviors>
</ig:WebDataGrid>

</ItemTemplate>

<ClientEvents SelectionChanging="wcLocations_ValueChanging" />
</ig:WebDropDown>

Please suggest

Thanks

Varun