Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
124 views
Hi,

We have come across an issue with Hourly Event.  To explain it further, I'm going to provide the step-by-step procedure on how to recreate it... please see below:

(1) From the Calendar, double click on one of the time slots.
(2) Create an Event with the following information: 
          -->  From 8/7/2008 12:00AM To 8/7/2008 1:00AM
          -->  Check the "Recurring appointment" box
          -->  Under the Recurrence, select "Hourly" and then set it to "Every 2
                      hours"
          -->  Under the Range of Recurrence, select "End by this date:" with the
                      date set to 8/7/2008.
(3) Once the event is created, you will notice that there are hourly events for 8/7/2008 (which is correct, by the way)... and then a single hourly event (from 12AM to 1AM) under 8/8/2008.

I looked at the database and here is the RecurrencePattern field value:

DTSTART:20080809T000000Z DTEND:20080809T010000Z RRULE:FREQ=HOURLY;UNTIL=20080810T000000Z;INTERVAL=2

Is this a valid test?  Is this a bug?  What behavior of RadScheduler do we expect given the test details? 

Thanks so much for your time and appreciate your help.

T. Tsonev
Telerik team
 answered on 12 Aug 2008
4 answers
272 views

<

telerik:RadPanelBar ID="mnuCategory" runat="server" Skin="Hay" Width="200px" ExpandMode="SingleExpandedItem" PersistStateInCookie="true">
  <ItemTemplate>
  Some text
  </ItemTemplate>
</
telerik:RadPanelBar>

Code behind:

protected

void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
    mnuCategory.DataSource = MyBusinessRule.GetDataTable();
    //mnuCategory.DataFieldID = "Id";
    //mnuCategory.DataFieldParentID = "ParentId";
    //mnuCategory.DataTextField = "Name";
    //mnuCategory.DataValueField = "Id";
    //mnuCategory.DataNavigateUrlField = "PageUrl";
    mnuCategory.DataBind();
}
}

I expect the PanelBar shows "Some text" in all items but it just gave me System.Data.DataRowView.  If I uncomment the codes above, I can see a "normal" PanelBar but the ItemTemplate seems has no effect at all.

What have I done wrong?

PS:  The PanelBar is in a WebUserControl (ascx) if it does matter.

Edwin
Top achievements
Rank 1
 answered on 12 Aug 2008
1 answer
58 views
Anybody see this error using RadGrid with InForms editing mode.

Microsoft JScript runtime error: Sys.InvalidOperationException: Could not find UpdatePanel with ID 'ctl00_ContentPlaceHolder1_ctl00_ContentPlaceHolder1_RadGrid1Panel'. If it is being updated dynamically then it must be inside another UpdatePanel.
Daniel
Telerik team
 answered on 12 Aug 2008
0 answers
72 views
Hi,

I have a problem, i have maked a treeview populate to datatable, datarow(sql datatables), but inside the panelbar is not possibile, i can't select double click event, and the control radtreeview1 is not visible inside a vb code...how i make?
Rubihno
Top achievements
Rank 1
 asked on 12 Aug 2008
2 answers
158 views
I am new to the Telerik world and I am enjoying using the controls that I have implemented thus far.  The control I am working with is the ImageManager as a standalone control outside of the RadEditor.  Does anyone know if there is any functionality that will allow me to resize an image before the FileUpload saves the file?  After resizing the image, the image would be on some preview page before anything is committed to the server.  

Thanks,

Ron
Ron
Top achievements
Rank 1
 answered on 12 Aug 2008
9 answers
277 views
I have a page which includes a ModalPopupExtender from the AJAX Toolkit.  On this modal popup is a radEditor control.  For some reason, I can't get the editor to work properly in Firefox.

The problem is that the body content area of the editor cannot be selected.  I can't add any text to it.  If I use the HTML editor portion, I am able to type there, but if I switch to the rich text entry it goes away.

It seems to work fine in IE7, though.  Any ideas?

Josh
Rumen
Telerik team
 answered on 12 Aug 2008
1 answer
108 views
Hi Telerik Team,

I need some help regarding  rad windows like,

I want rad windows create dynamically and when i minimize the rad windows
it minimizes to a rad treeview in a list manner and maintain its state whether minimized or normal after a postback or refresh..and some custom configuration when it minimized in a rad treeview.


Thanks
Georgi Tunev
Telerik team
 answered on 12 Aug 2008
4 answers
220 views
Hey all, I am just asking here in the event that anyone else has encountered this issue.

I have a MaterPage that contains a user menu. Most of the links load another .aspx page, but a few of them open RadWindows. I have had this configuration for a while, and it has been working fine during my development.

Suddenly, a day or so ago, the radopen method does not appear to find the window desired. It loads the correct page, but all of the window settings (Skin, Height, Width, etc) are set to a default view (100 x 100?). It is completely baffling me.

To make it MORE confusing, on this master page I have a user control that loads a list of logged-in users. Clicking the username opens the user profile in a RadWindow... THIS one works just fine. The only difference is that the UserControl holds everything to call the profile window and the Master page has the other ones. Below is the master page and javascript calls.

I would note that I have the 2008 Q2 release of the ASP.NET Ajax control suite.

Thanks!

...TRUNCATED...  
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<%@ Register Src="~/Members/Modules/OnlineList.ascx" TagName="OnlineList" TagPrefix="ol" %> 
 
...TRUNCATED - I have given the particular Content Placeholder in question....  
 
<asp:ContentPlaceHolder ID="contentSidebarLeft" runat="server">  
        <div class="sidebarLeft">  
            <div id="myStyffWrap" class="myStuffWrap">  
                <telerik:RadPanelBar runat="server" OnClientItemCollapse="SetCookie" OnClientItemExpand="SetCookie" 
                    ID="RadPanelBar1" Skin="Black" ExpandMode="MultipleExpandedItems">  
                    <CollapseAnimation Type="Linear" Duration="150"></CollapseAnimation> 
                    <Items> 
                        <telerik:RadPanelItem Text="&nbsp;&nbsp;Member Functions" ImageUrl="../Images/panelbars/folderList.gif" 
                            Expanded="true">  
                            <Items> 
                                <telerik:RadPanelItem Text="AQ Mail" NavigateUrl="AQMail.aspx">  
                                </telerik:RadPanelItem> 
                                <telerik:RadPanelItem Visible="false" Text="Admin" NavigateUrl="../Administration/SiteAdmin.aspx">  
                                </telerik:RadPanelItem> 
                                <telerik:RadPanelItem Visible="false" Text="Magistrate" NavigateUrl="Magistrate.aspx">  
                                </telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Dice Roller" onclick='ShowDiceRoller()'>  
                                    <ItemTemplate> 
                                    </ItemTemplate> 
                                </telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Game Submisstion" onclick='ShowGameSubmission()'>  
                                </telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Member Directory">  
                                </telerik:RadPanelItem> 
                                <telerik:RadPanelItem Text="Pager">  
                                </telerik:RadPanelItem> 
                            </Items> 
                        </telerik:RadPanelItem> 
                        <telerik:RadPanelItem Text="&nbsp;&nbsp;Members Online" ImageUrl="../Images/panelbars/users.png">  
                            <Items> 
                                <telerik:RadPanelItem> 
                                    <ItemTemplate> 
                                        <ol:OnlineList ID="onlineUsers" runat="server" /> 
                                    </ItemTemplate> 
                                </telerik:RadPanelItem> 
                            </Items> 
                        </telerik:RadPanelItem> 
                          
                    </Items> 
                    <ExpandAnimation Type="Linear" Duration="150"></ExpandAnimation> 
                </telerik:RadPanelBar> 
            </div> 
        </div> 
        <telerik:RadWindowManager ID="RadWindowManager1" runat="server">  
            <Windows> 
                <telerik:RadWindow runat="server" ID="radDice" Width="450" Height="520px" ReloadOnShow="true" 
                    Left="200px" Title="Dice Roller" Skin="Telerik" Modal="false" VisibleStatusbar="false">  
                </telerik:RadWindow> 
                <telerik:RadWindow runat="server" ID="radGame" Width="600" Height="700px" Skin="Telerik" 
                    ReloadOnShow="true" Left="200px" Top="10px" Title="NewGame Submission">  
                </telerik:RadWindow> 
            </Windows> 
        </telerik:RadWindowManager> 
        <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server">  
 
            <script type="text/javascript">  
            function ShowDiceRoller()  
            {  
                var wnd = window.radopen("DieRoller.aspx", "radDice");  
                return false;               
            }  
            function ShowGameSubmission()  
            {  
                var wnd = window.radopen("NewGame.aspx", "radGame");  
                return false;   
            }    
              
            function SetCookie(sender, e)  
            {  
                  
                //alert(e.get_item().get_text());  
                //alert(e);  
            }                  
            </script> 
 
        </telerik:RadCodeBlock> 
    </asp:ContentPlaceHolder> 
Sean
Top achievements
Rank 2
 answered on 12 Aug 2008
1 answer
137 views
Hello.

I have a RadGrid with an edit item template. In this template, I put a user control. In this user control i have a RadComboBox.
When i click on edit in my RadGrid, the selected value of the RadComboBox is always the first.

Here, the page_load of the user control :
protected void Page_Load(object sender, EventArgs e)  
        {  
            if (RCBFrequencesUserControl.Items.Count == 0)  
            {  
                RCBFrequencesUserControl.DataSource = Params.GetFrequence(webUtility.getConnectedUser());  
  
                RCBFrequencesUserControl.DataTextField = "libelle";  
                RCBFrequencesUserControl.DataValueField = "idfrequence";  
                RCBFrequencesUserControl.DataBind();  
                RCBFrequences.SelectedValue = "134";  
                  
            }  
        }  

The selected value is 134, but on the radgrid edit item template, the selected value is always the first.

I have try  it on a simple page, it works.

Thanks.

Princy
Top achievements
Rank 2
 answered on 12 Aug 2008
3 answers
115 views
Howdy,

I have a custom dialog for linink to pages in my site which is great it uses this client script below and inserts text into the editor.

   var myCallbackFunction = function(sender, args)
       {
           editor.pasteHtml(String.format("<a href={0} originalAttribute="href" originalPath="{0}" target='{1}' class='{2}'>{3}</a> ", args.href, args.target, args.className, args.name))
       }

The big question is my user compalin when  they want to link and Image they have to manually go into the markup and cut and paste, im may cases users have no idea.

Is there an example where script that can get the element and wrap it around an image??

This would be very helpful.

cheers

Matt

Rumen
Telerik team
 answered on 12 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?