Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
132 views
Hi,

When the Duration of an appointment is not a multiple of the value of the property MinutesPerRow the inline editing is not working. Do you know about this issue? Maybe I'm doing something wrong...
Please help.
Peter
Telerik team
 answered on 05 Nov 2007
1 answer
177 views
Hi,

I notice that the "Apply CSS Class" dropdown will apply multiple CSS clases over the top of items by adding in a new tag
(ie. <font class="class1>)

Three questions - is it possible to make the Apply CSS class apply a paragraph rather than a font tag? - I have a CSS in the customer css for a paragraph (for a code block) but it doesn't work as the class is applied to the font rather than the paragraph.

Is it possible to make the apply class drop down clear any existing previously applied font classes?

Is it possible to make the default css class when the editor starts up a particular class?

Thanks,

Michael
Georgi Tunev
Telerik team
 answered on 05 Nov 2007
2 answers
283 views
Hi..

I have a problem with my custom edit/insert template, template doesnt use Bind in aspx, all values are retrieved by AppointmantCommand event handler.

I have a few problems:

protected void radSch_AppCommand(object sender, AppointmentCommandEventArgs e)
        {
            if (e.CommandName == "Insert" || e.CommandName=="Update")
            {
                TextBox txtName = (TextBox)e.Container.FindControl("txtName");               
                e.Container.Appointment.Subject = txtName.Text;

Here subject is loaded into appointment object..

protected void radSch_AppInsert(object sender, SchedulerCancelEventArgs e)
        {
            if ((e.Appointment.Start > e.Appointment.End) || (e.Appointment.Subject == String.Empty))
            {
                e.Cancel = true;
                return;
            }           
            e.Appointment.Attributes["UserId"] = UserId.ToString();               
        }

Here in AppointmentInsert subject is blank, looks like it loaded a text from external control or from some other place, but it WAS loaded correctly in event below. What is wrong?

2) There is also a problem with changing existing appointments, start/end date doesnt get updated. All data is correctly updated in appointment command event but laters it backs to orginal values.

3) Looks like Appointments attributes are lost during updates too, i had to readd it on every update.

4) Last problem, how to implemenent appointment delete in my custom template?

My radscheduler:

<telerik:RadScheduler Skin="Office2007" runat="server" ID="radSch"
                    Width="100%" DataEndField="End" DataStartField="Start" DataSourceID="SchedulerDataSource"
                    DataKeyField="ID" DataSubjectField="Name" Height="100%" DataRecurrenceField="RecurrenceRule"
                    DataRecurrenceParentKeyField="RecurrenceParentID" SelectedView="WeekView" OnAppointmentUpdate="radSch_AppUpdate"
                    OnAppointmentCommand="radSch_AppCommand" AllowDelete="True" AllowEdit="True"
                    AllowInsert="True" HoursPanelTimeFormat="HH:mm" SelectedDate="2007-10-27"
                    OnAppointmentInsert="radSch_AppInsert" OnFormCreated="radSch_FormCreated" StartEditingInAdvancedForm="true"
                    StartInsertingInAdvancedForm="true">
                    <AdvancedEditTemplate>
                        <table style="width: 100%; border: solid 1px #637783">
                            <tr class="schEditRow">
                                <td>
                                    Informacje podstawowe
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Nazwa:
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox Width="100%" runat="server" ID="txtName"
                                        MaxLength="100" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Opis:
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox Width="100%" runat="server" ID="txtDesc" MaxLength="4000" TextMode="MultiLine"
                                        Rows="4"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Od:
                                    <radCln:RadDateTimePicker ID="diStart" runat="server" />
                                   
                                    &nbsp;&nbsp; Do:
                                    <radCln:RadDateTimePicker ID="diEnd" runat="server" />
                                    <asp:CheckBox runat="server" ID="cbAllDay" Text="Wydarzenie caÅ‚odniowe" />
                                </td>
                            </tr>
                            <tr class="schEditRow">
                                <td>
                                    Powtarzalność
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox runat="server" ID="cbRepeat" Text="Powtarzaj" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                     Co:
                                    <asp:TextBox runat="server" ID="txtReccDelay" />
                                    <asp:RadioButtonList runat="server" ID="rbReccurency">
                                        <asp:ListItem Text="Godzinowo" Value="1" Selected="true"></asp:ListItem>
                                        <asp:ListItem Text="Dziennie" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="Tygodniowo" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="MiesiÄ™cznie" Value="4"></asp:ListItem>
                                        <asp:ListItem Text="Rocznie" Value="5"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Zakres potwórzeÅ„:
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:RadioButton GroupName="Repeat" runat="server" ID="rbNoEnd" Text="Bez daty koÅ„cowej" /><br />
                                    <asp:RadioButton GroupName="Repeat" runat="server" ID="rbCount" Text="ZakoÅ„cz po: " />
                                    <asp:TextBox runat="server" ID="txtRepeatC"></asp:TextBox>
                                    potwórzeniach<br />
                                    <asp:RadioButton GroupName="Repeat" runat="server" ID="rbDate" Text="ZakoÅ„cz dnia: " />
                                    <radCln:RadDatePicker Width="110px" ID="rdpDate" runat="server" />
                                </td>
                            </tr>
                            <tr class="schEditRow">
                                <td>
                                    Uprawnienia
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <uc:parti runat="server" ID="ucParti" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton CommandName="Update" runat="server" ID="lbSave" Text="Zapisz" />&nbsp;
                                    <asp:LinkButton CommandName="Delete" runat="server" ID="lbDelete" Text="UsuÅ„" />&nbsp;
                                    <asp:LinkButton CommandName="Cancel" runat="server" ID="lbCancel" Text="Anuluj" />&nbsp;
                                </td>
                            </tr>
                        </table>
                    </AdvancedEditTemplate>
                    <AdvancedInsertTemplate>
                        <table style="width: 100%; border: solid 1px #637783">
                            <tr class="schEditRow">
                                <td>
                                    Informacje podstawowe
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Nazwa:
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox Width="100%" runat="server" ID="txtName"
                                        MaxLength="100" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Opis:
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox Width="100%" runat="server" ID="txtDesc" MaxLength="4000" TextMode="MultiLine"
                                        Rows="4"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <radCln:RadDateTimePicker ID="diStart" runat="server" />                                   
                                    &nbsp;&nbsp; Do:
                                    <radCln:RadDateTimePicker ID="diEnd" runat="server" />
                                    <asp:CheckBox runat="server" ID="cbAllDay" Text="Wydarzenie caÅ‚odniowe" />
                                </td>
                            </tr>
                            <tr class="schEditRow">
                                <td>
                                    Powtarzalność
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:CheckBox runat="server" ID="cbRepeat" Text="Powtarzaj" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Co:
                                    <asp:TextBox runat="server" ID="txtReccDelay" />
                                    <asp:RadioButtonList runat="server" ID="rbReccurency">
                                        <asp:ListItem Text="Godzinowo" Value="1" Selected="true"></asp:ListItem>
                                        <asp:ListItem Text="Dziennie" Value="2"></asp:ListItem>
                                        <asp:ListItem Text="Tygodniowo" Value="3"></asp:ListItem>
                                        <asp:ListItem Text="MiesiÄ™cznie" Value="4"></asp:ListItem>
                                        <asp:ListItem Text="Rocznie" Value="5"></asp:ListItem>
                                    </asp:RadioButtonList>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    Zakres potwórzeÅ„:
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:RadioButton runat="server" ID="rbNoEnd" Text="Bez daty koÅ„cowej" /><br />
                                    <asp:RadioButton runat="server" ID="rbCount" Text="ZakoÅ„cz po: " />
                                    <asp:TextBox runat="server" ID="txtRepeatC"></asp:TextBox>
                                    potwórzeniach<br />
                                    <asp:RadioButton runat="server" ID="rbDate" Text="ZakoÅ„cz dnia: " />
                                    <radCln:RadDatePicker Width="110px" ID="rdpDate" runat="server" />
                                </td>
                            </tr>
                            <tr class="schEditRow">
                                <td>
                                    Uprawnienia
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <uc:parti runat="server" ID="ucParti" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:LinkButton CommandName="Insert" runat="server" ID="lbSave" Text="Zapisz" />&nbsp;
                                   
                                    <asp:LinkButton CommandName="Cancel" runat="server" ID="lbCancel" Text="Anuluj" />&nbsp;
                                </td>
                            </tr>
                        </table>
                    </AdvancedInsertTemplate>
                </telerik:RadScheduler>

Thanks for attention. Regards

possible
Top achievements
Rank 1
 answered on 05 Nov 2007
3 answers
121 views
Hi,

When the ASPX page that opens a prom Window has a stylesheet with the following class, it causes the window's CSS not to render properly (there are small, block images displayed below the window):

body
{
font: 13px/20px Verdana, Arial, Helvetica, sans-serif;
}

Is this an issue I should expect to see occur?  In the previous version of RadWindow, I did not experience any conflicts with the window's CSS and the CSS of my main web page.
Georgi Tunev
Telerik team
 answered on 05 Nov 2007
1 answer
166 views
I haven't been able to call server code first and then call a Dialog to return me values. I call a server side function on a button click, then I register a function that shows the RadWindow but for some reason I get a null value instead of the reference to the window. Is there some way to call first server code and then open a Rad Window ?
Georgi Tunev
Telerik team
 answered on 05 Nov 2007
1 answer
121 views
I added a tooltip to a user control and i am dynamically adding the tip via the tooltipmanager targetcontrols add method and i assigned it to an asp:net hyper link with an asp:image ...i assigned the tooltip to the hyperlink though..i also set the tooltip to onclick..
now for some reason i am getting this tooltip on every clickable image in my application that contains this user control...even thought he hyperlinks have unique id's and are added to the tooltipmanager at runtime.


any ideas?


Georgi Tunev
Telerik team
 answered on 02 Nov 2007
3 answers
116 views
Hi there,

i have the portal page example with a window i open on page load.
When i drag the window arround and don't go over the dockzone's then everything goes ok. Except when i drag the window over the zone's, the following javascript error is raised:

"Telerik.Web.Ui.Raddock.DragDataType is null"

What am i doing wrong or is this a bug?
Btw, no error in Firefox but only in IE7.

Cheers..
Georgi Tunev
Telerik team
 answered on 02 Nov 2007
1 answer
143 views
Can you please provide some code example in C# to add TabStrip control to Sahrepoint Webpart.
Atanas Korchev
Telerik team
 answered on 02 Nov 2007
1 answer
172 views
Hi

I am thinking of using RadEditor in a SharePoint environment and have these questions:

  • Is it possible to map the roots directories of document, image and media managers to a specific document library of a SharePoint environment so these files can be managed also through SharePoint?
  • Does this work in MOSS and WSS?

Thanks in advance!
Benno

Rumen
Telerik team
 answered on 01 Nov 2007
1 answer
158 views
Using the new Window control with the Vista Skin, I would like to make the border non-transparent and change the icon. What do I need to do programmatically to make this happen, as it does not seem to use an external CSS file that I can edit?
Sophy
Telerik team
 answered on 01 Nov 2007
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?