Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
85 views
I am working on project that uses ASp.Net 1.1 but planning to upgrade to 3,5 soon. What version or RadControl should I get?
Lidiya
Telerik team
 answered on 08 Sep 2008
1 answer
98 views
Hi,  We have many pages developed in ASP.Net using VS 2005.  I want to know if there is a easier way to convert the controls to Rad controls without rewriting the code.

I want to know how much time it takes to develop simple maintenance pages ( create, update, delete) using rad controls.  Thxs.
Prangadj
Top achievements
Rank 1
 answered on 08 Sep 2008
1 answer
130 views
Hi all,

I'm using latest RadGrid (build 2008.2.826.35).

Problem with this code: Extra columns (no header text) keep adding at every post-back!!! even I call the Clear() method of the Columns collection. That doesn't do anything.

By putting the DefineGridStructure() method in Page_Load, instead of Page_Init, everytime the page is posted back, all column header texts and link buttons disappear.

ASPX:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default2.aspx.cs" Inherits="ING.MasterFund.RoadRunner.Web.Default2" %> 
 
<%@ 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 runat="server"
    <title></title
</head> 
<body> 
    <form id="form1" runat="server"
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" /> 
    <asp:PlaceHolder ID="PlaceHolder1" runat="server" /> 
    <br /> 
    <asp:Button ID="_postBackButton" runat="server" Text="Post Back" /> 
    </form> 
</body> 
</html> 
 

Code-Behind:

using System; 
using System.Collections.Generic; 
using System.Linq; 
using System.Web.UI; 
using Telerik.Web.UI; 
 
namespace ING.MasterFund.RoadRunner.Web 
    public partial class Default2 : Page 
    { 
        public class Customer 
        { 
            public string ID { getset; } 
            public string Name { getset; } 
        } 
 
        protected void Page_Init( object sender, EventArgs e ) 
        { 
            DefineGridStructure(); 
        } 
 
        protected void Page_Load( object sender, EventArgs e ) 
        { 
            if ( !IsPostBack ) 
            { 
                List<Customer> customers = new List<Customer> 
                                               { 
                                                       new Customer {ID = "0", Name = "John"}, 
                                                       new Customer {ID = "1", Name = "Peter"}, 
                                                       new Customer {ID = "2", Name = "Heo"
                                               }; 
                RadGrid grid = (RadGrid) PlaceHolder1.Controls[0]; 
                grid.DataSource = customers; 
                grid.DataBind(); 
            } 
        } 
 
        protected void DefineGridStructure() 
        { 
            RadGrid grid = new RadGrid(); 
            PlaceHolder1.Controls.Add(grid); 
 
            grid.AutoGenerateColumns = false
            grid.MasterTableView.Columns.Clear(); 
            grid.MasterTableView.Columns.Add(new GridBoundColumn {DataField = "ID", HeaderText = "ID"}); 
            grid.MasterTableView.Columns.Add(new GridBoundColumn {DataField = "Name", HeaderText = "Name"}); 
            grid.MasterTableView.Columns.Add(new GridButtonColumn {ButtonType = GridButtonColumnType.LinkButton, HeaderText = "Action", Text = "click"}); 
        } 
    } 

Vlad
Telerik team
 answered on 08 Sep 2008
2 answers
122 views
Is it possible to manually set the height of a segment in a scale break?

I am graphing lap times of a race car and the pit stop lap is in a scale break, I want this segment to be only about 5% of the height of the graph and the other 95% to be the main lap times. I cannot find out how to do this.

Also, can I give a different color to the bars of a bar graph that live within a certain segment of a scale break?
Giuseppe
Telerik team
 answered on 08 Sep 2008
1 answer
108 views
Hello, I am wondering if the latest version of RadEditor generates <object> tags in the Media Manger, as opposed to the <embed> tags that get generated in the current version of RadEditor I am running. Thank you.
Rumen
Telerik team
 answered on 08 Sep 2008
4 answers
108 views
Hi,

In my rad editor, the default font color is black and the default background color is white. But while typing the content, once I change font and font background colors, I'm not able to revert back the font color to black and font background color to white. This happens when I change both the font color and background color simultaneously. My client is complaining about this problem.  I'm not able to understand why this is happening. How to fix this?

Thanks,
Pramod Goutham
Pramod Goutham
Top achievements
Rank 1
 answered on 08 Sep 2008
1 answer
256 views
Hi everybody!

How to rebuild RadEditorMOSS. wsp? Because I want add some css file. ThenI want to rebuild the solution. Please let me know if you can.

Thanks,
Chau
Lini
Telerik team
 answered on 08 Sep 2008
2 answers
110 views
Hiya

We are using the RAD Grid with the EditMode set to "EditForms" and have a nested RadDatePicker.

When an invalid date is entered into the control the Error style sheet is overridden by the GridEditForm see below for extract from IE Developer Toolbar.

What do I need to do to get this working?

.GridEditForm_WebBlue INPUT[type='text'] {

                BORDER-RIGHT: #8b9cac 1px solid;

                BORDER-TOP: #8b9cac 1px solid;

                BACKGROUND: #fff;

                FONT: 11px arial,tahoma,sans-serif;

                BORDER-LEFT: #8b9cac 1px solid;

                COLOR: #333;

                BORDER-BOTTOM: #8b9cac 1px solid

}

.radInvalidCss_WebBlue {

                BORDER-RIGHT: #8b9cac 1px solid;

                PADDING-RIGHT: 0px;

                BORDER-TOP: #8b9cac 1px solid;

                PADDING-LEFT: 1px;

                BACKGROUND: #fff;

                PADDING-BOTTOM: 2px;

                FONT: 12px arial,tahoma,sans-serif;

                BORDER-LEFT: #8b9cac 1px solid;

                COLOR: #333;

                PADDING-TOP: 2px;

                BORDER-BOTTOM: #8b9cac 1px solid

}

 

.radInvalidCss_WebBlue {

                BORDER-LEFT-COLOR: #ff9000;

                BORDER-BOTTOM-COLOR: #ff9000;

                BORDER-TOP-COLOR: #ff9000;

                BORDER-RIGHT-COLOR: #ff9000

}



 

Richard
Top achievements
Rank 1
 answered on 08 Sep 2008
1 answer
359 views
Hi,$0 My problem is that i can't call any  functions from  clientside events like OnRowSelected,OnColumnMouseOver etc in fireFox ..But if i put alert directly on this events it will activate...If i write functions like OnColumnMouseOver(); it will call in FireFox.I want the solution for OnRowSelected(passingParameter1,para2). What are the parameters we want to pass for calling this function.Thanks$0$0eg:- <ClientEvents   OnRowSelected="RowSelected(?,?);"/>$0$0    </ClientSettings>$0$0$0$0$0$0<script language="javascript" type="text/javascript">$0$0$0$0$0function RowSelected(rowObject,eventObject)$0$0{$0$0     alert('selected '+ rowObject.Index +' Row');$0$0}$0$0</script>$0$0
Princy
Top achievements
Rank 2
 answered on 08 Sep 2008
1 answer
191 views
When i am assinging Database datetime value to date picker it's giving error date in not valid format because time also comming along with date. When i take short date format from database that string not accpeting rad datepicker while assigning.
Pls give the solution for this asap....
Missing User
 answered on 08 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?