Telerik Forums
UI for ASP.NET AJAX Forum
11 answers
253 views
Hi, I've got a combo box in an editform in a RadGrid like so-

<telerik:

RadComboBox ID="MyCombo" runat="server" EnableLoadOnDemand="true" OnItemsRequested="MyCombo_ItemsRequested" Width="160"  SelectedValue='<%# Bind("myvalue") %>'></telerik:RadComboBox>

Everything works great until I do some client side validation.  I'm not doing anything fancy, I stripped everything down so there is just one required field validator, and a validation summary control.  Once the validation messagebox comes up, the ItemsRequested event no longer fires.  Any ideas?

Efrén
Top achievements
Rank 1
 answered on 18 Jul 2008
1 answer
168 views
Hi Group!!

We are testing skilled Telerik ASP.NET components, but in Microsoft MVC preview3 environment, and we have some problems, we include a Telerik component into ViewForm and when we run (render) this Page-View then we receive the following message: "The control with ID 'RootSplitter' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.", but we have included previously to the component and into the form: "<asp:ScriptManager id="ScriptManager" runat="server" />", then we believe  that this is one MVC issue, can i use any Telerik components with MVC any manner (with limitations...)? What about availability of total compatibility?

Thanks a lot!!
Mikel Iridoi
TREBEA Software

Atanas Korchev
Telerik team
 answered on 18 Jul 2008
0 answers
86 views
Hi
I am using radmenu as contect menu.
Menu_Click is event only gets fired when I do some other event on form.

Please help

Regards
Sagi
Sagi
Top achievements
Rank 1
 asked on 18 Jul 2008
1 answer
192 views
Hello,

As per the documentation;

When scrolling is enabled (the ClientSettings.Scrolling.AllowScroll property is True) and the grid columns have static headers, table-layout is always fixed.

Once autoscroll is set the rows of the grid is always the same.  What happens is that if the cell contents wrap they are not seen properly as the row height does not expand.

Any ideas would be a great help.
Feizal

Veli
Telerik team
 answered on 18 Jul 2008
2 answers
251 views
Someone needs to ban the use of IE from the internet, but until that happens, perhaps someone could help me with a workaround for this little issue.

When working in IE in the RadEditor, all H1, H2, body text is larger in RadEditor than displayed on the page. This is confusing to my clients as the font size differs from when they input in the Editor and when it displays on the page. This problem does not exist in Firefox, everything seems to work fine there.

Here is some test code.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CSSTest.aspx.cs" Inherits="test_CSSTest" %> 
 
<%@ 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> 
        <style type="text/css">  
            .h1  
            {  
              color: #FFFFFF;  
              font-family: Arial;  
              background-color: #FF9900;  
              font-size: large;  
              font-weight: bold;  
            }  
            h1  
            {  
              color: #FFFFFF;  
              font-family: Arial;  
              background-color: #FF9900;  
              font-size: large;  
              font-weight: bold;  
            }  
            body  
            {  
                font-size:medium;  
            }  
        </style> 
</head> 
 
<body> 
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server"   
        OutputCompression="AutoDetect">  
    </telerik:RadScriptManager> 
    <div> 
    <h1>This is a header test</h1> 
    <br /> 
    <div class = "h1">This is a header test</div> 
    <br /> 
    This is just body text  
    <telerik:RadEditor ID="RadEditor1" runat="server" Skin="Default"   
        ToolProviderID="" ToolsWidth="">  
        <Content> 
            <div> 
            <h1>This is a header test</h1> 
            <br /> 
            <div class = "h1">This is a header test</div> 
            <br /> 
            This is just body text  
            </div> 
        </Content> 
    </telerik:RadEditor> 
    </div> 
    </form> 
</body> 
</html> 

You will see when you run this under IE, that the size displayed within the Editor is larger that what is displayed on the page.

Anyone know how to solve this?

Thanks
Clyde
Clyde
Top achievements
Rank 1
 answered on 18 Jul 2008
3 answers
107 views
I am using the RADGRID and grouped data.  When I export to a styled excel format it looks wonderful... however when I export it out to PDF or WORD its not all that wonderful.  In fact it is kind of ugly.  Is there any way to apply some sort of style to PDF and WORD exports from grouped data thats contained in the grid?
Something that is indented?

thanks
Kevin
Kevin
Top achievements
Rank 1
 answered on 18 Jul 2008
1 answer
155 views

I had this working in the trial version Q3 2007 and now updating to Q1 2008. I have a RadComboBox and when a user selects a different index I want a group of controls to update. I have these controls within a UpdatePanel. Here is some code:

Here is the RadComboBox code

<table cellpadding="5" cellspacing="5" style="border-right: #bfdbff thin solid; font-size: 8.5pt; border-left: #bfdbff thin solid; width: 95%; border-top: #bfdbff thin solid;  
            font-family: Verdana, Arial"> 
            <tr> 
                <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                    System :  
                </td> 
                <td style="width: 150px; text-align: left">  
                    <rad:RadComboBox ID="rcbSystem" runat="server" AutoPostBack="true" Skin="Office2007" Width="105px" OnSelectedIndexChanged="rcbSystem_SelectedIndexChanged" > 
                        <CollapseAnimation Duration="200" Type="OutQuint" /> 
                    </rad:RadComboBox> 
                      
                </td> 
                <td style="width: 100px; text-align: right; color: #15428b; font-weight: bold;">  
                &nbsp;</td> 
                <td style="width: 242px; text-align: left">  
                &nbsp;</td> 
                <td> 
                </td> 
            </tr> 
        </table> 

Here are the controls that I wnat to update

<asp:UpdatePanel ID="UpdatePanel1" runat="server">  
            <ContentTemplate> 
                <table cellpadding="5" cellspacing="5" style="border-right: #bfdbff thin solid; font-size: 8.5pt; border-left: #bfdbff thin solid; width: 95%; border-bottom: #bfdbff thin solid;  
                    font-family: Verdana, Arial"> 
                    <tr> 
                        <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                            Product ID :  
                        </td> 
                        <td style="width: 150px; text-align: left">  
                            <asp:Label ID="lblProductID" runat="server" /> 
                        </td> 
                        <td style="width: 100px; text-align: right; color: #15428b; font-weight: bold;">  
                            &nbsp;</td> 
                        <td style="width: 242px; text-align: left">  
                            &nbsp;</td> 
                        <td> 
                            <asp:ImageButton ID="imgEditProduct" runat="server" AlternateText="Edit Product" ImageUrl="~/RadControls/Grid/Skins/Edit.gif" />   
                            <asp:Label ID="Label1" runat="server" Text="Edit Product" /> 
                            <asp:Button ID="Button1" runat="server" BackColor="white" BorderStyle="None" Visible="true" OnClick="Button1_Click" /> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                            Product Name :  
                        </td> 
                        <td colspan="4" style="text-align: left">  
                            <asp:Label ID="lblProductName" runat="server" ForeColor="Red">No Information Available</asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                            Product Notes :  
                        </td> 
                        <td colspan="4" style="text-align: left">  
                            <asp:Label ID="lblNotes" runat="server"></asp:Label></td>  
                    </tr> 
                    <tr> 
                        <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                            Prescription Required :  
                        </td> 
                        <td style="width: 150px; text-align: left">  
                            <asp:Label ID="lblPrescription" runat="server"></asp:Label></td>  
                        <td style="width: 100px">  
                        </td> 
                        <td style="width: 242px">  
                        </td> 
                        <td> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td style="font-weight: bold; width: 151px; color: #15428b; text-align: right">  
                            Show In System :  
                        </td> 
                        <td style="width: 150px; text-align: left">  
                            <asp:Label ID="lblShowInSystem" runat="server"></asp:Label></td>  
                        <td style="width: 100px">  
                        </td> 
                        <td style="width: 242px">  
                        </td> 
                        <td> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                            Deleted :  
                        </td> 
                        <td style="width: 150px; text-align: left">  
                            <asp:Label ID="lblDeleted" runat="server"></asp:Label></td>  
                        <td style="width: 100px">  
                        </td> 
                        <td style="width: 242px">  
                            <asp:Label ID="lblSysID" runat="server" ForeColor="White"></asp:Label></td>  
                        <td> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                            Created On :  
                        </td> 
                        <td style="width: 150px; text-align: left">  
                            <asp:Label ID="lblCreatedOn" runat="server" /> 
                        </td> 
                        <td style="width: 100px; color: #15428b; font-weight: bold; text-align: right;">  
                            Modified On :  
                        </td> 
                        <td style="width: 242px; text-align: left">  
                            <asp:Label ID="lblModifiedOn" runat="server"></asp:Label></td>  
                        <td> 
                        </td> 
                    </tr> 
                    <tr> 
                        <td style="width: 151px; text-align: right; color: #15428b; font-weight: bold;">  
                            Created By :  
                        </td> 
                        <td style="width: 150px; text-align: left">  
                            <asp:Label ID="lblCreatedBy" runat="server" /> 
                        </td> 
                        <td style="width: 100px; color: #15428b; font-weight: bold; text-align: right;">  
                            Modified By :  
                        </td> 
                        <td style="width: 242px; text-align: left">  
                            <asp:Label ID="lblModifiedBy" runat="server" /> 
                        </td> 
                        <td> 
                        </td> 
                    </tr> 
                </table> 
            </ContentTemplate> 
        </asp:UpdatePanel> 

Here is the code behind

        protected void rcbSystem_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)  
        {  
            systemID = rcbSystem.SelectedValue;  
            lblSysID.Text = systemID;  
 
            lblProductName.Text = "No Information Available";  
            lblNotes.Text = "No Information Available";  
            lblPrescription.Text = "No Information Available";  
            lblShowInSystem.Text = "No Information Avaialble";  
            lblDeleted.Text = "No Information Available";  
            lblCreatedOn.Text = "No Information Available";  
            lblCreatedBy.Text = "No Information Available";  
            lblModifiedOn.Text = "No Information Available";  
            lblModifiedBy.Text = "No Information Available";  
 
            lblProductName.Attributes.CssStyle.Add("color", "red");  
            lblNotes.Attributes.CssStyle.Add("color", "red");  
            lblPrescription.Attributes.CssStyle.Add("color", "red");  
            lblShowInSystem.Attributes.CssStyle.Add("color", "red");  
            lblDeleted.Attributes.CssStyle.Add("color", "red");  
            lblCreatedOn.Attributes.CssStyle.Add("color", "red");  
            lblCreatedBy.Attributes.CssStyle.Add("color", "red");  
            lblModifiedOn.Attributes.CssStyle.Add("color", "red");  
            lblModifiedBy.Attributes.CssStyle.Add("color", "red");  
 
            //imgEditProduct.Visible = false;  
            imgEditSummary.Visible = false;  
            rgCategory.Visible = false;  
            imgEditDesc.Visible = false;  
            imgEditFeature.Visible = false;  
            rgIndication.Visible = false;  
            rgMedicalInjury.Visible = false;  
            imgEditSEODesc.Visible = false;  
            rgSEOKeyword.Visible = false;  
            rgBodyPart.Visible = false;  
 
            lblEditSummary.Text = "";  
            lblEditDesc.Text = "";  
            lblEditFeature.Text = "";  
            lblEditSEODesc.Text = "";  
            Label1.Text = "";  
 
            Top_Load();  
            Category_Load();  
            Summary_Load();  
            Feature_Load();  
            PDFApplication_Load();  
            Images_Load();  
            Description_Load();  
            MedicalInjury_Load();  
            Indication_Load();  
            SEODescription_Load();  
            SEOKeyword_Load();  
            Related_Load();  
            BodyPart_Load();  
            HTMLApplication_Load();  
        } 

Thanks
Veselin Vasilev
Telerik team
 answered on 18 Jul 2008
2 answers
130 views

Every time when adding a telerik control onto a page the Telerik.Charting assembly reference is inserted into web.config.
<add assembly="Telerik.Charting, Version=2.0.2.0, Culture=neutral, PublicKeyToken=D14F3DCC8E3E8763"/>

Is there a way to prevent it because we're not going to use the chart control in our project? If it's impossible now, could you fix it in the nexe release?

miksh
Top achievements
Rank 1
Iron
 answered on 18 Jul 2008
1 answer
123 views
I have been trying to get a simple example on how to bind data to the ASPP.NET Ajax TreeView Control with LINQ. Can anybody provide a little help or a test project? Thanks in advance.

Himadri
Shinu
Top achievements
Rank 2
 answered on 18 Jul 2008
1 answer
88 views
Hi,

When i use RadDateTimePicker in a template column in radgrid, borders are displayed. I am not able to change. Can you please help me in this?

Thanks

Sujith
Shinu
Top achievements
Rank 2
 answered on 18 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?