Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
104 views

Hello,

Does your newest release support scatter charts (with or without lines)?

Thanks.

Steve
Bartholomeo Rocca
Top achievements
Rank 1
 answered on 21 Dec 2009
9 answers
217 views
Hi,

I use RadWindow as a login screen which works almost perfectly. The problem is, Opera (9.62) places the window on top of the screen - the topmost part of the window is outside the screen.
Since I'm not sure if this is a RadWindow or Opera issue I created a new project with only a RadWindow in it. The behavior is the same.

How can I fix this?
Best regards,
Robert
Martin
Telerik team
 answered on 21 Dec 2009
4 answers
185 views




Nikolay Rusev
Telerik team
 answered on 21 Dec 2009
3 answers
169 views
Hi, at moment I am using 404 handler to redirect the page, since I can not use server.transfer anymore because of the ajax framework, I am hitting by the URL problem now (SEO, ability to read and etc).

As I am aware of the redirecting method, and I am aware the sitefinitiy actually has a proper URLRewrite module incorporated
http://www.telerik.com/help/aspnet-ajax/ajxredirectingtoanotherpage.html

Would you suggest me any URLRewrite module that works well with telerik control?

Thanks
Georgi
Telerik team
 answered on 21 Dec 2009
1 answer
126 views
I was watching one of the client side databinding videos on Telerik TV and it said to search for and download the DynamicLinq.cs file to incorporate into your project.

I can't find it - anyone know where I can get it?

--Kdc

Here's the link to the RadTip
http://tv.telerik.com/radtips/radgrid/radgrid-for-asp.net-ajax-+-declarative-client+side-databinding,-part-2
Radoslav
Telerik team
 answered on 21 Dec 2009
2 answers
81 views
Hi
I got a serious problem with the RadGrid under Mono: I cannot get paging to work. My configuration is indeed very simple. I just have a grid with a SqlDataSource on my page. On MS.NET everything works fine, but with Mono I just get the first page (not even all data).
I tried to bind the grid to lists as well with the same result.
I am using RadControls Q2/2009 (Update is not possible because my project does not run under Mono with a newer version at all) and Mono 2.4.3.2.

Can anybody give me a hint what to do?

Best regards
Ferdinand
Ferdinand
Top achievements
Rank 1
 answered on 21 Dec 2009
1 answer
141 views
I have clickable nodes in my treeview. I am adding a custom class to them, but I cannot get this to show up. I have tried a wide variety of settings in CSS. The class I am adding is called rednode. Here is what the node looks like in the page source:

<li class="rtLI"><div class="rtMid">


<
span class="rtSp"></span><input type="checkbox" class="rtChk" /><img src="images/page_white_text.png" alt="" class="rtImg" /><a class="rtIn rednode" href="javascript:setValue('10003')">Great Deals</a>


</
div></li>



Could you please tell me what to do in my style sheet so that this node is colored red?? The sample on your site does not use a linked node.

Michael
Shinu
Top achievements
Rank 2
 answered on 21 Dec 2009
3 answers
201 views
I'm looking for a javascript logic that I can use to detect if the page is in a RadWindow or not.  The main reason is that I need to call the radWindow.close() when inside a RadWindow or self.close() when in just a regular browser window.  How best to handle this?

Also,  keep in mind that the parent page that launched the window may not have any Telerik content.  We have an application that has two modes:   Normal (with Telerik Controls) and 508 (which does not have any Telerik controls).

Randy
Georgi Tunev
Telerik team
 answered on 21 Dec 2009
2 answers
167 views
Hi,

I like the functionality provided by a pair of listboxes set up as a source and target. What I don't like is to have to declare them separately, databind and ultimately looping through the items in the target listbox to get a list of selected values. I have therefore tried to wrap all of this in a server control. The constructor takes a name, an IEnumerable list as datasource and the names of the text and value properties. It also provides a "GetSelectedItems()" method that returns the selected values as a CSV string (which is what I need). When I instantiate this server control it looks and appears to function as expected.

Now to the problem: when the page posts back the target listbox is empty. The items added clientside disappears. Clearly, this is not supposed to happen, so I must have done something wrong. I enclose the code for my server control below. Any pointers will be greatly appreciated.

Sincerely,
Lasse

namespace Company.PDC.WebParts  
{  
    using System;  
    using System.Collections;  
    using System.ComponentModel;  
    using System.Web.UI;  
    using System.Web.UI.WebControls;  
    using Telerik.Web.UI;  
 
    [ToolboxData("<{0}:SearchListBox runat=server></{0}:SearchListBox>")]  
    public class SearchListBox : WebControl  
    {
        #region Attributes  
 
        private Table listBoxTable;  
        private RadListBox source;  
        private RadListBox target;  
        private string separator = ";";  
        private string anyElement = "- Any -";  
        private int height = 200;  
        private int width = 200;
        #endregion  
 
        #region Constructors  
 
        public SearchListBox(string controlName, IEnumerable dataSource, string textField, string valueField)  
        {  
            this.ID = controlName;  
            this.source = new RadListBox();  
            this.target = new RadListBox();  
            this.EnableViewState = true;  
            this.source.EnableViewState = true;  
            this.target.EnableViewState = true;  
            this.LoadData(dataSource, textField, valueField);  
        }
        #endregion  
 
        #region Properties  
 
        public string Separator  
        {  
            get 
            {  
                return this.separator;  
            }  
 
            set 
            {  
                this.separator = value;  
            }  
        }  
 
        public string AnyElement  
        {  
            get 
            {  
                return this.anyElement;  
            }  
 
            set 
            {  
                this.anyElement = value;  
            }  
        }  
 
        public new int Height  
        {  
            get 
            {  
                return this.height;  
            }  
 
            set 
            {  
                this.height = value;  
            }  
        }  
 
        public new int Width  
        {  
            get 
            {  
                return this.width;  
            }  
 
            set 
            {  
                this.width = value;  
            }  
        }  
 
        public bool IsEmpty  
        {  
            get 
            {  
                return this.target.Items.Count.Equals(0);  
            }  
        }
        #endregion  
 
        #region Public Methods  
 
        /// <summary>  
        /// Retrieves a list of selected items.  
        /// </summary>  
        /// <returns>  
        /// A separator delimited string of selected values.  
        /// </returns>  
        public string GetSelectedValues()  
        {  
            string values = string.Empty;  
            foreach (RadListBoxItem item in this.target.Items)  
            {  
                values += item.Value + this.Separator;  
            }  
 
            return values;  
        }
        #endregion  
 
        #region Override Methods  
 
        protected override void CreateChildControls()  
        {  
            base.CreateChildControls();  
 
            this.DefineListBoxes();  
            this.Controls.Add(this.listBoxTable);  
        }  
 
        protected override void RenderContents(HtmlTextWriter output)  
        {  
            this.source.RenderControl(output);  
            this.target.RenderControl(output);  
        }
        #endregion  
 
        #region Private Support Methods  
 
        private void LoadData(IEnumerable dataSource, string textField, string valueField)  
        {  
            this.source.DataSource = dataSource;  
            this.source.DataTextField = textField;  
            this.source.DataValueField = valueField;  
            this.source.DataBind();  
        }  
 
        private void DefineListBoxes()  
        {  
            this.source.Height = this.Height;  
            this.source.Width = this.Width;  
            this.target.Height = this.Height;  
            this.target.Width = this.Width - 35;  
            this.target.ID = this.ID + "target";  
            this.source.ID = this.ID + "source";  
            this.source.AllowTransfer = true;  
            this.source.AllowTransferDuplicates = false;  
            this.source.TransferMode = ListBoxTransferMode.Copy;  
            this.source.TransferToID = this.target.ID;  
 
            this.listBoxTable = new Table();  
            TableRow row = new TableRow();  
            TableCell cellSource = new TableCell();  
            TableCell cellTarget = new TableCell();  
            cellSource.Controls.Add(this.source);  
            cellTarget.Controls.Add(this.target);  
            row.Cells.Add(cellSource);  
            row.Cells.Add(cellTarget);  
            this.listBoxTable.Rows.Add(row);  
        }
        #endregion  
    }  
}  
 
Lasse Schioettz
Top achievements
Rank 1
 answered on 21 Dec 2009
3 answers
206 views
Hi,
This is my first post. I saw a similar post but it didnt really solve my issues. I actually uninstalled and re-installed VB2008 and all the controls in my project started showing me this error: Error Rendering control. An Unhandled Exception Has Occurred.Could not load file or assembly 'Telerik.Web.UI, Version = 2009.3.1103.35...Or One of its dependencies. The System Cannot find the file specified.

I will be very grateful if someone can suggest a solution quickly.

Regards,

Charles
Erjan Gavalji
Telerik team
 answered on 21 Dec 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?