Scheduler with RadButton inside InlineEditTemplate

12 posts, 0 answers
  1. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2011

    Posted 30 Jun 2011 Link to this post

    I have a RadScheduler control with modified templates. In the InlineEditTemplate I first used asp:Button for the "Update" and "Cancel" commands and everything worked ok. Now I want to change those two Buttons to RadButton but the "Update" and "Cancel" commands stopped working.

    Here is the code of the template with  the four type of buttons:

    <InlineEditTemplate>
                    <div id="InlineEditTemplate">
                        <span>
                            <asp:TextBox ID="TitleTextBoxUpdate" runat="server" Text='<%# Bind("Subject") %>'
                                Width="90%" TextMode="MultiLine" Height="20px"></asp:TextBox>
                            <telerik:RadButton ID="UpdateButton" runat="server" CommandName="Update" Text="Actualizar">
                            </telerik:RadButton>
                            <telerik:RadButton ID="UpdateCancelButton" runat="server" CausesValidation="False"
                                CommandName="Cancel" Text="Cancelar">
                            </telerik:RadButton>
                            <asp:Button ID="UpdateButton2" runat="server" CommandName="Update" Text="Actualizar" />
                            <asp:Button ID="UpdateCancelButton2" runat="server" CausesValidation="False" CommandName="Cancel"
                                Text="Cancelar" />
                            <asp:LinkButton ID="EditMoreButton" runat="server" CommandName="More">Más Opciones</asp:LinkButton>
                        </span>
                    </div>
                </InlineEditTemplate>

    Any help thanks!


  2. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 01 Jul 2011 Link to this post

    Hello Felipe,

    I've tested your code by placing it into our demo however I've added an appointment successfully. All the buttons are working corectly. Could you please send me a sample project that reproduces the issue so I can inspect it and help you?

    Thank you!

    P.S: As this is a forum post and you are not allowed to attach .zip files - please use one of the sites for free online storage as 4shared.com.

    All the best,
    Veronica Milcheva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  3. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2011

    Posted 01 Jul 2011 Link to this post

    Hello:

    Many thanks for your reply. Before I send you some code can you please tell me if ajaxifying the scheduler makes any change in the example you did? I forgot to point that out when I wrote the first post.

    My ajax code is like this:

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="Scheduler">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="Scheduler" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />

    Thanks!
  4. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 04 Jul 2011 Link to this post

    Hi Felipe,

    Using Ajax does not makes any difference. Please send me your project and I will try to find where is the problem.

    Greetings,
    Veronica Milcheva
    the Telerik team

    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.

  5. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2011

    Posted 07 Jul 2011 Link to this post

    Hello:

    Here is the sample code that shows the problem. There are two radbuttons and two asp buttons. The radbutton that is of linkbutton type works ok, but the otherone doesn't.

    http://www.4shared.com/file/EoGmfkcx/Projects.html

    Thanks for any help!
  6. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2011

    Posted 11 Jul 2011 Link to this post

    Hello?

    Anybody please?

  7. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2011

    Posted 13 Jul 2011 Link to this post

    I really need help with this, please!

    Do I have to send a support ticket to get help?
  8. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 14 Jul 2011 Link to this post

    Hi Felipe,

    Please accept my apologies for the late reply.

    I am currently working on investigating what is causing the problem. I'll answer you until the end of the day.

    Thank you for your patience!

    Best wishes,
    Veronica Milcheva
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  9. Veronica
    Admin
    Veronica avatar
    1213 posts

    Posted 14 Jul 2011 Link to this post

    Hi Felipe,

    We found what causes the problem. You need to set the ButtonType of the "Cancelar" button to LinkButton in order to perform the cancel command. By default the type of the button is "StandartButton" and obviously we have problem with performing a command with standart button.

    Please accept my apologies for the caused inconvenience and I hop that this workaround will help for now.

    Best wishes,
    Veronica Milcheva
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

  10. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2011

    Posted 14 Jul 2011 Link to this post

    Hi Veronica:

    Many thanks for your reply!

    The point is that I knew that with linkbutton it was going to work, but I need to maintain the style (skin) in the linkbutton or get it working with standard button, things that I don't know how to do.

    Hope you understand me and thanks again!
  11. Felipe
    Felipe avatar
    13 posts
    Member since:
    Jun 2011

    Posted 18 Jul 2011 Link to this post

    Seriously, what's going on with Telerik's suppor?

    :(
  12. Peter
    Admin
    Peter avatar
    6637 posts

    Posted 19 Jul 2011 Link to this post

    Hello Felipe,

    Yes, we understand, but the rendering for the two different types of RadButton is different so you cannot style them to look the same. Maybe you can consider using image button.


    All the best, Peter
    the Telerik team

    Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!

Back to Top