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

Scheduler with RadButton inside InlineEditTemplate

11 Answers 91 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Felipe
Top achievements
Rank 1
Felipe asked on 30 Jun 2011, 11:48 PM
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!


11 Answers, 1 is accepted

Sort by
0
Veronica
Telerik team
answered on 01 Jul 2011, 02:15 PM
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.

0
Felipe
Top achievements
Rank 1
answered on 01 Jul 2011, 02:57 PM
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!
0
Veronica
Telerik team
answered on 04 Jul 2011, 09:39 AM
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.

0
Felipe
Top achievements
Rank 1
answered on 07 Jul 2011, 06:37 PM
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!
0
Felipe
Top achievements
Rank 1
answered on 11 Jul 2011, 04:57 PM
Hello?

Anybody please?

0
Felipe
Top achievements
Rank 1
answered on 13 Jul 2011, 08:57 PM
I really need help with this, please!

Do I have to send a support ticket to get help?
0
Veronica
Telerik team
answered on 14 Jul 2011, 07:58 AM
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!

0
Veronica
Telerik team
answered on 14 Jul 2011, 01:10 PM
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!

0
Felipe
Top achievements
Rank 1
answered on 14 Jul 2011, 03:01 PM
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!
0
Felipe
Top achievements
Rank 1
answered on 18 Jul 2011, 04:14 PM
Seriously, what's going on with Telerik's suppor?

:(
0
Peter
Telerik team
answered on 19 Jul 2011, 01:22 PM
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!

Tags
Scheduler
Asked by
Felipe
Top achievements
Rank 1
Answers by
Veronica
Telerik team
Felipe
Top achievements
Rank 1
Peter
Telerik team
Share this question
or