Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
398 views
The outside border for the RadGrid doesn't show up correctly in IE when the RadGrid is placed inside an HTML table cell (<TD>) with a specific width defined.  I'm using the Office2007 skin, but it appears to do this with any skin that uses a colored border around the outside of the RadGrid, and there are enough columns to make the RadGrid larger than the cell it is inside of.

The ASPX code is below, as well as a code-behind I have mocked up to illustrate the problem.  I am using IE7 on Windows Vista Ultimate x86.  I have been unable to reproduce the problem in FireFox, only IE7.

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="testbug.aspx.vb" Inherits="testbug" %> 
 
<%@ 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>Untitled Page</title> 
</head> 
<body> 
    <form id="form1" runat="server">  
    <table style="width:100%;">  
        <tr> 
            <td class="style2">  
                <asp:ScriptManager ID="ScriptManager1" runat="server">  
                </asp:ScriptManager> 
            </td> 
            <td>&nbsp;</td> 
        </tr> 
        <tr> 
            <td width="400">  
                <telerik:RadGrid ID="RadGrid1" runat="server" Skin="Office2007">  
                </telerik:RadGrid> 
            </td> 
            <td>&nbsp;</td> 
        </tr> 
    </table> 
    </form> 
</body> 
</html> 

Code-behind:

Partial Class testbug  
    Inherits System.Web.UI.Page  
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load  
        Dim dt As New DataTable  
        Dim r As DataRow  
 
        dt.Columns.Add(New DataColumn("This_is_a_really_long_column_name", GetType(System.String)))  
        dt.Columns.Add(New DataColumn("This_is_another_really_long_one", GetType(System.String)))  
        dt.Columns.Add(New DataColumn("Here_is_another_long_one", GetType(System.String)))  
        dt.Columns.Add(New DataColumn("Boy_these_are_getting_long", GetType(System.String)))  
 
        r = dt.NewRow()  
        r(0) = "some texthere"  
        r(1) = "some more text"  
        r(2) = "here is even more"  
        r(3) = "finally last column"  
        dt.Rows.Add(r)  
 
        RadGrid1.DataSource = dt 
        RadGrid1.DataBind()  
    End Sub  
End Class 

Thank you for your attention!
Aaron Gibbs
Top achievements
Rank 2
 answered on 15 Jul 2008
1 answer
94 views
I have the CustomGridPager but want to be able to display how many pages there are in total and what the current page is.

Else I would like to use the advanced page system but add jump to first/last record functionallity.

Can you help?

Steve

Kevin Babcock
Top achievements
Rank 1
 answered on 15 Jul 2008
2 answers
129 views
Hi,

I have hosted a RadSchduler as a composite control in the SharePoint 2007.  It works fine without Ajax.  However, when I integrated with RadAjaxPanel, it will do something at first time and then it's kind of hung.  Each time I manually referesh the page, it will work only once than it won't do anything.   Do you know what could be the issue here?

I have hosted RadScripManager at the masterpage and RadAjaxPanel and RadAjaxLoadingPanel at the page where RadSchdular is hosted.

I've also register the Telerik.Web.UI.WebResource.axd in the web.config.

Any suggestions would be appereciated.

Thank you,
-Salman
salman
Top achievements
Rank 1
 answered on 15 Jul 2008
1 answer
249 views
I need to be able to create a half pie chart with 2 series of data to simulate a gauge. Is there a way to accomplish this? Any help or snippets would be appreciated!!
Giuseppe
Telerik team
 answered on 15 Jul 2008
8 answers
289 views
Hi ,When i try to use rad for asp.net ajax,
I found it is difficult control the skin.

I know all resource it is embed to assembly.
What is i want , when EnableEmbeddedSkins is go to false , please get the resouce from Skins folder. (Like Old version read the resource from radcontrols ) so people can easy to change some items on that.

but no css for now.
and we need add the css file to head <link href=""...   >
by manual

May be ,I miss some point. 
do you have a good idea for this.
-DJ-
Top achievements
Rank 1
 answered on 15 Jul 2008
1 answer
192 views
Hi,
     I am using Rad Prometheus 2008, DatePicker control.
     The HTML is like this:
    

<

rad:RadDatePicker ID="datePikFmCrSingle" runat="server" EnableTyping="False" Skin="Default2006" Calendar-EnableMonthYearFastNavigation="false">
<DateInput ReadOnly="True" Skin="Outlook" CssClass="input" id="dateInput1" runat="server">
</DateInput>
</
rad:RadDatePicker>

 I try to access the dateInput in javascript like this:

datepicker._dateInput

I get the _dateInput as null, I also tried the same as:
datepicker.get_dateInput()
but this also returns me null

Please suggest me how can i get it.

Thanks & Regards,
Manoj Dwivedi 

 
Missing User
 answered on 15 Jul 2008
0 answers
92 views
Hi,
I am using RadTabStrip and i am using sitemap datasource to create tabs.This means i have file Web.sitemap which contain hierarchy structure of tabs. Now depends on the user's roles i want to remove some tabs.
now i am using following code to remove tabs.

RadTab removeTab = RadTabStrip1.FindTabByText("Application Central");
if (removeTab != null)
{
        RadTabStrip1.Tabs.Remove(removeTab);
 }

this is working fine when i am remove first level tabs but when i am removing second level tabs it will give error as 'Index was out of range'. So please help me

Thanks and Regard
Sagar
Sagar Baheti
Top achievements
Rank 1
 asked on 15 Jul 2008
0 answers
69 views
 
i am using rad scheduler control i want to create the submenu on the rad scheduler while right clicking of the appointments and i want to add new buttons in the appoinments ..
 
i didnt get any idea about this .. can you help me regarding this?
 
unni
Top achievements
Rank 1
 asked on 15 Jul 2008
1 answer
142 views
I was developing in the trial version Q3 2007 and just purchased Q1 2008. I noticed that has been tons of changes between the two and I'm stuck. In the previous version e.NodeClicked was valid but no longer exists in the new version. Could someone point me in the right direction cause I'm lost at this point.

 protected void RadTreeView1_NodeExpand(object o, RadTreeNodeEventArgs e)  
    {  
        // This fires when a + sign is clicked and the tree expands  
        switch (e.NodeClicked.Category)  
        {  
            case "Category":  
                if (PDM.GlobalVariable.NodeID == "CategoryID")  
                {  
                    AddSubCategoryNodes(e.NodeClicked);  
                }  
                AddProductNodes(e.NodeClicked);  
                break;  
            case "Product":  
                AddVariantNodes(e.NodeClicked);  
                break;  
            case "Variant":  
                AddSizeNodes(e.NodeClicked);  
                break;  
            default:  
                break;  
        }  
    }  
    private void AddSubCategoryNodes(RadTreeNode parentNode)  
    {  
        // Add to tree when SubCategories are present  
                  
        DataTable dt = GetCategoryNodeData(int.Parse(parentNode.Value));  
        foreach (DataRow row in dt.Rows)  
        {  
            RadTreeNode node = new RadTreeNode();  
 
            node.Text = (string)row[PDM.GlobalVariable.NodeName];  
            node.Value = ((int)row[PDM.GlobalVariable.NodeID]).ToString();  
            node.CssClass = "Normal";  
            node.HoveredCssClass = "Normal";  
            node.Category = "Category";  
 
            if (getChildCount("Category", (int)row[PDM.GlobalVariable.NodeID]) > 0)  
            {  
                node.ExpandMode =  TreeNodeExpandMode.ServerSideCallBack;  
            }  
 
            parentNode.Nodes.Add(node);  
        }  
          
 
    }  
    private void AddProductNodes(RadTreeNode parentNode)  
    {  
        // Add to tree when product is present  
        bool Test = false;  
        RadTreeNode addNode = new RadTreeNode();  
           
        DataTable dt = GetProductNodeData(int.Parse(parentNode.Value));  
        foreach (DataRow row in dt.Rows)  
        {  
            if (Test == false)  
            {  
                addNode.Text = "Add Product";  
                addNode.Value = "0";  
                addNode.Category = "Product";  
                addNode.CssClass = "FirstNode";  
                addNode.HoveredCssClass = "OverNode";  
                addNode.NavigateUrl = "AddProduct.aspx?CategoryID=" + parentNode.Value + "&SystemID=11";  
                addNode.Target = "Radpane8";  
                parentNode.Nodes.Add(addNode);  
                Test = true;  
            }  
             
            RadTreeNode node = new RadTreeNode();  
            node.Text = (string)row["Name"];  
              
            node.Value = ((int)row["ProductID"]).ToString();  
            nodeSystem = ((int)row["SystemID"]).ToString();  
            node.Category = "Product";  
            node.NavigateUrl = "Product.aspx?ProductID=" + node.Value + "&SystemID=" + nodeSystem;  
            node.Target = "Radpane8";  
            if (getChildCount("Product", (int)row["ProductID"]) > 0)  
            {  
                node.ExpandMode = TreeNodeExpandMode.ServerSideCallBack;  
            }  
 
            parentNode.Nodes.Add(node);  
        }  
         
 
    } 
Thanks
Atanas Korchev
Telerik team
 answered on 15 Jul 2008
1 answer
153 views
I have a problem. My project use RadControls_Q4_2006_SP2_dev.

I would like to use RadControls_for_ASP.NET_AJAX_2008_1_619 into my existing project.

I use RadTreeView and node.Attributes.Add("nodeType", "family") with RadControls_Q4_2006_SP2_dev (Client-Side Object - "Classic").

But, with RadControls_for_ASP.NET_AJAX_2008_1_619 (Client-Side Object for ASP.NET AJAX), I can't use the Attributes of the node. It doesn't work. N/A. I could see that here : http://www.telerik.com/help/aspnet-ajax/tree_overviermigrating.html

Why ? How may I to do ? Do you have an easy solution ?

Thanks in advance,

Atanas Korchev
Telerik team
 answered on 15 Jul 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?