Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
99 views
Hi !

I create this thread in order to make some features requests to Telerik Development Team for futures releases of RadScheduler :)

BugFixes :

  • Ability yo Enable or Disable entire Scheduler (current property doesn't work)
  • EnableMonthYearFastNavigation doesn't work properly on postbacks
  • Inline Insert Form background block doesn't fit Template Content

Features :

  • Multiple days selection
  • Insert form on multiple days selection mouse release (like G.Calendar)
  • Ability to Show / Hide / Disable Weekends
  • SpecialDays support

Thanks in advance!

Blah
Top achievements
Rank 1
 asked on 08 May 2009
11 answers
345 views
Hi,
as I recently read in Miguel de Icaza's blog the Telerik ASP.NET AJAX Controls now support the Mono framework (see: http://tirania.org/blog/archive/2009/Apr-03.html).
I tried to reach the test page mono.telerik.com but unfortunately I was not able to reach it.
Is it possible to reach it under another url or something?

Best regards,
Ferdinand
Ivo
Telerik team
 answered on 08 May 2009
6 answers
77 views
Hi all

I have a scheduler in a user control which works fine but when I popup a window and load it into the page the scheduler won't work.

Well...it will work in that it shows the scheduler and I can navigate. But after the first navigate the scheduler no longer fires any postbacks. Does anyone know what this could be?

Cheers
Jon
Jonathan Levy
Top achievements
Rank 1
 answered on 08 May 2009
3 answers
166 views

Hello,

I've created a panel ("Panel1") with a textbox ("TextBox1") inside it.
Outside "Panel1"  I have a button ("Button1")

I also have a "Panel2" with a label ("Label2") inside it

When the text in TextBox1 changes, I want to update "Label2"/ "Panel2", WITHOUTupdating "Panel1"
When "Button1" is clicked, I want to update "Panel1"

This does not seem to work.
When I update "Textbox1", "Panel1" is updated as well. I don't want that. I just want to update "Panel2"

If I remove ajax on "Button1", it works as expected.
"Panel2" is updated, and "Panel1" does not update.

Is this a bug ?

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test2.aspx.cs" Inherits="test2" %> 
<%@ 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 id="Head1" runat="server">  
    <title></title>  
</head> 
<body> 
 
<script runat="server">  
        public void Textbox1_TextChanged(object sender, EventArgs e)  
        {  
 
            //this.label_res.Text = this.Textbox_test.Text + " " + DateTime.Now;  
            //this.label1.Text = this.Textbox_test.Text + " " + DateTime.Now;  
 
            this.LabelResult2.Text = this.Textbox1.Text + " " + DateTime.Now;  
 
        }  
 
        public void Button1_Click(object sender, EventArgs e)  
        {  
 
        }      
</script> 
 
      
 
      
      
    <form id="form1" runat="server">  
 
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePartialRendering="true">  
    </asp:ScriptManager> 
 
        <telerik:RadAjaxManager runat="server" ID="Radajaxmanager2" UpdatePanelsRenderMode="Inline" > 
            <AjaxSettings> 
              
                <telerik:AjaxSetting AjaxControlID="Textbox1" > 
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl   ControlID="Panel2"/>  
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
 
                <telerik:AjaxSetting  AjaxControlID="Button1">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl  ControlID="Panel1"/>  
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
              
            </AjaxSettings> 
         
        </telerik:RadAjaxManager> 
      
      
      
      
      
    Outside panel:  
    <asp:Label runat="server" ID="label_clockOutsidePanel"></asp:Label><br /><br /> 
      
 
          
        <!-- this panel should only update when BUTTON1 is clicked --> 
        <asp:Panel runat="server" ID="Panel1" BorderStyle="Solid">  
        
            Inside panel:  
            <asp:Label runat="server" ID="label_clockInsidePanel"></asp:Label><br /><br /> 
              
            <asp:TextBox  runat="server" ID="Textbox1" AutoPostBack="true"  ontextchanged="Textbox1_TextChanged">  
            </asp:TextBox> 
              
            <br />             
            <br />              
        </asp:Panel> 
          
          
        <asp:Button runat="server" ID="Button1" Text="Update the panel"    onclick="Button1_Click"   />      
 
        <asp:DropDownList  runat="server" id="Dropdownlist1" AutoPostBack="true">  
        <asp:ListItem Text="aaaa" Value="aaaa"></asp:ListItem> 
        <asp:ListItem Text="bbbb" Value="bbbb"></asp:ListItem> 
        <asp:ListItem Text="cccc" Value="cccc"></asp:ListItem> 
        </asp:DropDownList> 
 
 
        <br /><br /><br /> 
        <br /><br /><br /> 
 
        <!-- This panel should only update when TEXTBOX1 Changes --> 
        <asp:Panel runat="server" ID="Panel2">              
            <asp:Label runat="server" ID="LabelResult2"></asp:Label>              
        </asp:Panel> 
 
 
 
 
<br /><br /> 
      
 
 
 
 
 
      
      
    </form> 
</body> 
</html> 
ManniAT
Top achievements
Rank 2
 answered on 08 May 2009
3 answers
151 views
Hi,

I have a Rad Grid with a NestedViewTemplate that can be expanded/collapsed client-side.  One of the requirements for this grid is to also be able to expand/collapse all NestedViewTemplates in the Grid client-side with the event raised by an external control, which I can do easily with this code that I found here in an earlier thread:

function expandCollapseAll(expand) { 
                var grid = $find("<%=rgDomestic.ClientID %>"); 
                var table = grid.get_masterTableView(); 
 
                var rows = table.get_dataItems(); 
                for (var i = 0; i < rows.length; i++) { 
                    var Row = rows[i]; 
                    if (expand == true) { 
                        Row.set_expanded(true); 
                    } 
                    else { 
                        Row.set_expanded(false); 
                    } 
                } 
 
            } 
 

The problem is that I also have a requirement that the grid needs to have grouping-by-column ability (also done on the client-side).  However, when the grid is grouped by a column or columns, the code above no longer works and gives me the following error message when it hits the line below, 'title' is null or not an object:

if(_348.title==this._owner._hierarchySettings.ExpandTooltip) 

Is there any way I can expand or collapse all nestedviewtemplates with an external control client-side when the Rad Grid has been grouped by a column?  Thank you.
Sebastian
Telerik team
 answered on 08 May 2009
2 answers
154 views
Hi,

How can i get all the dates selected in multi-select enabled calendar in client side?
amith
Top achievements
Rank 1
 answered on 08 May 2009
3 answers
130 views

Just installed ASP.Net AJAX and for some reason the referenced "Telerik" folder from "C:\Program Files\Telerik\RadControls for ASPNET AJAX Q1 2008\Skins" is missing.

Any idea why that might be the case?

Is there a way for me to just get a zip of that folder and put it in there manually?

Thanks
Karl
Sebastian
Telerik team
 answered on 08 May 2009
1 answer
175 views
Hi,

I am trying to call an event with the following code but get an error stating:

An object reference is required for the non-static field, method, or property 'FileExplorerHelper.gridFileView_RowDrop(object, Telerik.Web.UI.GridDragDropEventArgs)

RadGrid gridFileView = new RadGrid(); 
            gridFileView.ID = gridFileViewID; 
            gridFileView.EnableEmbeddedSkins = false; 
            gridFileView.Skin = "FileExplorer"; 
            gridFileView.AllowPaging = true; 
            gridFileView.PageSize = 20; 
            gridFileView.AllowSorting = true; 
            gridFileView.ClientSettings.AllowRowsDragDrop = true; 
            gridFileView.ClientSettings.Selecting.AllowRowSelect = true; 
            gridFileView.RowDrop += new GridDragDropEventHandler(gridFileView_RowDrop); 
            pnlFileView.Controls.Add(gridFileView); 

protected void gridFileView_RowDrop(object sender, GridDragDropEventArgs e) 
    { 
 
    } 

What am I doing wrong please?

Thanks,

Michael






Michael Dunbar
Top achievements
Rank 2
 answered on 08 May 2009
1 answer
105 views
Hi,

I'm trying to create a clientside function to insert a break-appointment in an existing appointment.
The scheduer is updated via AJAX.

for example
1 Appointment from 10:00 to 14:00
 1. |10:00 -------------------------------------------------------------------------------  20:00|
                                             ^oldAppointment^
after inserting the break there should be 3 appointments like this:

1.|10:00 ------------- 15:00|  2.|15:00 -------------  16:00|  3.|16:00 ------------- 20:00|
       ^oldAppointment^                ^breakAppoinment^        ^afterbreakAppointment^
I hope i explained it comprehensible.
What I am doing so far is this:
When click on the existing big appointment this is fired (pseudo code / real code is syntactically correct, but too complex to post ):
oldAppoinment.set_end(15:00); 
 
var breakAppointment = new Telerik.Web.UI.SchedulerAppointment(); 
breakAppointment.set_start(15:00); 
breakAppointment.set_end(DateAdd(16:00);

var afterbreakAppointment = new Telerik.Web.UI.SchedulerAppointment();

breakAppointment.set_start(16:00); 
breakAppointment.set_end(DateAdd(20:00);

scheduler.insertAppointment(afterbreakAppointment);
scheduler.updateAppointment(oldAppoinment);
scheduler.insertAppointment(breakAppointment);



When this event is fired is see 3 async-postack sent to the server, but only the last one (scheduler.insertAppointment(breakAppointment)) gets an answered, the other two(scheduler.updateAppointment(oldAppoinment);scheduler.insertAppointment(afterbreakAppointment);) remain waiting for an answer until timeout.

Is there a way to send these 3 commands in a single postback?
Or can I even setup the scheduler so the client can manipulate appointments as he likes an postback the whole scheduler-viewstate; like a "save changes"-button.

The RADTreeView has this functionality (trackChanges/commitChanges)

Any idea how I could resolve this problem.
I'd appreciate any help!

thanks in advance,
Lukas
Lukas
Top achievements
Rank 2
 answered on 08 May 2009
3 answers
193 views
When the RAD Scheduler is toggled between Day, Week, Month, etc. views, what client-side event is fired?

Thanks!
Mike
Lukas
Top achievements
Rank 2
 answered on 08 May 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?