Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
131 views
We are using the RadEditor 2009.1.623.20, and have been experiencing an interesting problem:

We have enabled the content filter 'IECleanAnchors', yet we can seem to stop the following behavior.

When a user creates a link such as:

<A class=crs_top title=Top tabIndex=0 href="#">Top</A>

The first time it is saved, it saves the way it should.  The second time the content is loaded into the RadEditor, and the mode is switched from Design to HTML it adds the current page URL to the href of the anchor.  This is highly undesirable as the content embeds the URL of the page the RadEditor is loading from and this is not where the content is going to be rendered (see below)!

<A class=crs_top title=Top tabIndex=0 href="http://localhost/Myapplication/RadEditorPage.aspx?Parameter1=something#"></A>

What can we do to ensure that when a '#' is entered as an href that it stays as just '#'?

Note: We saw the anchorpathtostrip method, but it would seem that the content filter should already be doing this.  Am I wrong?

Thanks!
Rumen
Telerik team
 answered on 09 Sep 2009
1 answer
86 views
Hi there,

Instead of having an edit link I would like the formtemplate to show up as the row has been selected. Seem like it should be simple enough. I guess I am missing the setting.

Shinu
Top achievements
Rank 2
 answered on 09 Sep 2009
1 answer
138 views
Using the example on http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/templates/defaultcs.aspx

Click to the LEFT of the arrow in Type, (in the white box area) the combo box opens

Do not move the mouse, click again, the combo box remains open, a standard HTML select list would close if it was clicked again.

I have looked and tried but I cant for the life of me work out how to get the control to close, you are forced to move again to the arrow, or out of the drop down...

Am I missing something or is there a way to get this control to work like a select list?
Shinu
Top achievements
Rank 2
 answered on 09 Sep 2009
1 answer
270 views
Hello,

Could someone point me to info on how to span columns in the RadGrid footer?  I've got summary information and labels that are too wide for one column.

Thanks,

Ken
Princy
Top achievements
Rank 2
 answered on 09 Sep 2009
2 answers
96 views
Hi

I would like to detect a key down when i press a node expand in my tree view. In this way I can decide to expand all nodes on a tree if for example the Shift key is hold down why pressing the expand.

Jeppe
Jeppe
Top achievements
Rank 1
 answered on 09 Sep 2009
7 answers
232 views
Hi,

I have a grid with auto-generated columns.  The grid is filled during run time (via a SQL query). 

I try to use Edit Form for Update/Insert.  The grid renders correctly...the Edit Form opens correctly when I click either the Update link or the Add New Record link.

I use the RadGrid1_UpdateCommand to process the update event.  I try to extract the changed value from the textbox in the edit form, but the textbox.text returns the old value and not the new value.  Hence I cannot process the update.  Same is true with the insert.

I spent hours checking postings and demo materials and couldn't find the answer.  Very frustrating and time-consuming.  Just about ready to abandon this but thought I should give me one last shot and hopefully someone will be able to offer some advise.

Below are the code snippets.  Any comments or advise will be greatly appreciated.

Thanks.

Barry
<%@ Page Language="VB" MasterPageFile="~/MasterPage.master" AutoEventWireup="false" CodeFile="EditDepartment.aspx.vb" Inherits="EditDepartment" title="Untitled Page" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">  
    &nbsp;  
      
     <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
         <AjaxSettings> 
             <telerik:AjaxSetting AjaxControlID="RadGrid1">  
                 <UpdatedControls> 
                     <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
                 </UpdatedControls> 
             </telerik:AjaxSetting> 
         </AjaxSettings> 
     </telerik:RadAjaxManager> 
          
    <asp:Panel ID="Panel2" runat="server" BorderColor="Silver" BorderStyle="solid" BorderWidth="1px" 
        Height="200px" Style="z-index: 101; left: 4px; position: relative; top: 0px" 
        Width="95%">  
        <telerik:RadTextBox ID="radTextBox2" runat="server" Style="z-index: 101; left: 1px;  
            position: absolute; top: 6px" Text="abc" Width="100px">  
        </telerik:RadTextBox> 
        <telerik:RadGrid ID="RadGrid1" runat="server"   
            GridLines="None" AutoGenerateColumns="True" AutoGenerateEditColumn = "true"   
            Skin="Office2007" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"   
            AllowAutomaticUpdates="true" ShowFooter="True" > 
           <MasterTableView CommandItemDisplay="Bottom">  
               <EditFormSettings> 
                   <EditColumn UniqueName="EditCommandColumn1">  
                   </EditColumn> 
               </EditFormSettings> 
            </MasterTableView> 
            <ClientSettings EnablePostBackOnRowClick="True">  
            </ClientSettings> 
        </telerik:RadGrid></asp:Panel> 
          
</asp:Content> 
 

 
    Protected Sub RadGrid1_UpdateCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.UpdateCommand  
 
        Dim editedItem As GridEditableItem = CType(e.Item, GridEditableItem)  
 
        Dim textbox As TextBox  
        textbox = CType(editedItem("description").Controls(0), TextBox)  
 
    End Sub 
Barry
Top achievements
Rank 1
 answered on 09 Sep 2009
10 answers
269 views
Hi,

I managed to do this: have a panel bar with a IEnumerable data source (List<Address>). I have a template defined for the panelitem and it populates just fine with the contents of each address objects in the template.

However, the panel bar items do not collapse/expand, they're fixed and all visible. I would like each item to be collapsable, so basically I would like each template to be inside another radpanelitem I figure. Any example/suggestion would be appreciated.

Thanks
Beth Krawczuk
Top achievements
Rank 1
 answered on 08 Sep 2009
2 answers
129 views
It possible to be add img tag with border="0" properties by default after add new picture in Radeditor?
Because when used we make this picture to picturelink  the browser it showing link border around picture.

Thanks Telerik Team.


Worawut Boontan
Product Manager
TBD
http://www.theiconweb.com


วรวุฒิ
Top achievements
Rank 2
 answered on 08 Sep 2009
4 answers
136 views
I have 2 radgrids and would like to expand a detailview row and populate the second grid from the id of the first grid's expanded row.

I have tried using the itemdatabound of the first grid to set the datasource of the second grid,
but the second grid never refreshes, just keeps the same data.

I have also tried calling the ajax methods from javascript, but the same problem exists.

The only way I was able to do it was from a button that was not connected to either grid.

PS I have turned viewstate off on the second grid.

Thanks,
Jed
Jedidiah Racine
Top achievements
Rank 1
 answered on 08 Sep 2009
1 answer
111 views
Im working on a bar chart where I would like the legend square positioned below the chart and the legend items rendered horizontally. Is this possible and how would I do?
Schlurk
Top achievements
Rank 2
 answered on 08 Sep 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?