Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
147 views
I'm facing some strange behaviour with Radeditor in WSS 3.0.

Current testing environment:
- RadEditor MOSS 5.5.1 trial
- copied Italian resource files in App_GlobalResources
- browser is IE8
- NewLineBr set to false in ListConfigFile.xml

Here are some features I'm experimenting inconsistent behaviour with:

1. If I activate FormatBlock tool (via ListToolsFile.xml), I keep getting style names in English; anyway, if I position the cursor within some text with specific paragraph settings (for example, "Heading 1"), the paragraph style combobox display the corresponding item translated (in italian). Actually, I suspect this is a browser related problem, because I get this very same behaviour with your demo available online.

2. I'd like to replace all the available standard styles with fewer ones, giving them some internal names, yet using standard tags for them; for example, a style named "Main section" should apply html tag <h2>, while another named "Subsection" should apply tag <h3>. So I modified ListToolsFile.xml according to documentation, and I actually can get my custom items in paragraph styles listbox, and can successfully apply these styles as needed. Anyway, when cursor is within text which was assigned custom style "Main section" (ie, tag <h2>), I get the original style name in the listbox, "Titolo 2", or "heading 2" when using an english version of the browser. The same happens for text within <h3> tags, which shows "titolo 3" or "Heading 3" insted of my custom style "Subsection".

3. If the last paragraph has a custom style, and I need to add more text after it, I can't get an easy way to reset style. For example, if the last existing paragraph has been applied style "Formatted", then as I add more text after it I keep getting it withing the closing <pre> tag. I have to switch to HTML panel and move desired text outside the <pre> tags. This behaviour too can be easily reproduced in the online demo.

Are these notes correct or I've missed needed configuration steps?
If true, are there any workarounds for these behaviours?

TIA
Stanimir
Telerik team
 answered on 04 Nov 2009
1 answer
132 views
Hello,

Upon mousehouver of any appointment tool tip is displyed by default as "Subject"  , i want to remove this default tooltip, how can i do?

This means that ... When i mosue houver any appoint ment , The "Subject" as a defualt tool tip, i want to Remove / Hide this default  tool tip , how can i do? Please help me out?

REgards
Samir
Peter
Telerik team
 answered on 04 Nov 2009
1 answer
207 views

I have a panelbar with usercontrols loading in it. see code below,



<Telerik:RadPanelBar ID="RadPanelBar2" runat="server" PersistStateInCookie="true" Height="500" Width="100%" > 
 
</Telerik:RadPanelBar> 

Protected
 Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load  
RadPanelBar2.ExpandMode = PanelBarExpandMode.FullExpandedItem  
RadPanelBar2.DataFieldID = ""  
RadPanelBar2.DataFieldParentID = "ID1"  
RadPanelBar2.DataTextField = "Name"  
RadPanelBar2.DataValueField = "Text"  
RadPanelBar2.DataSource = MyDS  
RadPanelBar2.DataBind()  
If Not Page.IsPostBack Then  
    RadPanelBar2.Items(0).Expanded = True
    RadPanelBar2.Items(0).Selected = True    
End If 
If Not RadPanelBar2.SelectedItem Is Nothing Then 
    LoadUsercontrol(RadPanelBar2.SelectedItem.Text) 
End If 
End Sub 
 
Private Sub RadPanelBar2_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadPanelBarEventArgs) Handles RadPanelBar2.ItemDataBound
Dim newPanelItem As New RadPanelItem
e.Item.Items.Add(newPanelItem)
End Sub

Protected Sub LoadUsercontrol(ByVal selectedItem As String) 
 
    Dim pItem As RadPanelItem = DirectCast(RadPanelBar2.FindItemByText(selectedItem), RadPanelItem) 
 
    Dim smControl As SomeControl  
    smControl = CType(LoadControl("MyControls/SomeControl.ascx"), SomeControl)  
    smControl.MyID = pItem.Value 
    pItem.Controls.Add(smControl) 
End Sub


Problem: In the User control I have a hierarchy grid. The code above is inside content page. When I click rows (hierarchy) in the grid the panel item is expanding, but the radpanel is hiding in content page.

Even if I reduce the height to 400px no use.

How to fix this?
Paul
Telerik team
 answered on 04 Nov 2009
1 answer
108 views

Hello,

I face an issue and suspect it is related to nested controls but can't achieve to find out how to solve it;

I have a multiple nest of splitters/pane in a masterpage:

<telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%" Orientation="Horizontal" Skin="Office2007" > 
  <telerik:RadPane ID="TopPane" runat="server" Height="64" Scrolling="none" Locked="true">  
    <!-- Zone : En-tête --> 
    <div class="header"></div> 
  </telerik:RadPane> 
  <telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="Forward" Visible="true" /> 
    <telerik:RadPane ID="MainPane" runat="server" Scrolling="None" EnableEmbeddedBaseStylesheet="False" EnableEmbeddedSkins="True" Index="2" Skin="Office2007">  
      <telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Office2007" LiveResize="true">    
        <telerik:RadPane ID="LeftPane" runat="server" Width="200" MinWidth="150" MaxWidth="400">    
          <!-- Zone : Menu --> 
          <asp:SiteMapDataSource ID="SiteMapDataSource1" runat="server" ShowStartingNode="False" /> 
          <telerik:RadTreeView ID="RadTreeView1" Runat="server" Skin="Vista">  
          </telerik:RadTreeView> 
          <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionStri...></asp:SqlDataSource> 
      </telerik:RadPane>    
      <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" /> 
        <telerik:RadPane ID="RightPane" runat="server" Scrolling="None">    
          <!-- Zone : Childs --> 
          <telerik:RadSplitter ID="NestedSplitter2" runat="server" Skin="Office2007" Orientation="Horizontal">  
            <telerik:RadPane ID="DescriptionPane" runat="server" Height="96" MinHeight="96" MaxHeight="96" Scrolling="none" Locked="false">  
              <fieldset style="width:500px; margin-left:auto; margin-right:auto; margin-top:8px; padding: 8px;">  
                <legend style="font-weight:bold; padding-bottom:8px;">  
                  <asp:ContentPlaceHolder ID="DescriptionTitle" runat="server"></asp:ContentPlaceHolder> 
                </legend> 
                <table> 
                  <tr> 
                    <td style="width: 40px; text-align: center;">  
                      <asp:ContentPlaceHolder ID="DescriptionIcon" runat="server"></asp:ContentPlaceHolder> 
                    </td> 
                    <td style="text-align: left;">  
                      <asp:ContentPlaceHolder ID="DescriptionBody" runat="server"></asp:ContentPlaceHolder> 
                    </td> 
                  </tr> 
                </table> 
              </fieldset> 
            </telerik:RadPane> 
            <telerik:RadSplitBar ID="Radsplitbar1" runat="server" CollapseMode="Forward" />    
            <telerik:RadPane ID="ContentPane" runat="server" Scrolling="Y" Locked="false">  
              <asp:ContentPlaceHolder ID="Main" runat="server">  
              </asp:ContentPlaceHolder> 
            </telerik:RadPane> 
          </telerik:RadSplitter> 
        </telerik:RadPane>    
      </telerik:RadSplitter>    
    </telerik:RadPane>    
  </telerik:RadSplitter>   

But trying to mimic the Wizard TabStrip Application Scenario I face an "Object Reference not set" error on the line
Dim PlanningTab As RadTab = tabStrip.FindTabByText("Project Planning") 

of the script below:
Imports Telerik.Web.UI  
 
Partial Class Local_NewProject_Description  
  Inherits System.Web.UI.UserControl  
 
  ...  
  Private Sub GoToNextTab()  
    Dim tabStrip As RadTabStrip = Page.FindControl("RadTabStrip1")  
    Dim PlanningTab As RadTab = tabStrip.FindTabByText("Project Planning")  
    PlanningTab.Enabled = True 
... 

of the code behind of an ascx used in this aspx page:
<%@ Page Title="" Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="newproject.aspx.vb" Inherits="Local_newproject" %> 
 
<asp:Content... .../asp:Content> 
<asp:Content ID="Content4" ContentPlaceHolderID="Main" Runat="Server">  
  <telerik:RadTabStrip ID="RadTabStrip1" runat="server">  
  </telerik:RadTabStrip> 
  <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0">  
  </telerik:RadMultiPage> 
</asp:Content> 

Can somebody explain how I can reach the Tab subset and the TabStrip control of this page?
Thank you in advance,
David
Paul
Telerik team
 answered on 04 Nov 2009
1 answer
296 views
Hi Telerik Guys !

I have been using RAD FILE EXPLORER in my project so for & is working fine until I got an major task to perform. This task includes :--

I have to show two ROOTS within same/one RAD FILE EXPLORER with restricting the CONTEXT MENU options on to one of the ROOT , while to show some of the CONTEXT MENU option on to the other ROOT.

For example :-- Lets say I have two ROOTS 

    i.e. ----+ FTP MANAGEMENT

         ----+ SHARED DOCUMENTS  

Now what I want is to perform two operations from the FTP MANAGEMENT ROOT
(a.) DELETE FOLDER :- Delete folders for the FTP MANAGEMENT ROOT
(b.) MOVE FILES :- Move file for FTP MANAGEMENT to SHARED DOCUMENT

While, I do not want to perform any operations from the SHARED DOCUMENTS ROOT.

Please suggest whether I have to restrict the CONTEXT MENU for the SHARED DOCUMENT ROOT or someting else to do ?

Please help !!

Iam attaching the screen-shot of the two scenario so for , please acknowledge them.


Please help help how to proceed ?

Ajay Jamwal
 
Fiko
Telerik team
 answered on 04 Nov 2009
1 answer
89 views
I using using the server to set the RadMenuItems at run time.  When my page posts back (I am using master content) the menu items on the second level do not render any more.  The top level menu items are visible but the sub menus disappear.  Does anyone have any thoughts on why this happens?
Yana
Telerik team
 answered on 04 Nov 2009
2 answers
456 views
Hi, I need to calculate and display in the footer the total (sum) of values inserted in textboxes within a GridTemplateColumn.
I've seen that it's very easy if you have GridBoundColumn, just using Aggregate="Sum".
But how can I do this for Textbox columns?

Here is column definition code.

Thanks

<telerik:GridTemplateColumn UniqueName="InvoiceAmount" SortExpression="InvoiceAmount">   
  <ItemTemplate> 
    <asp:Label runat="server" ID="lblInvoiceAmount" Text='<%# Eval("InvoiceAmount", "{0:#.##}") %>'></asp:Label> 
  </ItemTemplate> 
  <EditItemTemplate> 
    <asp:TextBox runat="server" ID="txtInvoiceAmount" Text='<%# Bind("InvoiceAmount") %>' Width="88%" CssClass="RadTextBox"></asp:TextBox>   
    <asp:RequiredFieldValidator ID="revInvoiceAmount" runat="Server" ControlToValidate="txtInvoiceAmount" Text="*" Display="Dynamic" ErrorMessage="Attention: Invoice Amount is required!"></asp:RequiredFieldValidator> 
    <asp:CompareValidator ID="cvInvoiceAmount" runat="server" ControlToValidate="txtInvoiceAmount" Operator="DataTypeCheck" Type="Double" Text="*" Display="Dynamic"></asp:CompareValidator>    
  </EditItemTemplate>   
  <HeaderTemplate> 
    <table width="100%">  
      <tr style="width:100%">  
        <td>Invoice</td> 
      </tr> 
    </table>          
  </HeaderTemplate> 
  <HeaderStyle Width="140px" VerticalAlign="Middle" /> 
</telerik:GridTemplateColumn>     
saggiatorius
Top achievements
Rank 1
 answered on 04 Nov 2009
3 answers
169 views
Hi

I have rad grid. Inside grid i have tabstrip. I want use findcontrol method in ItemCommand event . I do like below buy its not working

my tab strip
 <NestedViewTemplate>
                    <asp:Panel runat="server" ID="InnerContainer" CssClass="viewWrap" Visible="false">
        
                      <telerik:radtabstrip ID="RadTabStrip1" runat="server" SelectedIndex="0" AutoPostBack="true" OnClientTabSelecting="OnSelecting"
                        MultiPageID="RadMultiPage1" Skin="Web20">
                        <Tabs>
                 

 GridDataItem nestedItem = (GridDataItem)e.Item;
            ViewState["CurTab"] = ((RadTabStrip)nestedItem.FindControl("RadTabStrip1")).SelectedIndex;
         

This method not working. So i try below method it also not working

 GridNestedViewItem nesteditem = (GridNestedViewItem)e.Item;
ViewState["CurTab"] = ((RadTabStrip)nestedItem.FindControl("RadTabStrip1")).SelectedIndex;

How can i find tabstrip?

krds
lakmal








Princy
Top achievements
Rank 2
 answered on 04 Nov 2009
2 answers
188 views
hi......
i m using Radmenu and Rad date picker on web form.Rad date is in first row and Rad menu is in 2nd row.but when i open the claender
popup.it open back of  rad menu.how can i  open the calender pop up front of  the Rad menu????????????
plz reply....................
Harry
Top achievements
Rank 1
 answered on 04 Nov 2009
5 answers
244 views
For the full release, I think several would love to have your example Predefined layouts changed to use "load template" instead of having 5 different listviews in a multipage.
Prefereable have radtoolbar with 5 buttons and with ajax change the loaded template....

I think this wil be a very common scenario on how the ListView will work...
Sebastian
Telerik team
 answered on 04 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?