Telerik DropDown Dynamic popoulate

9 posts, 0 answers
  1. Manne
    Manne avatar
    8 posts
    Member since:
    Sep 2013

    Posted 01 Oct 2015 Link to this post

    Hello Team,
                        I am here to say that i am having a Parent telerik dropdown which consists two values. If i select any one value from parent dropdown a new child telerik dropdown must  be visible (Means selecting Parent telerik dropdown value a new dropdown must be visible) in telerik rad scheduler.Is it possible to do so ? if yes provide some sample or code to over come this problem.
  2. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 01 Oct 2015 Link to this post

    Hello Manne,

    Thank you for writing.

    The provided brief description is not enough for me to understand completely the exact requirement. I suppose that you are trying to customize the Appointment create/edit dialog. Please refer to the Adding a custom field to the EditAppointment dialog help article which demonstrates how to inherit the EditAppointmentDialog and add some new fields. You can follow similar approach for hiding/showing specific controls.

    If it is not the case, please specify in details what you are trying to achieve. Thus, we would be able to think about a suitable solution and assist you further. Thank you in advance. 

    Should you have further questions I would be glad to help.
     
    Regards,
    Dess
    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 WinForms is Visual Studio 2017 Ready
  4. Manne
    Manne avatar
    8 posts
    Member since:
    Sep 2013

    Posted 03 Oct 2015 in reply to Dess Link to this post

    Hello Dess,
                       Thank you for the reply I need a new telerik dropdown in rad scheduler (appointment) when i select a  telerik dropdown value which am having at present in rad scheduler. Means i need a new telerik dropdown  with existing telerik dropdown list value by selecting a value in present dropdown i need a new telerik drop down should be generated or populated. 
  5. Manne
    Manne avatar
    8 posts
    Member since:
    Sep 2013

    Posted 03 Oct 2015 in reply to Manne Link to this post

    i am continuing earliest ticket .....  Means in one word i need "Populate telerik DropDownList Based on Selected Value in telerik DropDownList"
  6. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 06 Oct 2015 Link to this post

    Hello Manne,

    Thank you for writing back.
     
    I am not sure that I understand your requirement completely. However, note that RadDropDownList has SelectedIndexChanged event which gives you the opportunity to detect when the selection changes. In the event handler, you can manipulate the Visible property of another RadDropDownList and populate it with data either via data binding or programmatically. Thus, you can control when the RadDropDownList will be visible and what data to display. Alternatively, instead of manipulating the visibility, you can add/remove the RadDropDownList in the Controls collection of the parent container.

    If none of the suggested approaches are suitable for your case, please give us detailed explanation about the exact requirement that you are trying to achieve and where exactly you want to display the RadDropDownList. Thus, we would be able to assist you further. Thank you.

    I hope this information helps. If you have any additional questions, please let me know.

    Regards,
    Dess
    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
  7. Manne
    Manne avatar
    8 posts
    Member since:
    Sep 2013

    Posted 06 Oct 2015 in reply to Dess Link to this post

    Hello Dess,
                        I am having a rad scheduler (appointment) in that i am having one telerik dropdown in that i am having two values . if i select any one value from present  telerik dropdown i need a new telerik dropdown in next line with out page loading (Means in one word Cascading present telerik drop down i need new telerik drop down) . I hope did you got requirement now
  8. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 06 Oct 2015 Link to this post

    Hello Manne,

    Thank you for writing back.
     
    Following the provided information and explained approach from my previous post, I have prepared a sample project demonstrating how to create a custom AppointmentElement with two RadDropDownListElements. The second one is shown when the second item from the top dropdown is selected. Note that this is just a sample approach and it may not cover all possible cases. Feel free to modify it in a way which suits your requirement best.

    The Scheduler >> Scheduler Element Provider help article is quite useful about replacing scheduler elements with your custom ones.

    I hope this information helps. If you have any additional questions, please let me know.
    Regards,
    Dess
    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
  9. Manne
    Manne avatar
    8 posts
    Member since:
    Sep 2013

    Posted 07 Oct 2015 Link to this post

    Hello Dess,

    Thank you for writing back to me ! 

     This what i am expecting from you.But i need this same concept at <telerik:radscheduler> you have created in list of appointments for the day but when i click on list of appointments a pop up will be open.In pop up i am using <telerik:radscheduler>  In that i need this concept . For more information i am enclosing  code and screen shot in that i need your concept with out page load.
    <telerik:radscheduler id="MyRadSchedulerRD" runat="server" datakeyfield="ID" datastartfield="Start"
                                                advancedform-enablecustomattributeediting="true" datasubjectfield="Subject" daystarttime="08:00:00"
                                                dayendtime="21:00:00" timezoneoffset="00:00:00" datadescriptionfield="Description"
                                                dataendfield="End" width="800px" skin="Default" onappointmentcommand="RadScheduler1_AppointmentCommand"
                                                onformcreated="RadScheduler1_FormCreated" onappointmentupdate="RadScheduler_AppointmentUpdate"
                                                overflowbehavior="Expand" onclientappointmentediting="OnClientAppointmentEditing"
                                                startinsertinginadvancedform="true" datarecurrencefield="" onclienttimeslotclick="insertAppointment"
                                                onclientappointmentclick="editAppointment">
                                                <%--<AdvancedForm EnableResourceEditing="false" />--%>
                                                 <AdvancedForm Modal="true"></AdvancedForm>                                             
                                                 <WeekView HeaderDateFormat="dd/MM/yyyy"></WeekView>
                                                <AppointmentTemplate>
                                                    <span><b>
                                                        <%# Eval("Subject") %>:&nbsp;</b></span><span style="font-style: italic;">
                                                            <%# Eval("Description") %></span>
                                                             <span style="font-style: italic;"></span>                                                                                                            
                                         
                                                </AppointmentTemplate>

                                              <%--   <ResourceTypes>
                                                                     <telerik:radcombobox id="ddAssigns" runat="server" width="200" height="200" emptymessage="Select User"
                                                datasourceid="ObjectDataSourceAssignedTo" datatextfield="OName" datavaluefield="AssignTo">
                   </telerik:radcombobox>
                                                 </ResourceTypes>--%>
                                                 <ResourceTypes>
                                                    <telerik:ResourceType KeyField="ViewATFlag" Name="Type*" TextField="ViewATFlagText" ForeignKeyField="ViewATFlag"
                                                        DataSourceID="ObjectDataSourceTypes" />
                                                </ResourceTypes>
                                                  <ResourceTypes>
                                                    <telerik:ResourceType KeyField="AssignTo" Name="Assigned To*" TextField="OName" ForeignKeyField="AssignTo"
                                                        DataSourceID="ObjectDataSourceAssignedTo" />
                                                </ResourceTypes>
                                                <ResourceTypes>
                                                    <telerik:ResourceType KeyField="Apptype" Name="Property Type*" TextField="ResType" ForeignKeyField="Apptype"
                                                        DataSourceID="Propertytype" />
                                                </ResourceTypes>
                                                <ResourceTypes>
                                                   <telerik:ResourceType KeyField="PropTo" Name="Sale*" TextField="OProp" ForeignKeyField="PropTo"
                                                        DataSourceID="ObjectDataSourcePropTo" />
                                                </ResourceTypes>
                                                <ResourceTypes>
                                                   <telerik:ResourceType KeyField="PropTolet" Name="Letting*" TextField="OProplet" ForeignKeyField="PropTolet"
                                                        DataSourceID="ObjectDataSourcePropTolet" />
                                                </ResourceTypes>                                                              
                                                                  
                                                <ResourceTypes>
                                                    <telerik:ResourceType KeyField="ViewValFlag" Name="Flag" TextField="ResText" ForeignKeyField="ViewValFlag"
                                                        DataSourceID="ObjectDataSourceResource" />
                                                </ResourceTypes>          
                                                <ResourceTypes>
                                                    <telerik:ResourceType KeyField="AppStatus" Name="Status*" TextField="ResText" ForeignKeyField="AppStatus"
                                                        DataSourceID="AppointmentTypesDataSource" />
                                                </ResourceTypes>
                                                <ResourceStyles>
                                                    <telerik:ResourceStyleMapping Key="1" Text="Viewing" ApplyCssClass="rsCategoryBlue" />
                                                    <telerik:ResourceStyleMapping Key="2" Text="Valuation" ApplyCssClass="rsCategoryRed" />
                                                    <telerik:ResourceStyleMapping Key="3" Text="Follow Up" ApplyCssClass="rsCategoryGreen" />
                                                </ResourceStyles>                                                                                 
                                            </telerik:radscheduler>

     

    and also once look over screen shot

  10. Dess
    Admin
    Dess avatar
    1609 posts

    Posted 07 Oct 2015 Link to this post

    Hello Manne,

    Thank you for writing back.

    I would like to note that this forum is related to RadScheduler for the Telerik UI for WinForms suite. If this is not the exact product that you are currently using, feel free to open a thread in the appropriate forum: http://www.telerik.com/forums.

    I hope this information helps. 

    Regards,
    Dess
    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready