Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
Hi, i am facing a problem in RadScheduler :
Can i have this kind of arrangement in RadScheduler ?

                -----------------------------------------------------------
                      Date 1                         |    Date 2                      
                 ----------------------------------------------------------------------
                    7am        | 1pm               | 7am           | 7pm
Resource

My coding is as below   :
 
            Dim cResourceType As New Telerik.Web.UI.ResourceType 
 
            cResourceType.DataSource = getLineName() 
 
            cResourceType.Name = "Line" 
            cResourceType.KeyField = "LineNum" 
            cResourceType.TextField = "LineName" 
            cResourceType.ForeignKeyField = "LineNum" 
            RadScheduler1.ResourceTypes.Add(cResourceType) 
 
 
 
            RadScheduler1.GroupBy = "Line,Date" 
 
 
            RadScheduler1.GroupingDirection = GroupingDirection.Vertical 
            RadScheduler1.SelectedView = SchedulerViewType.MultiDayView 
 
            RadScheduler1.TimeLabelRowSpan = 12 '10 '23 ' 12 '24 
            RadScheduler1.DayStartTime = TimeSpan.Parse("07:00:00") 
            RadScheduler1.DayEndTime = TimeSpan.Parse("23:59:59") 
            RadScheduler1.MinutesPerRow = 60 
 
            RadScheduler1.WorkDayStartTime = TimeSpan.Parse("00:00:00") 
            RadScheduler1.WorkDayEndTime = TimeSpan.Parse("23:59:59") 
 
            RadScheduler1.ShowFooter = False 
 
            'RadScheduler1.DayEndTime = TimeSpan.Parse(DayEnd.SelectedValue) 
            'RadScheduler1.TimelineView.NumberOfSlots = 1 
 
            RadScheduler1.SelectedDate = mdsResult.Tables(0).Rows(0)("StartDate") 
            RadScheduler1.DataSource = mdsResult 
            RadScheduler1.DataBind() 

Attach here is the output of my coding:

Peter
Telerik team
 answered on 23 Apr 2010
1 answer
73 views
I am attempting to use the RadSpell control for validating passwords selected by users.  I want to make sure the password selected by the user is not in the dictionary (in addition to other validations I am also performing).

How do I fire up RadSpell on the server-side, pass a word into it, and return whether the word is in the dictionary or not?

Can someone provide a function that does that?

Thanks in advance!
Rumen
Telerik team
 answered on 23 Apr 2010
1 answer
65 views
The graphic shown when the loading panel is in 'wait' mode has changed from the 2009 release - it seems that the background square is no longer transparent. Is there anyway to get the 'old' one back?
Dimo
Telerik team
 answered on 23 Apr 2010
1 answer
122 views
Hi,
I have a problem with the load time of the scheduler.
On my pc with IIS and local SQL server database it takes 20 s to load. I am sure this is going to double or triple when going live with remote web servers and databses.

In this application I am using scheduler with master pages and the load time is very critical. I have tried the following to try to optimize the time on the usage of the scheduler
1. filter appointments in the stored procedures for only what is shown on the screen, as per the day, week, month...view
2. used a rad windwow to reduce the HTML codes on the rad scheduler. This not using the Edit and Insert apointment inbuilt panels...

These 2 solutions have helped  a lot but I am unable to optimize the time whn the application first loads.

My question are:
1. Is there general way to optimize the load time of schduler..e.g..best practices..etc?
2. Are there any known issues that affect the load time of the rad scheduler when used with master pages?

Thanks for your reply,
swad
Peter
Telerik team
 answered on 23 Apr 2010
1 answer
108 views

I have a problem using the RadTreeView which i can't figure out.

I want to create a treeview and load the content runtime as it changes depending on a selection made from a DropDownList.

I have no problem by loading the content, the problem is the styleing which i can't figure out how to control when loading the content runtime.

My HTML looks like this

<Telerik:RadTreeView runat="server" id="uiRadTreeView" Skin="Vista" Width="400px" > 
      
</Telerik:RadTreeView> 

My Code Behind looks like this

  uiRadTreeView.Nodes.Clear();     
    
            SPQuery manualQuery = new SPQuery();     
            manualQuery.Query = @"<Where><Eq><FieldRef Name='Client' /><Value Type='Lookup'>"+ uiClients.SelectedItem.Text +"</Value></Eq></Where>";     
    
            XmlDocument xmlDoc = new XmlDocument();     
    
            // Write down the XML declaration     
            XmlDeclaration xmlDeclaration = xmlDoc.CreateXmlDeclaration("1.0""utf-8"null);     
    
            // Create the root element     
            XmlElement rootNode = xmlDoc.CreateElement("Tree");     
            xmlDoc.InsertBefore(xmlDeclaration, xmlDoc.DocumentElement);     
            xmlDoc.AppendChild(rootNode);                 
    
            SPListItemCollection manuals = SPContext.Current.Web.Lists["Manual"].GetItems(manualQuery);     
                 
            foreach (SPListItem manual in manuals)     
            {     
                     
                XmlElement parentNode = xmlDoc.CreateElement("Node");     
                     
                parentNode.SetAttribute("Text", manual.Title);                              
    
                SPFieldLookupValueCollection sops = new SPFieldLookupValueCollection(manual["SOP"].ToString());     
                     
                foreach (SPFieldLookupValue sop in sops)     
                {     
                    XmlElement childNode = xmlDoc.CreateElement("Node");     
                    childNode.SetAttribute("Text", sop.LookupValue.ToString());     
                    parentNode.AppendChild(childNode);     
                }     
    
                xmlDoc.DocumentElement.AppendChild(parentNode);     
            }     
    
               
    
            uiRadTreeView.LoadXml(xmlDoc.InnerXml);    
 

My Screen looks like see this link http://screencast.com/t/MDYxNTU5MzY

as yo can see from the screenshot i can't see the childnodes. When clicking on the Parent node the child nodes is rendered to the right. How do i force the childnodes to be rendered to the left ?

also how can i change the styling when adding content at runtime ?

thanks for your help

Kamen Bundev
Telerik team
 answered on 23 Apr 2010
1 answer
100 views
Hi,
    I have a Telerik Radgrid in one search page.actually what is happening is once we enter some search criteria in text box and press enter button focus is going to Radgrid filter automatically and its show filter options.I dont want this to happen.Plese help me to remove the focus going to the grid.

Thanks
Sambhav
Sebastian
Telerik team
 answered on 23 Apr 2010
1 answer
367 views
Hello Friends,


 In my page i used datepicker control,in one condition i applied Enabled=false on that date picker.

But when datepicker is Enabled=false than i need to apply style on font means i need to do font bold and change font color.

I had tried it but when Enabled=false than font style are not working.

Pls help me.

Thanks & Regards
Jignesh Patel

Dimo
Telerik team
 answered on 23 Apr 2010
5 answers
308 views
Hi,
I am facing an issue with RadGrid.When I click to export to pdf, I'm  getting an error as follows:-

System.SystemException: Error while creating area : Encountered web exception while fetching image from http://<servername>/Shared Pictures/baby.jpg: The remote server returned an error: (401) Unauthorized.
  at Telerik.Web.Apoc.ApocDriver.FireApocError(String message)
  at Telerik.Web.Apoc.Fo.Flow.ExternalGraphic.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableCell.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.TableRow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.AbstractTableBody.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Table.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Block.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area, Region region)
  at Telerik.Web.Apoc.Fo.Flow.Flow.Layout(Area area)
  at Telerik.Web.Apoc.Fo.Pagination.PageSequence.Format(AreaTree areaTree)
  at Telerik.Web.Apoc.StreamRenderer.Render(PageSequence pageSequence)
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.EndElement()
  at Telerik.Web.Apoc.Fo.FOTreeBuilder.Parse(XmlReader reader)

I am using RadGrid in SharePoint.


Thanks,
Navneet

Daniel
Telerik team
 answered on 23 Apr 2010
1 answer
123 views
Good day!

I'm trying to use RadWindow in IE and Chrome, but it seems that it is much slower to load in Chrome. Why is this so?

Thanks.
Georgi Tunev
Telerik team
 answered on 23 Apr 2010
1 answer
214 views
Hi Team,
I am facing issue with rad dock. the probelm is like i have tree view in the lefthand side(its a master page) and right hand rad dock ( in child page) and report viewer conttrol below the raddock as show in the ScreenShot1(attached document). then when i click view button he report is generate in the report viewer control and my left hand side tree view menu collpases automatically  as show in the screenshot 2(attached document).then when i expand my left hand side tree view , the expand/collapse icon on the right side of raddock is not apperaing as show in screenshot3(attached document) so i am not able to expand and collapse the raddock plz help on this issue.

Thank You,

Regards,
Mahidhar,
Chennai.
Pero
Telerik team
 answered on 23 Apr 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?