Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
169 views
Hi Telerik,
    We are using telerik rad editor 5.6.1.0 licensed version. We are facing issues when we add content in the design tab and when try to apply some of the bullet classes from the Apply CSS Drop down.We are facing issues with all the bullet classes and numbered classes for example like ms-rteCustom-Squarebulletlist and also same problem comes with  our custom bullet classes as well.
In the edit page when we try to apply any of the bulleted classes or numbered classes it waits for a long time but no styles get applied.From the telerik support blogs we found that some of the parent CSS may get override with telerik classes, so we have removed parent CSS still we are facing the same issue.I have attached some of the ScreenShots for more clarifications.

Seeking your reply ASAP.Thanks In advance.



With Regards,
Velu Soubramanien
Stanimir
Telerik team
 answered on 15 Feb 2011
6 answers
358 views
Have allowpaging true, just added some command buttons in the layout template. Problem is, when I click a bottom button, Next for example, the page scrolls back down to bottom where the button is clicked. It's in a dnn module so not sure if that has anything to do with it. On a standalone site I don't have this issue with a similar radlistview:

Any ideas how to force it to scroll to the top of the page? javascript window.scrollTo(0, 0); doesn't even do it.

How do you do the Format Code Block snippet anyway?

<div style="float: right; margin-left: 30%;">
                   <asp:Button runat="server" ID="Button1" CommandName="Page" CommandArgument="First"
                       Text="First" Enabled="<%#Container.CurrentPageIndex > 0 %>" />
                   <asp:Button runat="server" ID="Button2" CommandName="Page" CommandArgument="Prev"
                       Text="Prev" Enabled="<%#Container.CurrentPageIndex > 0 %>" />
                   <span style="vertical-align: top; position: relative; top: 4px">Page
                       <%#Container.CurrentPageIndex + 1 %>
                       of
                       <%#Container.PageCount %></span>
                   <asp:Button runat="server" ID="Button3" CommandName="Page" CommandArgument="Next"
                       Text="Next" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
                   <asp:Button runat="server" ID="Button4" CommandName="Page" CommandArgument="Last"
                       Text="Last" Enabled="<%#Container.CurrentPageIndex + 1 < Container.PageCount %>" />
               </div>

Pavlina
Telerik team
 answered on 15 Feb 2011
1 answer
167 views
Hi,

In my Rad Grid,for editing & deleting i am using GridEditCommandColumn,GridButtonColumn. I need to set these 2 columns enabled=false after binding data to RadGrid.

Here is my code :
<telerik:GridEditCommandColumn ButtonType="ImageButton" 
                                 HeaderStyle-HorizontalAlign="Left" HeaderText="Edit" 
                                 ItemStyle-HorizontalAlign="Left">
                                 <HeaderStyle HorizontalAlign="Left" />
                                 <ItemStyle HorizontalAlign="Left" />
</telerik:GridEditCommandColumn>
  
<telerik:GridButtonColumn ButtonType="ImageButton" CommandName="Delete" 
                                 ConfirmDialogHeight="100px" ConfirmDialogType="RadWindow" HeaderText="Delete"
                                 ConfirmDialogWidth="220px" 
                                 ConfirmText="Are you sure you want to delete this Indent Item?" ConfirmTitle="Delete" 
                                 HeaderStyle-HorizontalAlign="Left" HeaderStyle-VerticalAlign="NotSet" 
                                 ItemStyle-HorizontalAlign="Left">
                                 <HeaderStyle HorizontalAlign="Left" />
                                 <ItemStyle HorizontalAlign="Left" />
</telerik:GridButtonColumn>
 
How to achieve this requirement.Please help me...

Thanks in advance...
Shinu
Top achievements
Rank 2
 answered on 15 Feb 2011
1 answer
80 views
e.Appointment.ToolTip = e.Appointment.Description;

The above is the current tooltip info included in DataBound the event of my scheduler.  Very basic.

Question:  With a RadToolTipManager already included in the sitewide masterpage what's the easiest approach to customize only the tooltips for the appointments in the scheduler?  We use the RadToolTipManager sitewide for all tooltips.  I've looked at the tooltip scheduler example: http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx but this doesn't take into account my scenario and was wondering if there is an alternate way which would not be so time consuming.

Thanks in advance!
TR
Svetlina Anati
Telerik team
 answered on 15 Feb 2011
1 answer
337 views
Hey there :)

I'm using Rad Editor 5.2.0.0 with Sharepoint... In some Browser (e.g. IE7) and just on some Sites, the Buttons for the different Design modes are "invisible" but there. If I for example mark the place on the site and press right mouse button and select sth from the context menu, I can see the buttons and also the text along. I don't know how to start looking for any solution and hours of googleing haven't helped. Here are some additional Screenshots:



edit: just found out that the buttons appear when I resize the editor (On Resize, the content of the editor is hidden and the buttons are shown, but when I stop resizing, its exactly vice versa)
Stanimir
Telerik team
 answered on 15 Feb 2011
4 answers
146 views
I have a RadGrid embedded in a RadAjaxPanel that gets loaded with data based on an ajaxrequest call to the RadAjaxPanel.

Data is loaded based on a user defined query.

The first time the query fires, the data comes back fine. The second time and every attempt onwards the loading panel remains and the data is not displayed. I only have this issue when testing with IIS. Running the solution from the localhost with VS 2008 does not give me this problem.

Please see the attached image for a sense of the problem.

It does not seem to be a loadingpanel problem, but purely an ajaxrequest problem. Without the loading panel the second request just does not get answered it seems by the server.

cheers,

Marc.
Iana Tsolova
Telerik team
 answered on 15 Feb 2011
1 answer
115 views
Hi,
Here i am sending you my requirement of grouping combobox and vaildation , I want combobox grouping !!!! with client validation when button clicks it should raise error that combox emprty...!!!! please help me on this !!!!


<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Resource.aspx.cs" Inherits="VaildationControls.Resource" %>


<!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>
    <style type="text/css">
        .style1
        {
            width: 601px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server">
        </telerik:RadScriptManager>
        
        <asp:Panel runat="server" ID="p1" BorderStyle="Solid" BorderWidth="2" BorderColor="#3333FF" GroupingText="Personal Details :">
            <table>
                <tr>
                    <td class="style1">
                        Use Name :
                        <telerik:RadTextBox ID="UserText" runat="server" MaxLength="10" TabIndex="1">
                        </telerik:RadTextBox>
                        <asp:RequiredFieldValidator runat="server" ID="ContentVali1" ControlToValidate="UserText"
                            ErrorMessage="Choose User Name " ForeColor="Red">
                        </asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        First Name :
                        <telerik:RadTextBox ID="FnameText" runat="server" TabIndex="2">
                        </telerik:RadTextBox>
                        <asp:RequiredFieldValidator ID="ContentVali2" ControlToValidate="FnameText" runat="server"
                            ErrorMessage="Enter First Name" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Midle Name :
                        <telerik:RadTextBox ID="RadTextBox3" runat="server" TabIndex="3">
                        </telerik:RadTextBox>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Last Name :
                        <telerik:RadTextBox ID="LnameText" runat="server" TabIndex="4">
                        </telerik:RadTextBox>
                        <asp:RequiredFieldValidator ID="ContentVali3" ControlToValidate="LnameText" runat="server"
                            ErrorMessage="Enter Last Name" ForeColor="Red"></asp:RequiredFieldValidator>
                    </td>
                </tr>
                <tr>
                    <td class="style1">
                        Blood Group:
                        <telerik:RadComboBox ID="BloodGrpCombo" runat="server" TabIndex="5" AllowCustomText="true"
                            >
                            <Items>
                                <telerik:RadComboBoxItem runat="server" Text="-Select-" />
                                <telerik:RadComboBoxItem runat="server" Text="A+" Value="RadComboBoxItem1"  />
                                <telerik:RadComboBoxItem runat="server" Text="A-" Value="RadComboBoxItem2" />
                                <telerik:RadComboBoxItem runat="server" Text="B+" Value="RadComboBoxItem3" />
                                <telerik:RadComboBoxItem runat="server" Text="B-" Value="RadComboBoxItem4" />
                                <telerik:RadComboBoxItem runat="server" Text="O+" Value="RadComboBoxItem5" />
                                <telerik:RadComboBoxItem runat="server" Text="O-" Value="RadComboBoxItem6" />
                                <telerik:RadComboBoxItem runat="server" Text="Ab+" Value="RadComboBoxItem7" />
                                <telerik:RadComboBoxItem runat="server" Text="AB-" Value="RadComboBoxItem8" />
                            </Items>
                        </telerik:RadComboBox>
                      </td>
               </tr>
                       
                                   <tr>
                    <td class="style1">
                        Date Of Birth :
                        <telerik:RadComboBox ID="RadComboBox2" MarkFirstMatch="True" EmptyMessage=""
           AllowCustomText="False" runat="server"
           AutoPostBack="true" EnableAjaxSkinRendering="false" EnableEmbeddedSkins="true"
           EnableEmbeddedScripts="true" TabIndex="5" >
                            
                            <Items>
                            <telerik:RadComboBoxItem runat="server" Text="Month"  />
                                <telerik:RadComboBoxItem runat="server" Text="January" Value="RadComboBoxItem1" />
                                <telerik:RadComboBoxItem runat="server" Text="February" Value="RadComboBoxItem2" />
                                <telerik:RadComboBoxItem runat="server" Text="March" Value="RadComboBoxItem3" />
                                <telerik:RadComboBoxItem runat="server" Text="April" Value="RadComboBoxItem4" />
                                <telerik:RadComboBoxItem runat="server" Text="May" Value="RadComboBoxItem5" />
                                <telerik:RadComboBoxItem runat="server" Text="June" Value="RadComboBoxItem6" />
                                <telerik:RadComboBoxItem runat="server" Text="July" Value="RadComboBoxItem7" />
                                <telerik:RadComboBoxItem runat="server" Text="August" Value="RadComboBoxItem8" />
                            </Items>
                        </telerik:RadComboBox>
                        <telerik:RadComboBox ID="RadComboBox1" runat="server" AllowCustomText="false" 
                            TabIndex="5">
                            <Items>
                            <telerik:RadComboBoxItem runat="server" Text="Date"  />
                                <telerik:RadComboBoxItem runat="server" Text="1" Value="RadComboBoxItem1" />
                                <telerik:RadComboBoxItem runat="server" Text="2" Value="RadComboBoxItem2" />
                                <telerik:RadComboBoxItem runat="server" Text="3" Value="RadComboBoxItem3" />
                                <telerik:RadComboBoxItem runat="server" Text="4" Value="RadComboBoxItem4" />
                                <telerik:RadComboBoxItem runat="server" Text="5" Value="RadComboBoxItem5" />
                                <telerik:RadComboBoxItem runat="server" Text="6" Value="RadComboBoxItem6" />
                                <telerik:RadComboBoxItem runat="server" Text="7" Value="RadComboBoxItem7" />
                                <telerik:RadComboBoxItem runat="server" Text="8" Value="RadComboBoxItem8" />
                            </Items>
                        </telerik:RadComboBox>
                        <telerik:RadComboBox ID="RadComboBox3" runat="server" AllowCustomText="False"
                            TabIndex="5">
                            <Items>
                            <telerik:RadComboBoxItem runat="server" Text="Year"/>
                                <telerik:RadComboBoxItem runat="server" Text="2000" Value="RadComboBoxItem1" />
                                <telerik:RadComboBoxItem runat="server" Text="1999" Value="RadComboBoxItem2" />
                                <telerik:RadComboBoxItem runat="server" Text="1998" Value="RadComboBoxItem3" />
                                <telerik:RadComboBoxItem runat="server" Text="1997" Value="RadComboBoxItem4" />
                                <telerik:RadComboBoxItem runat="server" Text="1996" Value="RadComboBoxItem5" />
                                <telerik:RadComboBoxItem runat="server" Text="1995" Value="RadComboBoxItem6" />
                                <telerik:RadComboBoxItem runat="server" Text="1994" Value="RadComboBoxItem7" />
                                <telerik:RadComboBoxItem runat="server" Text="1993" Value="RadComboBoxItem8" />
                            </Items>
                        </telerik:RadComboBox>
                        <asp:RequiredFieldValidator ID="ContentVali4" runat="server" ControlToValidate="RadComboBox3"
                            ErrorMessage="Enter Date Of Birth" ForeColor="Red"></asp:RequiredFieldValidator>
                    
                        </td>
                        </tr>         
</table>
        </asp:Panel>

    </div>
    <p>
        <telerik:RadButton ID="RadButton1" runat="server" 
            style="z-index: 1; left: 20px; top: 358px; position: absolute" 
             CausesValidation="true" Text="Submit" onclick="RadButton1_Click">
        </telerik:RadButton>
    </p>
    </form>
</body>
</html>

Yana
Telerik team
 answered on 15 Feb 2011
1 answer
55 views
hi team,

 i want to increase the header size in month view where (sun,mon,etc) are displayed.. how to implement it??

thanks in advance..
Princy
Top achievements
Rank 2
 answered on 15 Feb 2011
3 answers
163 views
Hi,
I have some events attached on the tree view using the following code.
 function OnClientLoad(explorer, args) { 
 
        var tree = explorer.get_tree(); 
 
        tree.add_nodeEditing(OnClientTreeNodeEditing); 
        tree.add_contextMenuShowing(TreeContextMenuShowing); 
    }   

initially those event handlers are being called but after  refreshing the explorer using fileExp.refresh(); or using toolbar refresh icon those events are not being called. I have tried to reattached those event after explorer refresh but it didn't solve the problem.
thanks
Arpan
Dobromir
Telerik team
 answered on 15 Feb 2011
1 answer
181 views

I use the following code for creating RadDateTimePicker control.

<telerik:RadDateTimePicker runat="server" ID="dtDate">
  <DateInput runat="server" ID="dtDateInput" DisplayDateFormat="MM/dd/yyyy hh:mm tt">
</DateInput></telerik:RadDateTimePicker>

Within Page_Load event, I use DayRender event of Calendar object of RadDateTimePicker control.

dtDate.Calendar.DayRender += new global::Telerik.Web.UI.Calendar.DayRenderEventHandler(Calendar_DayRender);

The following event run successfully, but doesn't update control, means days that match condition still enabled.

void Calendar_DayRender(object sender, global::Telerik.Web.UI.Calendar.DayRenderEventArgs e)
{
  DateTime dtCurrentDate = e.Day.Date;
  if (dtCurrentDate.Month == 2)
    {
       e.Cell.CssClass = "rcOutOfRange";
       e.Day.IsDisabled = true;          
  }
}

Any ideas how to resolve that issue?

Shinu
Top achievements
Rank 2
 answered on 15 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?