Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
242 views
Does anyone know why this is happening when you click or expand the first node of a RADTreeView Control on initial load of the page but is working fine on succeeding postbacks? Thanks
Nikolay Tsenkov
Telerik team
 answered on 23 Jul 2010
5 answers
211 views
From the posts I've seen here I am gleaning that I cannot use ClientIdMode=Static and have the telerik tools working correctly... is that correct? I have a RadWindow that I am using as a controls container and it does not show any content in the window when the ClientIdMode=Static but if I remove that setting, the window shows the content. Is this going to be fixed or what can I expect? I am completely deflated right now because it is throwing a huge wrench into the current plan on this project.
Petio Petkov
Telerik team
 answered on 23 Jul 2010
1 answer
183 views
Hi Telerik Team,

We are using the telrik version 2009(Q3)

i saw the example from the link

http://demos.telerik.com/aspnet-ajax/editor/examples/googletranslation/defaultcs.aspx

which translates the characters less than 500 correctly but when it exceeds more than 500 it fails

any solutions for this????

Plzzz reply me aspd.

thanks
K²

Dobromir
Telerik team
 answered on 23 Jul 2010
4 answers
426 views
Hi,

I am trying to change the width of a GridDropDownColumn in a detail table during editmode so the items do not wrap to more than one line just something simple like 500px. Nothing seems to work. I have tried accessing the control in itemdatabound event but cannot seem to get this working for detail tables, even though I have it working fine when there are no details tables.

Any help much appreciated.

Thanks,
Paul
Paul
Top achievements
Rank 1
 answered on 23 Jul 2010
4 answers
124 views
Hello,

I using Telerik Grid control to display data on the ASP.net page. I need a value from selected row. So i used the following clint side API:

GetCellByColumnUniqueName

But while running the program it throws incompatibility error. see the error pop up attached. Can you please tell why this error is comming up ? How to get it resolved.


Thanks,
Prayag

prayag ganoje
Top achievements
Rank 1
 answered on 23 Jul 2010
1 answer
185 views

 

 

int idx = RegionCombo.FindItemIndexByValue(Convert.ToString(query.Region));

 

RegionCombo.Items[idx].Selected =

 

true;

 



not working and Combo.SelectIndex not work too. just i need on server do select like as user select item. But Text in combox is still sam - > first

thanx
Shinu
Top achievements
Rank 2
 answered on 23 Jul 2010
1 answer
705 views

I have a radGrid on the page with the "Add New Record" button.  When I click the "Add New Record" button, a textbox appears above each column that allows me to enter values.  I want to limit the number of characters that can be entered in the textbox.  How do I set the MaxLength of those textboxes?
Daniel
Telerik team
 answered on 23 Jul 2010
1 answer
121 views
I have been trying to define the structure of the radEditor in my grid with a Theme as detailed in the RadEditor documentation (http://www.telerik.com/help/aspnet-ajax/usingthemes.html) but have had no success. Is this even possible?

Here is the code I am using. I added a reference to my theme in the page directive.

ASPX Page

            <telerik:GridHTMLEditorColumnEditor ID="NarrativeEditor" runat="server">
                <Editor runat="server" SkinID="ScorecardInput">
                </Editor>
            </telerik:GridHTMLEditorColumnEditor>

Skin
 <%@ Register TagPrefix="telerik"  Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
<telerik:RadEditor runat="server" SkinId="ScorecardInput"  Skin="Windows7" Width="400px" Height="300px" ToolbarMode="Default" ContentFilters="DefaultFilters"  EditModes="Design,Html">
    <SpellCheckSettings AllowAddCustom="False" />
    <Tools>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="PastePlainText" />
            <telerik:EditorTool Name="StripAll" />
        </telerik:EditorToolGroup>
        <telerik:EditorToolGroup>
            <telerik:EditorTool Name="AjaxSpellCheck" />
            <telerik:EditorTool Name="FindAndReplace" />
        </telerik:EditorToolGroup>
    </Tools>
  <Content>
      <b>Setting inline properties</b>
  </Content>
</telerik:RadEditor>

The Format Code option does not seem to work for me. It just hangs - possible from the heavy firewall and proxy.

Mike
Pavlina
Telerik team
 answered on 23 Jul 2010
1 answer
160 views
By default, the exchange provider loads the "main" calendar of an account (DistinguishedFolderIdNameType.calendar), but I have a need to load other calendars within the same account (eg "personal", "business", etc) by their display name. I modified the exchange provider as below, and just post it here in case anyone else can make use of it.

Cheers
Jonathan

added a property to ExchangeSchedulerProvider:

        public string CustomCalendarName { get; set; }

modified the constructor to accept calendar name (though should really have created overload):

public ExchangeSchedulerProvider(string serverUrl, string username, string password, string domain, string calendarName)
    : this()
{
    ServerUrl = serverUrl;
    Username = username;
    Password = password;
    Domain = domain;
    CustomCalendarName = calendarName;
}


added the following method to ExchangeSchedulerProvider.cs:

protected internal List<BaseFolderIdType> FindCalendarFolderByName(string folderName)
{
    List<BaseFolderIdType> theReturn = new List<BaseFolderIdType>();
 
    if (folderName == null || folderName == string.Empty)
        theReturn.Add(new DistinguishedFolderIdType() { Id = DistinguishedFolderIdNameType.calendar });
    else
    {
        // LOOKUP THE FOLDER BY ITS FRIENDLY (DISPLAY) NAME
 
        FindFolderType findFolder = new FindFolderType();
        findFolder.FolderShape = new FolderResponseShapeType() { BaseShape = DefaultShapeNamesType.IdOnly };
        findFolder.Traversal = FolderQueryTraversalType.Deep;
 
        // Identify which folder to begin your search from.
        List<DistinguishedFolderIdType> folders = new List<DistinguishedFolderIdType>();
        DistinguishedFolderIdType rootFolder = new DistinguishedFolderIdType() { Id = DistinguishedFolderIdNameType.root };
        folders.Add(rootFolder);
        findFolder.ParentFolderIds = folders.ToArray();
 
        // need display name property to compare against
        PathToUnindexedFieldType displayNamePath = new PathToUnindexedFieldType() { FieldURI = UnindexedFieldURIType.folderDisplayName };
        findFolder.FolderShape.AdditionalProperties = new BasePathToElementType[] { displayNamePath };
 
        // execute the request
        FindFolderResponseType response = Service.FindFolder(findFolder);
 
        // FILTER OUT THE ONE FOLDER WE'RE LOOKING FOR, AND GET ITS ID
 
        // Access the response message.
        ArrayOfResponseMessagesType responseMessages = response.ResponseMessages;
 
        List<string> CalendarFolderIDs = new List<string>();
        foreach (ResponseMessageType responseMessage in responseMessages.Items)
        {
            if (responseMessage is FindFolderResponseMessageType)
            {
                FindFolderResponseMessageType ffrmt = (responseMessage as FindFolderResponseMessageType);
                FindFolderParentType ffpt = ffrmt.RootFolder;
 
                foreach (BaseFolderType item in ffpt.Folders)
                {
                    if (item is CalendarFolderType)
                    {
                        CalendarFolderType calendarFolder = item as CalendarFolderType;
                        if (calendarFolder != null)
                        {
                            if (calendarFolder.DisplayName.ToLower() == CustomCalendarName.ToLower())
                            {
                                FolderIdType calID = calendarFolder.FolderId;
                                theReturn.Add(calID);
                            }
                        }
                    }
                }
            }
        }
    }
 
    return theReturn;
}

and then in the FindCalendarItems() method, changed

            List<DistinguishedFolderIdType> folderIDs = new List<DistinguishedFolderIdType>();
            DistinguishedFolderIdType ownCalendar = new DistinguishedFolderIdType();
            ownCalendar.Id = DistinguishedFolderIdNameType.calendar;
            folderIDs.Add(ownCalendar);

to:

            List<BaseFolderIdType> folderIDs = FindCalendarFolderByName(CustomCalendarName);

Now from the aspx.cs, can set up the provider like:

ExchangeSchedulerProvider provider = new ExchangeSchedulerProvider(serverPath, _CalendarProperties.userName, _CalendarProperties.userPass, _CalendarProperties.userDomain, "myCalendar");
RadScheduler1.Provider = provider;


Peter
Telerik team
 answered on 23 Jul 2010
7 answers
141 views
Hi all,

A strange problem has just started happening with our scheduler.

When we right click an appointment and get the time it is giving us the selected time plus the time on the computer. So if we select 1am then the time it gives us is 1am + 16hrs = 17hrs

We have no idea how to solve this as it's just started happening. 

Any ideas?

Cheers
Jon
Peter
Telerik team
 answered on 23 Jul 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?