InlineInsertTemplate options

1 posts, 0 answers
  1. S4v1n
    S4v1n avatar
    1 posts
    Member since:
    Jul 2017

    Posted 06 Jul 2017 Link to this post

    Greetings,

     

    I changed InlineInsertTemplate to contain 2 buttons(for now) and i would like, depending on which i have clicked, to hide certain fields from Advanced Insert Template.

     

    So i have the code :

     

        <InlineInsertTemplate>
                  
                    <div id="InlineInsertTemplate" class="rsCustomAppointmentContainer">
                        <div class="col-md-6">
                     <asp:LinkButton ID="LinkButton1" runat="server" CommandName="More" CssClass="rsButton" BackColor="Gray" Text="Option A">
                   
           </asp:LinkButton></div>
        <div class="col-md-6">
           <asp:LinkButton ID="LinkButton2" runat="server" CommandName="More"  CssClass="rsButton" BackColor="Gray" Text="Option B">
           </asp:LinkButton></div>
                        </div>
                </InlineInsertTemplate>

     

    I have tried to get SenderID in RadScheduler1_FormCreated function, but had no luck with that.

     

    Anyone knows the solution for this issue?

    If its possible to create two advanced insert forms that would`ve helped as well ,and show one depending on the button i cliked, but the whole point is to get a button id in some of these events

     

    Thanks forward!

     

     

                

Back to Top