Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
146 views
When I paste text copied from MS Word using "Paste from Word" button I get nested bulleted list items despite the fact that in MS Word the list is not nested.
I can be reproduced using http://www.telerik.com/DEMOS/ASPNET/Prometheus/Editor/Examples/Default/DefaultCS.aspx demo. Just create the following document in MS Word 2007:

List:
  • item1;
  • item2;
Then copy the text and paste it using "Paste from Word" button, switch to HTML mode and inspect the content (I've manually removed extra formatting):
<p> 
  <span>List:</span> 
</p> 
<p> 
  <span>Item 1</span> 
    <p> 
      <span>Item 2</span> 
    </p> 
</p> 
 

If I paste the same text preserving Word formatting - everything is ok:
<p><span>List:</span></p>  
<p><span>item1;</span></p>  
<p><span>item2;</span></p

Did anyone experience this problem or have any ideas how to fix it?
Rumen
Telerik team
 answered on 02 Feb 2009
2 answers
97 views

I have a tab strip that is getting an odd "dot" between the rows of the tabs.  I simplified the code below.

<rad:radtabstrip id="Radtabstrip1" runat="server" Skin="Vista" SelectedIndex="0" Align="Justify"  ReorderTabsOnSelect="true"  Width="933px">  
        <Tabs> 
            <rad:RadTab id="Tab0" runat="server" Text="Summary" value="999"></rad:RadTab> 
            <rad:RadTab id="Tab2" runat="server" Text="Summary" value="999"></rad:RadTab> 
            <rad:RadTab id="Tab3" runat="server" Text="Summary" value="999"></rad:RadTab> 
            <rad:RadTab id="Tab4" runat="server" Text="Summary" value="999" IsBreak="true"></rad:RadTab> 
            <rad:RadTab id="Tab5" runat="server" Text="Summary" value="999"></rad:RadTab> 
            <rad:RadTab id="Tab6" runat="server" Text="Summary" value="999"></rad:RadTab> 
            <rad:RadTab id="Tab7" runat="server" Text="Summary" value="999"></rad:RadTab> 
            <rad:RadTab id="Tab8" runat="server" Text="Summary" value="999"></rad:RadTab> 
            <rad:RadTab id="Tab9" runat="server" Text="Summary" value="999"></rad:RadTab> 
        </Tabs> 
    </rad:radtabstrip> 

The customer for this site is for is very picky and I would like to get this resolved.

FierceMuppet
Top achievements
Rank 1
 answered on 02 Feb 2009
1 answer
122 views
I have a 3 level hierarchical grid with scrolling enabled. Each row at the 3rd level has a hyperlink with a command name Edit.When clicked it displays an inline EditForm (usercontrol)  beneath the row. These can vary in content and height depending on the row selected. I have been asked to ensure that the EditForm is fully visible when it is displayed without the need for the user to scroll the grid manually. I have looked at your example about scrolling a selected row into view, but this is not really helping me.
The HierarchyLoad Mode is set to ServerOnDemand. I have a client method when clicking the LinkButton that registers an endRequest with the Sys.WebForms.PageRequestManager - this method is where I am trying to autoscroll.

Within our design framework we have methods to register ClientIds or values for utilisation by client code. I have been trying to use this to identify the row that was clicked. Maybe I should be doing this when the user clicks the LinkButton???

I would be grateful if you could point me in the right direction

Kind regards
James
Sebastian
Telerik team
 answered on 02 Feb 2009
1 answer
55 views
Hi all,

There are 5 buttons used for alignment, left, center, right, justified and remove alignment.
Everything works except for remove alignment in firefox 2.0.

Regards,
Jonathan
Rumen
Telerik team
 answered on 02 Feb 2009
5 answers
216 views
Hey there,
I'm trying to do the following but I can't seem to make it work:
var InputID = '<%= RadDateInput1.ClientID %>'
var Input = document.getElementById(InputID); 
if(Input) { Input.style.display = ''; } 
Am I missing something??
Thanks in advance for any help.
Dimo
Telerik team
 answered on 02 Feb 2009
2 answers
159 views

I have a RadGrid that allows the user to use groups.  In the commandItemTemplate I want to hide or show an image depending on whether the user has created any groups in the grid or not. 

I tried the line in bold but it does not work as I get a parse error as follows:
Cannot create an object of type 'System.Boolean' from its string representation '<%= RadGridList.MasterTableView.GetItems(GridItemType.GroupHeader).Length > 0 ? "true" : "false" %>' for the 'Visible' property.

Any suggestions are appreciated.



<
CommandItemTemplate>

 

 

<asp:LinkButton ID="LinkButton" runat="server" CommandName="InitInsert" Visible='<%# !RadGridList.MasterTableView.IsItemInserted %>'>

 

 

<img  src='AddRecord.gif' />

 

 

<asp:Label ID="lbl1" runat="server" Text='Add New Record' /></asp:LinkButton>
<asp:LinkButton ID="lbExpandCollapse" runat="server" CommandName="ExpandCollapseAll" Visible='<%= RadGridList.MasterTableView.GetItems(GridItemType.GroupHeader).Length > 0 ? true : false %>

 

'>

 

<img src="ExpandCollapse.jpg">

 

 

</asp:LinkButton>

 

 

</CommandItemTemplate>

 

Joel R
Top achievements
Rank 1
 answered on 02 Feb 2009
1 answer
109 views
i want to use a dropdown so that if a user selects a person's name ajax opens a tooltipmanager to update a usercontrol to show the selections address. if "add new contact" is selected then a form should show with the blank form to enter address info.


Tervel
Telerik team
 answered on 02 Feb 2009
1 answer
68 views
When I made editor inside a panelbar with enabled = false, i cannot see its content. however, if enabled is set to true, i can. please advice how to achieve this without allowing user to change the content.
Rumen
Telerik team
 answered on 02 Feb 2009
3 answers
158 views
Hi,

how can I remove the blue border around the editor text area?

I mean the 5-8px blue boarder.

Thank you
Martin
Telerik team
 answered on 02 Feb 2009
1 answer
262 views
Hi,
I use a tabstrip in conjunction with a Multipage in my project.
The following is a snippet showing relevant ASPX code
TabStrip
<telerik:RadTabStrip ID="rtsMine" runat="server" MultiPageID="rmpMine" OnClientTabSelecting="OnSelecting" 
            OnTabClick="rtsMine_TabClick" Width="100%" SelectedIndex="0">  
          
        <Tabs> 
       <telerik:RadTab PageViewID="rpvMineCoreData" Text="Mine Core Data" runat="server" Value="MineCoreData">  
       </telerik:RadTab> 
       <telerik:RadTab PageViewID="rpvMineDetails" Text="Mine Details" runat="server" Value="MineDetails">  
       </telerik:RadTab> 
</Tabs> 
</telerik:RadTabStrip> 
Multipage
<telerik:RadMultiPage ID="rmpMine" runat="server" Width="100%" SelectedIndex="0">  
          
        <telerik:RadPageView ID="rpvMineCoreData" runat="server" Width="100%">  
        <table width="100%" cellspacing="3" style="border-style:outset; border-width:1px; border-color:#333333; text-align:center;" rules="all" 
            cellpadding="2">  
        <tr><td class="fieldheader">Segments</td></tr>  
        </table> 
        </telerik:RadPageView> 
            <telerik:RadPageView ID="rpvSKUDetails" runat="server" Width="100%">  
            <table width="100%" cellspacing="3" style="border-style:outset; border-width:1px; border-color:#333333; text-align:center;" rules="all" 
            cellpadding="2">  
        <tr><td class="fieldheader" colspan="2">  
            Additional Details</td></tr>  
    </telerik:RadPageView> 
</telerik:RadMultiPage> 
 

The page has a RadAjaxManager control and I have configured it so that the TabStrip has the proper UpdatedControls associated with it.
I have also implemented the code to detect the previously selected tab (as explained here 

http://www.telerik.com/help/aspnet-ajax/get-previously-selected-tab.html )and )and )and use it to update various controls and Session variables. Now, the problem is, the moment I tie the TabClick event to the TabStrip, I cannot navigate to another tab from the one that is selected. If I click on a different tab, the "Ajax submit" (for want of a better term) fires but the contents shown are that of the inital tab and not the newly selected one. I tried setting selected=True at the tab / page level instead of setting the SelectedIndex at the TabStrip/MultiPage level, but no luck.
I set the Selected=True/SelectedIndex=0 per the reply to my earlier forum post here (http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/tab-contents-are-not-displayed-on-initial-load.aspx) Please can you help me sort this out?
Thanks,
Sreejath

Paul
Telerik team
 answered on 02 Feb 2009
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?