Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
177 views
Good day!

I'm using my own business objects to populate a scheduler using Linq-to-SQL within the scheduler's VisibleRangeStart and VisibleRangeEnd. Now I want to be able to support recurrence, but I'm not sure where to start. What properties should I add to my custom Appointment class/object to support recurrence? How do I retrieve recurrences using Linq-to-SQL? How do I update or delete an occurence or the entire series? Your help will really be appreciated.

Thanks!!!
Peter
Telerik team
 answered on 11 May 2010
3 answers
133 views
If I am setting table cell to colspan=2 via the table wizard, then I am not able to add a class to the tr afterwards - anyone experienced this, and knows a fix? :)

Kristian Thrane - frontend @ yousee.dk


Dobromir
Telerik team
 answered on 11 May 2010
4 answers
178 views
Hello,

I am using the Grid / User Control Edit Form and when I click on the "Add new record" or try and edit an existing record, I am receiving a JavaScript error stating the following:

Message: Object doesn't support this property or method
Line: 178
File: ScriptResource.axd

In FireFox, when I debug the file, its errors out on this line of the ScriptResource.axd file:
c.get_request()._get_eventHandlerList()._list.completed.reverse(); 

This is the code for my Grid:

                                
                                <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
                                    <AjaxSettings> 
                                        <telerik:AjaxSetting AjaxControlID="RadGridAddress"> 
                                            <UpdatedControls> 
                                                <telerik:AjaxUpdatedControl ControlID="RadGridAddress" /> 
                                            </UpdatedControls> 
                                        </telerik:AjaxSetting> 
                                    </AjaxSettings> 
                                </telerik:RadAjaxManager> 
 <telerik:RadGrid ID="RadGridAddress"  
                                    runat="server"  
                                    GridLines="None"  
                                    AllowPaging="false" 
                                    AllowSorting="false"  
                                    AutoGenerateColumns="False"  
                                    ShowStatusBar="true"  
                                    Visible="true"  
                                    OnNeedDataSource="RadGridAddress_NeedDataSource" 
                                    MasterTableView-CommandItemSettings-RefreshText=""  
                                    MasterTableView-CommandItemSettings-AddNewRecordText="Add new address"> 
                                    <MasterTableView Width="100%" CommandItemDisplay="Top" DataKeyNames="Id"> 
                                        <Columns> 
                                            <telerik:GridEditCommandColumn UniqueName="EditCommandColumn"> 
                                            </telerik:GridEditCommandColumn> 
                                            <telerik:GridBoundColumn UniqueName="Address" HeaderText="Address" DataField="Address1"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn UniqueName="Address2" HeaderText="Address2" DataField="Address2"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn UniqueName="City" HeaderText="City" DataField="City"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn UniqueName="State" HeaderText="State" DataField="State"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridBoundColumn UniqueName="Zip" HeaderText="Zip" DataField="Zip"> 
                                            </telerik:GridBoundColumn> 
                                             <telerik:GridBoundColumn UniqueName="IsPrimary" HeaderText="Primary" DataField="IsPrimary"> 
                                            </telerik:GridBoundColumn> 
                                            <telerik:GridButtonColumn UniqueName="DeleteColumn" Text="Delete" CommandName="Delete" /> 
                                        </Columns> 
                                        <EditFormSettings UserControlName="controls/Address.ascx" EditFormType="WebUserControl"> 
                                            <EditColumn UniqueName="EditCommandColumn1"> 
                                            </EditColumn> 
                                        </EditFormSettings> 
                                    </MasterTableView> 
                                </telerik:RadGrid> 

Trent
Top achievements
Rank 2
 answered on 11 May 2010
4 answers
101 views
Hi,

I've some problem with a tabstrip at a raddock. When i remove the raddock from the radzone, the visibility of the scroller will be messed up. If the scroller is not visible, I have to reset the raddock to the radzone and then drag it out of the zone again to see / hide the scroller.

I have no idea what I do wrong:)?

Thank you,
Robert
Yana
Telerik team
 answered on 11 May 2010
2 answers
136 views
Hi there. Newbie, non-developer type bod here with a query please. I work in Support and have a customer reporting the following issue with the editor:

1. Insert an image into a web page
2. Select the image and use the Hyperlink Editor to link it to a URL and also to add a tooltip

Results: the image is hyperlinked but no tooltip will appear. This is because (if you look at the html code) the title tag is inserted before the img tag for the image and is therefore not read. You can workaround this by selecting the image and choosing the Image Editor to add alt text (which is correctly placed inside the img tag), but should the user be expected to do this?

Is this a bug in Telerik in that tooltips do not work for hyperlinked images? Or is it a fault with the way that IE reads the code\tags?

Thanks for your help, Jason

Jason BBG
Top achievements
Rank 1
 answered on 11 May 2010
3 answers
485 views
I have a table with structure:
[col1][col2][col3][col4]

By Javascript, I use:
...filter("col1_name", "abc1", "EqualTo");   [ok]

after I recall:
...filter("col1_name", "", "NoFilter");  [fail]
...filter("col2_name", "abc2", "EqualTo");  [ok]

But the result: the filter of col1 still not change.
How to clear all filters by Javascript?
Thanks,
Schlurk
Top achievements
Rank 2
 answered on 11 May 2010
1 answer
221 views
Hi,
I'm implementing a project where I'm changing the page views by java script. The RadMultiPage is contained withing an Update panel.
The client side view change works ok until I do an asnychrounous postback with the enclosing update panel.

Here is a code isolating the problem (in my project the page views are added dynamically which does not seem to be a problem here):

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="WebApplication1.WebForm1" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head runat="server"> 
    <title></title> 
</head> 
<body> 
    <form id="form1" runat="server"> 
    <asp:ScriptManager ID="ScriptManager1" runat="server"> 
    </asp:ScriptManager> 
    <div> 
        <asp:UpdatePanel ID="UpdatePanel1" runat="server"> 
            <ContentTemplate> 
                <input type="button" onclick="ChangePageView('view1');" value="view1" />&nbsp 
                <input type="button" onclick="ChangePageView('view2');" value="view2" /> 
                <telerik:RadMultiPage SelectedIndex="0" ID="RadMultiPage1" runat="server"> 
                    <telerik:RadPageView ID="view1" runat="server"> 
                        page1 
                    </telerik:RadPageView> 
                    <telerik:RadPageView ID="view2" runat="server"> 
                        page2 
                    </telerik:RadPageView> 
                </telerik:RadMultiPage> 
                <asp:Button ID="PostBackButton" runat="server" Text="DoPostBack" /> 
            </ContentTemplate> 
        </asp:UpdatePanel> 
    </div> 
    </form> 
 
    <script type="text/javascript"> 
        function ChangePageView(viewID) 
        { 
            var multiPage = $find("RadMultiPage1"); 
            var pageView = multiPage.findPageViewByID(viewID); 
            pageView.select(); 
        } 
    </script> 
</body> 
</html> 
Kind regards,
Pawel



Pawel
Top achievements
Rank 1
 answered on 11 May 2010
4 answers
141 views
How do I loop thru all detailsviews in a nestedview without using the ID's?

<NestedViewTemplate> 
                        <asp:Panel ID="Panel1" runat="server""> 
                            <telerik:RadTabStrip ID="RadTabStrip1" runat="server"   
                                                 MultiPageID="RadMultiPage1"   
                                                 SelectedIndex="0">  
                                <Tabs> 
                                    <telerik:RadTab runat="server" Text="Tab1" PageViewID="RadPageView1">  
                                    </telerik:RadTab> 
                                    <telerik:RadTab runat="server" Text="Tab2" PageViewID="RadPageView2">  
                                    </telerik:RadTab> 
                                    <telerik:RadTab runat="server" Text="Tab3" PageViewID="RadPageView3">  
                                    </telerik:RadTab>                                      
                                </Tabs> 
                            </telerik:RadTabStrip> 
                              
                            <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0" RenderSelectedPageOnly="false">  
                                <telerik:RadPageView ID="RadPageView1" runat="server">  
                                    <asp:SqlDataSource ID="datasource1" runat="server"   
                                                       ConnectionString = ...                                       
                                    </asp:SqlDataSource>                  
                                      
                                    <asp:DetailsView ID="DetailsView1" runat="server"   
                                                    Width="1000px" AutoGenerateRows="False"   
                                                    DataKeyNames="Key1,Key2" DataSourceID="datasource1">  
                                        <FieldHeaderStyle Font-Bold="True" Width="150px"  /> 
                                        <Fields> 
                                            <asp:BoundField DataField="datafield1" HeaderText="Header1:" ReadOnly="True"   
                                                SortExpression="key1" /> 
                                            <asp:BoundField ...  /> 
                                        </Fields> 
                                    </asp:DetailsView> 
                                </telerik:RadPageView> 
                                  
                                <telerik:RadPageView ID="RadPageView2" runat="server">  
                                    <asp:DetailsView ID="DetailsView2" ....                                      
                                    </asp:DetailsView> 
                                </telerik:RadPageView> 
                                  
                                <telerik:RadPageView ID="RadPageView3" runat="server">  
                                    <asp:DetailsView ID="DetailsView3" ....                                      
                                    </asp:DetailsView> 
                                </telerik:RadPageView> 
                            </telerik:RadMultiPage> 
                        </asp:Panel> 
                    </NestedViewTemplate> 
Veli
Telerik team
 answered on 11 May 2010
1 answer
117 views
Can anyone point me in the right direction as to where I can find documentation about changing items in the RadEditor for DNN such as the Apply CSS Class drop down list, removing various buttons in the editor toolbar, changing the background color of the editor, etc...?

I've looked around and searched but haven't been able to find helpful documentation.

Thanks in advance.
Rumen
Telerik team
 answered on 11 May 2010
2 answers
134 views
What causes the radWindow header to be corrupt as shown in the attached image?
Jerry Jansen
Top achievements
Rank 1
 answered on 11 May 2010
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?