Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
117 views
Hi,

      I have radtreeview and radgrid in my page.
     
      My problems are:
     1. I am binding radtreeview dynamically from database, Initially after binding radtreeview expand is not working. After clicking on node   radtreeview expand working fine.

      2. When i clicking on node it's color will be changed to light blue color, how can i remove this color from node. 

below is the screen shot of my issues. Thanks in advance.


Thanks,
Nagendra.
Plamen
Telerik team
 answered on 29 Jul 2011
2 answers
91 views
Hi!! I have a issue)))  I have a grid and EditFormSettings! In EditFormSettings i have a grid too))) in second grid i have button to click on that i have i radwindow! and i want to rebind this grid) by cliking the button on radwindow)) how i can do this?help please))) 
Timyr
Top achievements
Rank 1
 answered on 29 Jul 2011
1 answer
64 views

Hello,

I have two problems using the RadComboBox control.
1. I'm using the radgrid control that handles the insert, update and delete operations (using user control).
The user control has a radcombobox control that Displays two columns: color and value.

In normal situation where no validation controls are exist in the user control, the radComboBox control displays as it should be (Please view the attached screenshot).
If I add validation group to the user control then the error occures.
Please follow the steps below in order to show you the problem.
1) Click add new record.
2) Click on the radcombobox control (The result is shown in the attached screenshot1).
3) click "Add", then the validation error messages must appear.(dont fill in the Name field)
4) Click on the radcombobox control (The result is shown in the attached screenshot1 - No color appear).

2. As you can see there is a compare validator for the radcombobox (No "Select Color" item is exist).
How can I verify that the user select one color from the list (No selection must show an error message).

Here is the usercontrol content:

<%@ Control Language="C#" AutoEventWireup="true" CodeFile="SubUserControl.ascx.cs" Inherits="IsraelOnTheMap.SecureSiteManagenment_Pages_SecureSQLServer_Ctgrs_SubUserControl" %>
 
<link rel="stylesheet" type="text/css" href="../../../../Common/Controls/RadEditor/RTLRadEditorStyle/Editor_RTL.css" />
<link rel="stylesheet" type="text/css" href="../../../Design/Style/SecureManagenmentStyle.css" />
 
<asp:Panel ID="SubPanel" runat="server" style="margin:10px;">
    <table id="Table2" cellspacing="2" cellpadding="1" width="100%" border="1" rules="none"
        style="BORDER-COLLAPSE: collapse">
        <tr id="LastVisitDateTr" align="<%$ Resources:MngResource, ContentFloat %>" runat="server">
            <td colspan="2">
                <asp:Panel ID="LastModifyPanel" runat="server" HorizontalAlign="<%$ Resources:MngResource, NoContentFloat %>" Visible='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? false : true %>' Width="100%">
                    <asp:Label ID="LastModifyByTextLabel" runat="server" Visible="false" Font-Bold="true" Text="<%$ Resources:MngResource, LastModifyBy %>" ></asp:Label>
                    <asp:Label ID="LastModifyByIDLabel" runat="server" Visible="false" Text='<%#  DataBinder.Eval( Container, "DataItem.UserName" ) %>'></asp:Label>
                    <asp:Label ID="LastModifyDateTextLabel" runat="server" Font-Bold="true" Text="<%$ Resources:MngResource, LastModifyDate %>" ></asp:Label>
                    <asp:Label ID="LastModifyDateLabel" runat="server" Text='<%#  DataBinder.Eval( Container, "DataItem.LastModifyDate" ) %>'></asp:Label>
                </asp:Panel>
            </td>
        </tr>
        <tr id="DataFieldsTr" align="<%$ Resources:MngResource, ContentFloat %>" runat="server">
        <td>
            <table id="Table3" cellspacing="1" cellpadding="1" width="100%" border="0">
                <tr>
                    <td></td>
                    <td></td>
                </tr>
                <tr runat="server" Visible='<%# ((bool)DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")) ? false : true %>'>
                    <td>
                        <asp:Label ID="CtgryIDLabel" runat="server" Text="<%$ Resources:MngResource, PagesSecureSqlServerCtgrsRadGridUserControlCtgryIDLabel %>"></asp:Label>
                    </td>
                    <td>
                        <asp:Label ID="CtgryIDDataLabel" runat="server" Text='<%# DataBinder.Eval( Container, "DataItem.CtgryID" ) %>'></asp:Label>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="CtgryNameLabel" runat="server" Text="<%$ Resources:MngResource, PagesSecureSqlServerCtgrsRadGridUserControlCtgryNameLabel %>"></asp:Label>
                    </td>
                    <td>
                        <telerik:RadTextBox ID="CtgryNameDataRadTextBox" runat="server" Text='<%# DataBinder.Eval( Container, "DataItem.CtgryName" ) %>' Width="201px" ValidationGroup="CtgrsMngValidationGroup">
                        </telerik:RadTextBox>
                        <asp:RequiredFieldValidator ID="CtgryNameRequiredFieldValidator" runat="server"
                                    ControlToValidate="CtgryNameDataRadTextBox"
                                    SkinID="NormalRequiredFieldValidator"
                                    ErrorMessage="<%$ Resources:MngResource, PagesSecureSqlServerCtgrsRadGridUserControlCtgryNameRequiredFieldValidatorErrorMessage %>"
                                    ValidationGroup="CtgrsMngValidationGroup" ></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="CtgryColrLabel" runat="server" Text="<%$ Resources:MngResource, PagesSecureSqlServerCtgrsRadGridUserControlCtgryColrLabel %>"></asp:Label>
                    </td>
                    <td>
                        <asp:XmlDataSource ID="CtgrsXmlDataSource" runat="server" DataFile="~/Pages/Design/xml/Ctgrs.xml" >
                        </asp:XmlDataSource>
                        <telerik:RadComboBox ID="CtgryColrRadComboBox" runat="server" DataSourceID="CtgrsXmlDataSource"
                            DataValueField="Value" DataTextField="Text" SelectedValue='<%# DataBinder.Eval( Container, "DataItem.CtgryColr" ) %>' HighlightTemplatedItems="true"
                            AllowCustomText="true" Width="205px" style="z-index:10000;" ValidationGroup="CtgrsMngValidationGroup">
                            <ItemTemplate>
                                 <table border="0" cellpadding="0" cellspacing="0" width="100%">
                                   <tr>
                                     <td style="width:20%;">
                                         <asp:Panel ID="Panel1" BorderWidth="1px" Height="12px" Width="12px" BackColor='<%# System.Drawing.Color.FromName("#" + Eval("Value").ToString()) %>' runat="server">
                                         </asp:Panel>
                                     </td>
                                     <td style="width:80%;">
                                         <asp:Label ID="Label2" runat="server" Text='<%# "#" + Eval("Value").ToString() %>'></asp:Label>
                                     </td>
                                   </tr>
                                 </table>
                            </ItemTemplate>
                        </telerik:RadComboBox>
                        <asp:CompareValidator ID="CtgryColrRequiredFirstNameValidator" runat="server"
                                    ControlToValidate="CtgryColrRadComboBox" Type="String" Operator="NotEqual"
                                    SkinID="NormalRequiredFieldValidator" ValueToCompare=" "
                                    ErrorMessage="<%$ Resources:MngResource, PagesSecureSqlServerCtgrsRadGridUserControlCtgryColrRequiredFirstNameValidatorErrorMessage %>"
                                    ValidationGroup="CtgrsMngValidationGroup" ></asp:CompareValidator>
                    </td>
                </tr>
             </table>
           </td>
       </tr>
       <tr>
            <td id="Td1" align="<%$ Resources:MngResource, NoContentFloat %>" runat="server" colspan="2">
                <asp:button id="btnUpdate" text="<%$ Resources:GeneralTelerikResource, TelerikRadGridEditFormUpdateButtonText %>" runat="server" CommandName="Update" Visible='<%# !(DataBinder.Eval( Container, "DataItem") is Telerik.Web.UI.GridInsertionObject) %>' ValidationGroup="CtgrsMngValidationGroup"></asp:button>
                <asp:button id="btnInsert" text="<%$ Resources:GeneralTelerikResource, TelerikRadGridEditFormInsertButtonText %>" runat="server" CommandName="PerformInsert" Visible='<%# DataBinder.Eval( Container, "DataItem") is Telerik.Web.UI.GridInsertionObject %>' ValidationGroup="CtgrsMngValidationGroup"></asp:button>
                  
                <asp:button id="btnCancel" text="<%$ Resources:GeneralTelerikResource, TelerikRadGridEditFormCancelButtonText %>" runat="server" causesvalidation="False" commandname="Cancel"></asp:button>
            </td>
        </tr>
   </table>
</asp:Panel>

Please, I need your help.
It is very appreciated to send me the modified code.

Regards,
Bader

Dimitar Terziev
Telerik team
 answered on 29 Jul 2011
1 answer
39 views
I need to write in Bangali language besides the default english language inside the Radeeditor. I have a javascript function which captures the keystrokes and converts those into Bangali(Unicode) equivalent. The function takes a textarea id and transforms the keystrokes. Since radeditor uses iframe and not textarea how to achieve this?
Dobromir
Telerik team
 answered on 29 Jul 2011
1 answer
84 views
PDF documents do not auto-check-in when using the document uploader functionality with the RAD editor and SharePoint2007

Hello
 I am hoping someone can shed some light on this issue.  We are currently using the RAD Editor tool for our Intranet (Currently on SharePoint 2007), but there is one rather large issue with the document uploader functionality.  For some reason, .PDF document are not auto checking-in when uploaded with the document uploader.  All other file formats (.doc, .ppt, xls) do not have this issue.  I am trying to determine what is causing this issue and how it can be resolved.  Any help would be greatly appreciated.

Many Thanks,
Jared
Stanimir
Telerik team
 answered on 29 Jul 2011
12 answers
184 views

When using the RadFormDecorator I have problems setting the focus to the main control on a page. The problem seems to be in IE 8 because Firefox works correctly. Does anyone have a fix or a workaround?

 

Thanks

Niko
Telerik team
 answered on 29 Jul 2011
1 answer
99 views
hi in my website 80% controls Telerik Asp.Net Ajax controls
RadAjaxPanel
RadTree
RadGrid
RadTab
RadPanelBar

but if i click any server side controls its taking long time to complete operation
How to make my website faster




Shinu
Top achievements
Rank 2
 answered on 29 Jul 2011
14 answers
199 views
Hey!

I am using RadRating inside listView here is the code:

<asp:ScriptManager ID="ScriptManager" runat="server"></asp:ScriptManager>

<asp:ListView ID="lstTweets" runat="server" ItemPlaceholderID="ListViewContainer"
        OnItemDataBound="LstTweets_ItemDataBound" 
        onpagepropertieschanged="LstTweets_PagePropertiesChanged">

<ItemTemplate>
<fieldset>
<telerik:RadRating ID="rtgRank" runat="server" AutoPostBack="true" OnRate="rtgRank_Rate" />
</fieldset>
</ItemTemplate>


</asp:ListView>

When I click the event fires and everything, but sender of event has value and other attributes set to default value (0), no mather what I click. And when the event finishes, the value of RadRating isn't where I clicked.

Sincerely, Jure
Niko
Telerik team
 answered on 29 Jul 2011
2 answers
85 views

Greetings,

 

I'm currently using radEditor (Version 2011.1.519.3) to build a chat application. To obtain the desired user experience, i have been able to reproduced the two suggested approaches on this link: http://www.telerik.com/community/forums/aspnet/editor/can-you-disable-multiline-on-telerik-radeditor.aspx

 

It's everything working well, the problem is in ie6. I'm not able to make it work in ie6 because it keeps inserting a newline everytime i press the enter key.

 

Can you provide some help?

Filipe Peixinho
Top achievements
Rank 1
 answered on 29 Jul 2011
2 answers
349 views
Hello,

I have a RadTabStrip and I want to refresh a RadGrid when I change the selected tab.
My problem is that the Grid isn't in the TabStrip.

I have test this, and it doesn't work :
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="RadTabStrip1">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="RadGrid1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

Can you help me please?

Thanks.
Donatien
Top achievements
Rank 1
 answered on 29 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?