onClick checkbox

2 posts, 0 answers
  1. Lavi
    Lavi avatar
    1 posts
    Member since:
    Feb 2016

    Posted 01 Mar Link to this post

    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.

  2. Eyup
    Admin
    Eyup avatar
    3012 posts

    Posted 04 Mar Link to this post

    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
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top