This is a migrated thread and some comments may be shown as answers.
onClick checkbox
1 Answer 8 Views
This is a migrated thread and some comments may be shown as answers.
Lavi
Top achievements
Rank 1
Lavi asked on 01 Mar 2016, 03:10 PM

Hi,

i want griddropdowncolumn used as radcomboBox should be set to value when checkbox is check and after that disable that dropdown

<telerik:GridCheckBoxColumn DataField="bitPhysical" HeaderText="Physical" UniqueName="bitPhysical" StringFalseValue="0" StringTrueValue="1" AllowFiltering="false"></telerik:GridCheckBoxColumn>

want this column to change and disable when check box is checked 

<telerik:GridDropDownColumn DropDownControlType="RadComboBox" EmptyListItemText="Select..." ListTextField="strHostName" ListValueField="intHostServerId" HeaderText="Host" UniqueName="HostName" FilterDelay="200" ShowFilterIcon="false"></telerik:GridDropDownColumn>               

also, would be able to do same with

<telerik:GridTemplateColumn HeaderText="Manufacturer" ItemStyle-Width="240px" UniqueName="ManufacturerName" FilterDelay="200" ShowFilterIcon="false">
                    <EditItemTemplate>
                        <telerik:RadDropDownList ID="radManufacturerDDL" runat="server" DefaultMessage="Select....." OnItemSelected="radManufacturerDDL_ItemSelected" AutoPostBack="true"></telerik:RadDropDownList>
                    </EditItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridTemplateColumn HeaderText="Model" ItemStyle-Width="240px" UniqueName="ModelName" FilterDelay="200" ShowFilterIcon="false">
                        <EditItemTemplate>
                            <telerik:RadDropDownList ID="radModelDDL" runat="server" DefaultMessage="Select..." AutoPostBack="true">
                            </telerik:RadDropDownList>
                        </EditItemTemplate>
                    </telerik:GridTemplateColumn> 

Please tell how i access this on client side.

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 04 Mar 2016, 08:52 AM
Hello Lavi,

You can check the explanation and RadGridEditComboClientHideModified.zip sample referenced in the following post:
http://www.telerik.com/forums/hide-show-column-in-edit-mode-depending-on-value-of-other-column#Yuna27gfTEiRQo7zfP4q4w


I am also sending another web site for your convenience.
I hope this will prove helpful.

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Asked by
Lavi
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or