This is a migrated thread and some comments may be shown as answers.

InlineInsertTemplate options

0 Answers 34 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
S4v1n
Top achievements
Rank 1
S4v1n asked on 06 Jul 2017, 11:39 AM

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!

 

 

            

No answers yet. Maybe you can help?

Tags
Scheduler
Asked by
S4v1n
Top achievements
Rank 1
Share this question
or