Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
177 views
Hi forum!

I'm trying to make a 3 division panelbar for the purpose os recreating a simple webmail. The first division is for the user write the message and choose the destinations, the second division is for reading selected messages and the third is for showing the messages with a radgrid and the option to see between received and sent. 
In the first division i have 2 labels ("For:" and "From:"), 2 RadTextBox("From" that has enabled=false and "Message" that has type=Multyline) and 1 RadComboBox(that serves as a "For" selector). I have set their position with property style ( using top left width and height) and i did so with percentage values and pixel values and neither got right. For position i have tried them all and nothing thought position relative putted these items inside the radpanel.
Where i have the items in inside  the respective telerik:raspanelitem then inside items then inside telerik:radpanelitem then inside itemtemplate ( as seen in this demo -> telerik demo of nested controls inside radpanelbar) then inside a div (i also tried without the div).
My RadPanelBar is inside a div witch width and height are static in pixel values, below follows the code of mypanelbar and his superior container
<div style="border-style:inset; width:1093px; height:856px; left:50%; top:130px; margin-left:-546px; position:absolute">
            <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Height="100%" 
                Skin="Simple" Width="100%" style="position:absolute;">
                <Items>
                    <telerik:RadPanelItem runat="server" Text="Escrever Mensagem" 
                        ChildGroupHeight="282px" Expanded="True">
                        <Items>
                            <telerik:RadPanelItem Value="escrever" runat="server">
                                <ItemTemplate>
                                <div style="position:relative">
                                    <telerik:RadTextBox ID="RadTextBox1" runat="server" 
                                        style="z-index: 1; left: 50%; top: 1%; position: relative;" 
                                        Height="277px" TextMode="MultiLine" Width="50%">
                                        <PasswordStrengthSettings ShowIndicator="False" CalculationWeightings="50;15;15;20" PreferredPasswordLength="10" MinimumNumericCharacters="2" RequiresUpperAndLowerCaseCharacters="True" MinimumLowerCaseCharacters="2" MinimumUpperCaseCharacters="2" MinimumSymbolCharacters="2" OnClientPasswordStrengthCalculating="" TextStrengthDescriptions="Very Weak;Weak;Medium;Strong;Very Strong" TextStrengthDescriptionStyles="riStrengthBarL0;riStrengthBarL1;riStrengthBarL2;riStrengthBarL3;riStrengthBarL4;riStrengthBarL5;" IndicatorElementBaseStyle="riStrengthBar" IndicatorElementID=""></PasswordStrengthSettings>
                                    </telerik:RadTextBox>
                                    <asp:Label ID="Label2" runat="server" Text="DE:" 
                                        style="z-index: 1; left: 90%; top: 10%; position: relative"></asp:Label>
                                    <asp:Label ID="Label3" runat="server" Text="PARA:" 
                                        style="z-index: 1; left: 90%; top: 20%; position: relative"></asp:Label>
                                    <telerik:RadTextBox ID="RadTextBox2" runat="server" Width="20%"
                                        style="z-index: 1; left: 80%; top: 10%; position: relative">
                                        <PasswordStrengthSettings ShowIndicator="False" CalculationWeightings="50;15;15;20" PreferredPasswordLength="10" MinimumNumericCharacters="2" RequiresUpperAndLowerCaseCharacters="True" MinimumLowerCaseCharacters="2" MinimumUpperCaseCharacters="2" MinimumSymbolCharacters="2" OnClientPasswordStrengthCalculating="" TextStrengthDescriptions="Very Weak;Weak;Medium;Strong;Very Strong" TextStrengthDescriptionStyles="riStrengthBarL0;riStrengthBarL1;riStrengthBarL2;riStrengthBarL3;riStrengthBarL4;riStrengthBarL5;" IndicatorElementBaseStyle="riStrengthBar" IndicatorElementID=""></PasswordStrengthSettings>
                                    </telerik:RadTextBox>
                                    <telerik:RadComboBox ID="RadComboBox1" runat="server" Width="20%"
                                        style="z-index: 1; left: 80%; top: 20%; position: relative">
                                    </telerik:RadComboBox>
                                    <telerik:RadListBox ID="RadListBox1" runat="server" AllowDelete="True"
                                        style="left: 90%; top: 30%; position: relative; height: 69%; width: 30%;">
                                        <ButtonSettings TransferButtons="All"></ButtonSettings>
                                        <Items>
                                            <telerik:RadListBoxItem runat="server" />
                                        </Items>
                                        <Localization Delete="Remover" />
                                    </telerik:RadListBox>
                                 </div>
                                </ItemTemplate>
                            </telerik:RadPanelItem>
                        </Items>            
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem runat="server" Text="Ler Mensagem">
                        <Items>
                            <telerik:RadPanelItem Value="ler" runat="server">
                                <ItemTemplate>
                                      
                                </ItemTemplate>
                            </telerik:RadPanelItem>
                        </Items>        
                    </telerik:RadPanelItem>
                    <telerik:RadPanelItem runat="server" Text="Lista de Mensagens" Selected="True" Expanded="True">
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelBar>
                                  
        </div>
FEST
Top achievements
Rank 1
 answered on 29 Jul 2011
2 answers
120 views
When I bring up the advanced edit/insert form the times range from 8am to 5pm, but my scheduler control's WorkDayStartTime and WorkDayEndTime as set to 5am and 7pm.  How do I get the advanced form to use the same time ranges as my WorkDay time range?
Plamen
Telerik team
 answered on 29 Jul 2011
3 answers
152 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
111 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
110 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
60 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
122 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
233 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
122 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
230 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?