Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
195 views
I am trying to edit a recurrence appointment programmly. But I can't make an exception recurrence appointment link to master appointment with " RecurrenceParentID " property, it can't bee saved when I insert the new created exception recurrence appointment. I have checked that the master's exception rule has been updated correctly and the new exception appointment's "RecurrenceParentID" property has been set correctly, but it can't bee saved to xml file ( I am using xml provider ). So please help me . Thank you very much .
T. Tsonev
Telerik team
 answered on 24 Nov 2007
2 answers
159 views
In your ASP.NET controls I could do something like

window.RadDatePicker1.Clear()

However with Prometheus this does not work.

Any ideas please ?
Michael Tissington
Top achievements
Rank 1
 answered on 23 Nov 2007
1 answer
132 views
The Editor does not display the drop down for any tool bar with a dro pdown menu in the correct position, this can actually be seen when using your online demo (http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/EditorToolbars/DefaultCS.aspx) if you scroll down to the 3rd Editor and click on any of the drop down menus, the container for the menu items appears further up the screen.

I am using IE v7, and the same happens with FireFox 2.

Cheers

Greg
Rumen
Telerik team
 answered on 23 Nov 2007
2 answers
156 views
Hi, I'm using scheduler and I have placed a linkbutton within a div on the page to appear at the bottom of the scheduler. The aspx code for this is:

<div id="outlookWrapper">  
                <h1><asp:Label runat="server" ID="patientsName"></asp:Label></h1>  
                <div id="outlookLinkButton"><asp:LinkButton ID="lbChangeSlots" runat="server"   
                        onclick="lbChangeSlots_Click">View by 15 min slots</asp:LinkButton></div>  
                <telerik:RadSplitter runat="server" ID="RadSplitter1" Height="535px" Width="576px" Skin="Web20" BorderSize="0">  
                <telerik:RadPane runat="server" ID="CalendarPane" MinWidth="200" Width="200px" CssClass="calendarPane">     
                          
                        <telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="true"   
                            DayNameFormat="FirstTwoLetters" EnableMonthYearFastNavigation="false"   
                            EnableMultiSelect="false" EnableNavigation="true"   
                            OnDefaultViewChanged="RadCalendar1_DefaultViewChanged"   
                            OnSelectionChanged="RadCalendar1_SelectionChanged" ShowRowHeaders="false"   
                            Skin="Office2007">  
                        </telerik:RadCalendar> 
                          
<p></p>  
                          
                          
                          
                        <telerik:RadCalendar ID="RadCalendar2" runat="server" AutoPostBack="true"   
                            DayNameFormat="FirstTwoLetters" EnableMonthYearFastNavigation="false"   
                            EnableMultiSelect="false" EnableNavigation="false"   
                            OnSelectionChanged="RadCalendar2_SelectionChanged" ShowRowHeaders="false"   
                            Skin="Office2007">  
                        </telerik:RadCalendar> 
                          
<p></p>  
                          
                          
                          
                        <telerik:RadCalendar ID="RadCalendar3" runat="server" AutoPostBack="true"   
                            DayNameFormat="FirstTwoLetters" EnableMonthYearFastNavigation="false"   
                            EnableMultiSelect="false" EnableNavigation="false"   
                            OnSelectionChanged="RadCalendar3_SelectionChanged" ShowRowHeaders="false"   
                            Skin="Office2007">  
                        </telerik:RadCalendar> 
                          
<p></p></telerik:RadPane> 
                <telerik:RadSplitBar runat="server" id="RadSplitBar1" BorderWidth="0" /> 
                <telerik:RadPane runat="server" ID="SchedulerPane" CssClass="schedulerPane" MinWidth="554" Width="554px">  
                      
                      
                <telerik:RadScheduler ID="RadScheduler1" runat="server" AllowDelete="False"   
                        AllowEdit="false" DataEndField="ObservationDate" DataKeyField="MessageID"   
                        DataSourceID="GetCalendarViewDataSource" DataStartField="ObservationDate"   
                        DataSubjectField="TextDescription" EnableEmbeddedSkins="True" Height="557px"   
                        MinutesPerRow="30" OnAppointmentClick="RadScheduler1_AppointmentClick"   
                        OnNavigationComplete="RadScheduler1_NavigationComplete"   
                        OverflowBehavior="Expand" ReadOnly="true" SelectedView="DayView"   
                        ShowAllDayRow="false" Skin="Office2007" StartInFullTime="True"   
                        TimeLabelRowSpan="2" TimeZoneOffset="03:00:00" WorkDayEndTime="18:00:00"   
                        WorkDayStartTime="08:00:00">  
                    </telerik:RadScheduler> 
                      
</telerik:RadPane> 
            </telerik:RadSplitter> 
        </div> 

3rd line down is my link button. In the code behind on change of view i.e. (day, week, month) I have the following C# code:

/// <summary>  
        /// test  
        /// </summary>  
        /// <param name="sender"></param>  
        /// <param name="e"></param>  
        protected void RadScheduler1_NavigationComplete(object sender, SchedulerNavigationCompleteEventArgs e)  
        {  
            switch (e.Command.ToString())  
            {  
                case "SwitchToDayView":  
                    {  
                        lbChangeSlots.Visible = true;  
                        break;  
                    }  
                case "SwitchToWeekView":  
                    {  
                        lbChangeSlots.Visible = true;  
                        break;  
                    }  
                case "SwitchToMonthView":  
                    {  
                        lbChangeSlots.Visible = false;  
                        break;  
                    }  
                default:  
                    {  
                        break;  
                    }  
            }  
 
            RadCalendar1.FocusedDate = RadScheduler1.SelectedDate;        
            SyncCalendars();  
        } 

The event is fired and it falls into the appropriate case statement, and if I interrogate the linkbutton at runtime in debug mode it tells me the state of the linkbutton has changed appropriately. However when I do click on month view, although it does go through all the motions and appears to be correctly set as not visible, when the page renders the linkbutton still displays. Any ideas?

Regards
Mike
Peter
Telerik team
 answered on 23 Nov 2007
1 answer
133 views
I have a scheduler, which I bind to an object datasource. I want to change the color of the appointment based on a value in my object datasource. How can I reference this value for an appointment, as it's not one of the standard values you use for an appointment, it's a flag, which depending on the value will determine the color of the appointment.

Regards
Mike
Peter
Telerik team
 answered on 23 Nov 2007
2 answers
233 views
I want to know what the basic controls that are required to have a RadWindow function as follows.

I have a button on the page that is clicked, which needs to call a method on this server. Depending on the result this method will then try to populate a label with some javascript to show the radwindow. After fiddling around with it, i either get the case where the label has its text property set but it does not appear in the page source after the post back, OR it does appear but i get a javascript error along the lines of "_1c has no proeprties" from this chunk of code( from firebug):
window.radopen=function(url,_1b){ 
var _1c=GetRadWindowManager(); 
return _1c.open(url,_1b); 
}; 


What are the basic requirements? I've got this working on some pages, but not on others, and I cant seem to figure out what im doing wrong. If you could point out what is required (e.g RadWindowManager, RadAjaxManager, ScriptManager, Label, asp:UpdatePanel, Button.AutoPostback set etc) so I can try rectify it
I'm new to this ajax thing and i cant seem to make it work consistently for me

Thanks
Tervel
Telerik team
 answered on 23 Nov 2007
1 answer
218 views
Hello,

    I got a problem about using usercontrol in template for Scheduler. Below is the code in my template.
<AdvancedInsertTemplate> 
    <div style="position: relative; background: #E6E6E6; height: 100%; border: 1px solid #666666;">  
        <div style="margin-left: 10px; margin-top: 5px;">  
            <uc1:ScheduleEditForm ID="ScheduleEditForm1" runat="server" /> 
        </div> 
        <div class="blueBox" style="margin-bottom: 5px; position: absolute; bottom: 0px">  
            <asp:LinkButton ID="InsertButton" runat="server" CommandName="Insert">  
            <asp:Image runat="server" ID="insertImage" ImageUrl="Images/Edit.gif" AlternateText="Insert" ToolTip="Insert" /></asp:LinkButton> 
            <asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False" CommandName="Cancel">  
            <asp:Image runat="server" ID="cancelImage" ImageUrl="Images/cancel.gif" AlternateText="Cancel" ToolTip="Cancel" /></asp:LinkButton> 
        </div> 
    </div> 
</AdvancedInsertTemplate> 

And the following is my usercontrol code.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ScheduleEditForm.ascx.cs" Inherits="Controls_ScheduleEditForm" %> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:ScriptManagerProxy ID="ScriptManagerProxy1" runat="server">  
</asp:ScriptManagerProxy>        
<fieldset> 
    <p class="form_p">  
        <asp:Label ID="Field_Subject_Label" Text="Descrption:" runat="server" CssClass="form_label" AssociatedControlID="Field_Subject"></asp:Label> 
        <asp:TextBox ID="Field_Subject" Rows="5" Columns="40" runat="server" Text='<%# Bind("Subject") %>' TextMode="MultiLine" CssClass="form_input"></asp:TextBox> 
    </p> 
    <p class="form_p">  
        <asp:Label ID="Field_Start_Label" Text="Start time:" runat="server" CssClass="form_label" AssociatedControlID="Field_Start"></asp:Label> 
        <telerik:RadDateTimePicker ID="Field_Start" runat="server">  
        </telerik:RadDateTimePicker> 
    </p> 
    <p class="form_p">  
        <asp:Label ID="Field_End_Label" Text="End time:" runat="server" CssClass="form_label" AssociatedControlID="Field_End"></asp:Label> 
        <telerik:RadDateTimePicker ID="Field_End" runat="server">  
        </telerik:RadDateTimePicker> 
    </p> 
    <p class="form_p">  
        <asp:Label ID="Field_CompletedRatio_Label" Text="Completed Ratio:" runat="server" CssClass="form_label" AssociatedControlID="Field_CompletedRatio"></asp:Label> 
        <span style="float:left;margin-right:10px">  
        <asp:TextBox ID="Field_CompletedRatio" runat="server" CssClass="form_slider">1</asp:TextBox> 
        <ajaxToolkit:SliderExtender ID="SliderExtender1" runat="server" Minimum="1" Maximum="100" BoundControlID="Field_CompletedRatio_Value" TargetControlID="Field_CompletedRatio">  
        </ajaxToolkit:SliderExtender> 
        </span> 
        <asp:TextBox ID="Field_CompletedRatio_Value" runat="server" ReadOnly="true" Text="1" Width="25"></asp:TextBox> 
          
    </p> 
</fieldset> 

I save the appointment data to database in AppointmentCommand() event. The code looks like:
protected void RadScheduler1_AppointmentCommand(object sender, AppointmentCommandEventArgs e)  
    {  
        if (e.CommandName == "Insert")  
        {  
            Controls_ScheduleEditForm insertForm = (Controls_ScheduleEditForm)e.Container.FindControl("ScheduleEditForm1");  
            insertForm.prepare();  
            insert((RadScheduler)sender, e.Container.Appointment);  
        }  
    } 

After switching back to View mode, the finding indicates that only StartDate and EndDate for the new appointment are correct. The subject is always empty. Do you have any idea for the issue? Thanks.
Peter
Telerik team
 answered on 23 Nov 2007
4 answers
256 views
I am building a Team Outlook Calendar from our AD/Exchange binding the scheduler control to a DataTable from codebehind. My ResourceType is bound to an XmlDataSource with the values of the team members. I am receiving and error on the Schedule.DataBind();

Could not find ResourceType selected for grouping. Please, check that the GroupBy attribute is properly set and a ResourceType with the same name exists.

Can someone help, here is the code:
<form id="Form1" method="post" runat="server">  
        <ajax:ScriptManager ID="ScriptManager" runat="server" /> 
          
         <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="RadScheduler1">  
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="RadScheduler1" LoadingPanelID="RadAjaxLoadingPanel1" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
          
        <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Transparency="30" BackColor="#E0E0E0" InitialDelayTime="500">  
            <asp:Image ID="Image1" Style="margin-top: 200px" runat="server" ImageUrl="~/controls/Radcontrols/Ajax/Skins/Default/loading.gif" 
                BorderWidth="0px" AlternateText="Loading"></asp:Image> 
        </telerik:RadAjaxLoadingPanel> 
 
        <div class="RadScheduler_Mac" style="background: transparent; width: 750px;">  
            <div class="headerTop">  
                Open System Team Calendar  
            </div> 
        </div> 
          
        <telerik:RadScheduler   
             runat="server"   
             ID="RadScheduler1" 
            Width="750px"   
            Skin="Mac"   
            SelectedView="ResourceView"   
            GroupBy="Members" 
            DayStartTime="07:00:00"   
            DayEndTime="18:00:00"   
            TimeZoneOffset="-05:00:00" 
            DataKeyField="NameID"   
             DataSubjectField="Subject" 
            DataStartField="StartTime"   
            DataEndField="EndTime"   
            DataRecurrenceField="RecurrenceRule" 
               DataRecurrenceParentKeyField="RecurrenceParentID">  
             <ResourceTypes> 
                <telerik:ResourceType   
                    KeyField="NameID"   
                    Name="Members"   
                    TextField="NameDesc"   
                    ForeignKeyField="NameID"   
                    DataSourceID="XmlDsResources" /> 
            </ResourceTypes> 
        </telerik:RadScheduler> 
 
         <asp:XmlDataSource id="XmlDsResources" DataFile="~/os/TeamCalendarResources.xml" runat="server"/>   
    </form> 

Imports System.Net  
Imports System.IO  
Imports System.XML  
Imports System.Data  
Imports System.Configuration  
Imports System.Security.Cryptography.X509Certificates  
Imports System.DirectoryServices  
 
Partial Class os_TeamCalendar  
    Inherits System.Web.UI.Page  
 
    Const errorLevel As Integer = 2  ' 2 = verbose, 1 = concise  
 
    Protected Sub Page_Load1(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load  
        ' sharing calendar must be set to reviewer http://office.microsoft.com/en-us/outlook/HP011111491033.aspx  
 
        If (Not IsPostBack) Then 
            RadScheduler1.SelectedDate = Today  
            Dim dt As New DataTable()  
            dt.Columns.Add("StartTime", System.Type.GetType("System.DateTime"))  
            dt.Columns.Add("EndTime", System.Type.GetType("System.DateTime"))  
            dt.Columns.Add("NameID", System.Type.GetType("System.String"))  
            dt.Columns.Add("Name", System.Type.GetType("System.String"))  
            dt.Columns.Add("Location", System.Type.GetType("System.String"))  
            dt.Columns.Add("Subject", System.Type.GetType("System.String"))  
            dt.Columns.Add("Status", System.Type.GetType("System.String"))  
            dt.Columns.Add("Type", System.Type.GetType("System.String"))  
            dt.Columns.Add("RecurrenceRule", System.Type.GetType("System.String"))  
            dt.Columns.Add("RecurrenceParentID", System.Type.GetType("System.Int32"))  
 
            Dim strUsers As String = System.Configuration.ConfigurationManager.AppSettings("Usernames")  
            Dim arrUsers() As String = strUsers.Split(",")  
            Dim strUser As String 
 
            For Each strUser In arrUsers  
                LookUpCalendar(strUser, RadScheduler1.SelectedDate, dt)  
            Next 
 
            RadScheduler1.DataSource = dt  
            RadScheduler1.DataBind()  
 
        Else 
 
        End If 
    End Sub 
 
    Sub LookUpCalendar(ByVal Name As String, ByVal dDate As DateTime, ByRef dt As DataTable)  
 
        Dim strURL As String = "http://" & System.Configuration.ConfigurationManager.AppSettings("EMailServer") & "/exchange/" & Name & "/calendar/" 
 
        Dim strRequest As String = "<?xml version=""1.0""?>" & _  
                                                      "<g:searchrequest xmlns:g=""DAV:"">" & _  
                                                      "<g:sql>SELECT ""urn:schemas:calendar:location"", ""urn:schemas:httpmail:subject"", " & _  
                                                      """urn:schemas:calendar:dtstart"", ""urn:schemas:calendar:dtend"", " & _  
                                                      """urn:schemas:calendar:busystatus"", ""urn:schemas:calendar:instancetype"" " & _  
                                                      "FROM Scope('SHALLOW TRAVERSAL OF """ & strURL & """') " & _  
                                                      "WHERE NOT ""urn:schemas:calendar:instancetype"" = 1 " & _  
                                                      "AND ""DAV:contentclass"" = 'urn:content-classes:appointment' " & _  
                                                      "AND ""urn:schemas:calendar:dtstart"" > '" & _  
                                                      String.Format("{0:yyyy/MM/dd}", dDate) & " 00:00:00' " & _  
                                                      "AND ""urn:schemas:calendar:dtend"" &lt; '" & _  
                                                      String.Format("{0:yyyy/MM/dd}", dDate.AddDays(1)) & " 00:00:00' " & _  
                                                      "ORDER BY ""urn:schemas:calendar:dtstart"" ASC" & _  
                                                      "</g:sql></g:searchrequest>" 
 
        '0 = "  Instance type: 0-Single appointment<br>"  
        '1 = "  Instance type: 1-Master recurring appointment<br>"  
        '2 = "  Instance type: 2-Single instance, recurring appointment<br>"  
        '3 = "  Instance type: 3-Exception to a recurring appointment<br>"  
 
        Dim strStatusText As String = "" 
        Dim Status As Integer 
        Dim ResponseXmlDoc As XmlDocument = SendRequest("SEARCH", strURL, strRequest, strStatusText, Status)  
        AddToSchedule(ResponseXmlDoc, Name, dt)  
 
        'Display the results.  
        If (Status >= 200 And Status < 300) Then 
            'AddInfo("<br>" & Name & "   " & "Result = " & Status & ": " & strStatusText, 2)  
        ElseIf Status = 401 Then 
            'AddInfo("<br><font color='red'>Permission denied!</font>", 1)  
            'AddInfo("<br><font color='red'>Check your permissions for this item.</font>", 2)  
        Else 
            'AddInfo("<br><font color='red'>Request failed.</font>", 1)  
            'AddInfo("<br><font color='red'>Result = " & Status & ": " & strStatusText & "</font>", 2)  
        End If 
 
    End Sub 
 
    Sub AddToSchedule(ByVal ResponseXmlDoc As System.Xml.XmlDocument, ByVal Name As String, ByRef dt As DataTable)  
        ' Build a list of the DAV:href XML nodes, corresponding to the folders  
        ' in the mailbox.  The DAV: namespace is typically assigned the a: prefix in the XML response body.  
        If (ResponseXmlDoc Is Nothing) Then Return 
        Dim HrefNodes As System.Xml.XmlNodeList = ResponseXmlDoc.GetElementsByTagName("a:href")  
        ' Build a list of the urn:schemas:httpmail:subject XML nodes,  
        ' The urn:schemas:httpmail: namespace is typically assigned the e: prefix in the XML response body.  
        Dim SubjectNodeList As System.Xml.XmlNodeList = ResponseXmlDoc.GetElementsByTagName("e:subject")  
        ' Build a list of the urn:schemas:calendar:location XML nodes,  
        ' The urn:schemas:calendar: namespace is typically assigned the d: prefix in the XML response body.  
        Dim LocationNodeList As System.Xml.XmlNodeList = ResponseXmlDoc.GetElementsByTagName("d:location")  
        ' Build a list of the urn:schemas:calendar:dtstart XML nodes,  
        Dim StartTimeNodeList As System.Xml.XmlNodeList = ResponseXmlDoc.GetElementsByTagName("d:dtstart")  
        ' Build a list of the urn:schemas:calendar:dtend XML nodes,  
        Dim EndTimeNodeList As System.Xml.XmlNodeList = ResponseXmlDoc.GetElementsByTagName("d:dtend")  
        ' Build a list of the urn:schemas:calendar:busystatus XML nodes,  
        Dim BusyStatusNodeList As System.Xml.XmlNodeList = ResponseXmlDoc.GetElementsByTagName("d:busystatus")  
        ' Build a list of the urn:schemas:calendar:instancetype XML nodes,  
        Dim InstanceTypeNodeList As System.Xml.XmlNodeList = ResponseXmlDoc.GetElementsByTagName("d:instancetype")  
 
        ' Loop through the returned items (if any).  
        If SubjectNodeList.Count > 0 Then 
 
            Dim i As Integer 
            For i = 0 To SubjectNodeList.Count - 1  
                Dim dr As DataRow = dt.NewRow()  
                dr("Subject") = SubjectNodeList(i).InnerText  
                dr("Location") = LocationNodeList(i).InnerText  
                dr("StartTime") = DateTime.Parse(StartTimeNodeList(i).InnerText)  
                dr("EndTime") = DateTime.Parse(EndTimeNodeList(i).InnerText)  
                dr("Status") = BusyStatusNodeList(i).InnerText  
                dr("NameID") = Name  
                dr("Name") = Name  
                dr("Type") = InstanceTypeNodeList(i).InnerText  
                dr("RecurrenceRule") = DBNull.Value  
                dr("RecurrenceParentID") = DBNull.Value  
                '0 = "  Instance type: 0-Single appointment<br>"  
                '1 = "  Instance type: 1-Master recurring appointment<br>"  
                '2 = "  Instance type: 2-Single instance, recurring appointment<br>"  
                '3 = "  Instance type: 3-Exception to a recurring appointment<br>"  
                dt.Rows.Add(dr)  
            Next 
        End If 
 
    End Sub 
 
    Function SendRequest(ByVal strCommand As String, ByVal strURL As String, ByVal strBody As String, _  
        ByRef strStatusText As String, ByRef iStatCode As Integer) As XmlDocument  
 
        Try 
            ' Create a new CredentialCache object and fill it with the network credentials required to access the server.  
            Dim Username As String = System.Configuration.ConfigurationManager.AppSettings("UserForReadingCalendars")  
            Dim Password As String = System.Configuration.ConfigurationManager.AppSettings("PwdForReadingCalendars")  
            Dim strDomain As String = System.Configuration.ConfigurationManager.AppSettings("WindowsDomain")  
 
            Dim myCred As New NetworkCredential(strDomain & "\" & Username, Password)  
            Dim myUri As System.Uri = New System.Uri(strURL)  
            Dim MyCredentialCache As New CredentialCache  
            MyCredentialCache.Add(myUri, "Basic", myCred)  
            ' Create the HttpWebRequest object.  
            Dim objRequest As HttpWebRequest = CType(WebRequest.Create(strURL), HttpWebRequest)  
            ' Add the network credentials to the request.  
            objRequest.Credentials = MyCredentialCache  
            ' Specify the method.  
            objRequest.Method = strCommand  
            ' Set Headers  
            objRequest.KeepAlive = True 
            objRequest.Headers.Set("Pragma", "no-cache")  
            objRequest.ContentType = "text/xml" 
 
            'Set the request timeout to 5 minutes  
            objRequest.Timeout = 300000  
 
            If (strBody.Length > 0) Then 
                ' Store the data in a byte array  
                Dim ByteQuery() As Byte = System.Text.Encoding.ASCII.GetBytes(strBody)  
                objRequest.ContentLength = ByteQuery.Length  
                Dim QueryStream As Stream = objRequest.GetRequestStream()  
                ' Write the data to be posted to the Request Stream  
                QueryStream.Write(ByteQuery, 0, ByteQuery.Length)  
                QueryStream.Close()  
            End If 
 
            ' Send the method request and get the response from the server.  
            Dim objResponse As HttpWebResponse = CType(objRequest.GetResponse(), HttpWebResponse)  
            ' Get the Status code  
            iStatCode = objResponse.StatusCode  
            strStatusText = objResponse.StatusDescription  
            ' Get the XML response stream.  
            Dim ResponseStream As System.IO.Stream = objResponse.GetResponseStream()  
            ' Create the XmlDocument object from the XML response stream.  
            Dim ResponseXmlDoc As New System.Xml.XmlDocument  
            ResponseXmlDoc.Load(ResponseStream)  
            ' Clean up.  
            ResponseStream.Close()  
            objResponse.Close()  
            Return ResponseXmlDoc  
 
        Catch ex As Exception  
            Throw ex  
 
        End Try 
 
        Return Nothing 
 
    End Function 
 
End Class 
 
Peter
Telerik team
 answered on 23 Nov 2007
3 answers
201 views
Dear reader,

I've noticed a difference between the Prometheus RadDateInput and the previous version. In the "old" date input, you could insert "1100" and that was understood by the control as "11:00". In the Prometheus-version, "1100" is an invalid input. Is there a reason for this? Is there a way for the input to recognize 4 numbers as a time? Can I do that by using my own Javascript for example? Users sometimes have to insert a lot of times, using the tab-key and the numeric keys on the keyboard is the fastest way to do that. Now, they have to use the ":" key too and that slows the process down a lot.

Thanks in advance,
Martine.
Missing User
 answered on 23 Nov 2007
2 answers
210 views
Hi,

Is it possible to modify the contents of the hyperlink manager? I am aware that we can add custom dialogs but we would like to add an extra tab within the hyperlink manager. The perfect scenario would be to be able to define a new tab and specify a control to render within it with a defined callback function. Is this possible to either request as a feature of the editor or have some custom way of achieving this?

Alternatively, in the old editor it was possible to modify the controls in question, will this be offered as an option within the prometheus version of the editor? This isnt as flexible as it requires modification when new version of the controls are released.

Thanks

Rob
Rob
Top achievements
Rank 1
 answered on 23 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?