Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
179 views
I'm trying to use radeditor as simple text editor wherein I capture script code snippets for dynamic execution else where in my system.  However, when I retreive the saved code snippet and set it on the content property of the editor, the editor does not recognize the new line control characters and places the entire script on one line.

Is there a way to have the editor recognized the new line characaters (like notepad, etc)?  I've looked at the various formatting options and nothing is jumping out at me.

thanks.
mark
ManniAT
Top achievements
Rank 2
 answered on 24 Apr 2009
1 answer
88 views
I'm doing a rad grid and I'm using the footer with mode as Advanced.
I need to globalize the text that appears in the footer advanced mode.
Someone knows how can I change the text of it?

Thanks.
ManniAT
Top achievements
Rank 2
 answered on 24 Apr 2009
0 answers
107 views
Hi,
I'm using a Editor to dinamic create templates, but i need to insert inside this editor another editor. If anyone can help me.
Thanks
Ed
Ed
Top achievements
Rank 1
 asked on 24 Apr 2009
9 answers
544 views
I'm finding that if I add a RadTextBox from the code-behind, the MaxLength property doesn't seem to work correctly. It does work if only the MaxLength property is set from the back page, but if the whole control is created there and added to an asp:Panel, for example, it seems to ignore the MaxLength setting.

Am I not setting a required property?
Adam
Top achievements
Rank 1
 answered on 24 Apr 2009
5 answers
272 views
Hi,

I have divided by page into 2 sections using table and td. The first td looks like below. On click of this tree viewe 'rtv1', I want to populate another tree view of same page. Initially the rendering is coming up good but when I click on any node of 'rtv1' the width of the tree view increases which shrinks the other tree view. Also the 'wrap' is not working for the tree view. The sample code is:

<

div style="width:39%; height:100%; overflow:auto;">

<table cellspacing="0" cellpadding="0" width="100%" border="0" style="overflow:auto;">

<tr valign="top" align="left">

<td>

<div style="width:100%; height:100%; overflow:auto;">

<radT:RadTreeView ID="rtv1" runat="server" RetainScrollPosition="true" Wrap="true">

</radT:RadTreeView>

</div>

</td>

</tr>

</table>

</div>

Can you please provide help?

Thanks,
Jaimin

Jaimin
Top achievements
Rank 1
 answered on 24 Apr 2009
1 answer
130 views
Hi,
i have a problem with my ComboBox and the Formsdecorator. The combobox is a multiselect combobox with checkboxes.
Without the FormsDecorator the Combobox is not closed after selecting an item.
If i add the formsdecorator to the site the Combobox closes after an item is selected.
If i set the Property "DecoratedControls" on the decorator to "TextArea" it again works well (Combobox doesn t closes after selecting). If i set the property to "checkboxes" the combobox closes after being selected.

Maybe you have a nice idea how i can fix it? Is the a possibility to set the DecoratedControls prop to: All except checkboxes?

Thanks for help. I added an example below.
Greets

<body> 
   <form id="form1" runat="server">     
     
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">     
    </telerik:RadScriptManager>   
   
       <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" DecoratedControls="Textarea"/>  
    
        <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="200px"   
            width="300px">  
            <telerik:RadComboBox  ID="RadComboBox1" HighlightTemplatedItems="true" Runat="server" Width="205px">  
              <Items>   
                <telerik:RadComboBoxItem Value="0" Text="one" />   
                <telerik:RadComboBoxItem Value="1" Text="two" />   
                <telerik:RadComboBoxItem Value="2" Text="three" />   
                <telerik:RadComboBoxItem Value="3" Text="four" />   
              </Items>   
             <ItemTemplate>   
                <asp:CheckBox runat="server" ID="CheckBox" Text=""/>   
             </ItemTemplate> 
             </telerik:RadComboBox> 
        </telerik:RadAjaxPanel>     
    </form>    
</body> 
Simon
Telerik team
 answered on 24 Apr 2009
2 answers
179 views
If i create a grid such as below and use the header context menu to hide a column it leaves the footer with the aggregate for that column displayed but all aggregates aligned one cell right of the rest of the grid. If i re-enable the  column the footer is still aligned right of the last column in the grid. Any fix for this? I am using the 2009.01.0402.35 build. Also anyway to change context to dropdown similar to the way jquery flexigrid implements it. Users are just don't seem to get right click on web pages. Hover example 3 on this: http://www.flexigrid.info/ page to see what i am talking about.




<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="odsServiceCallReport" 
        GridLines="None" AllowPaging="True" AllowSorting="True" 
        AllowMultiRowSelection="True"  
        EnableHeaderContextMenu="True" AllowAutomaticDeletes="true" AllowAutomaticInserts="true"  
        AllowAutomaticUpdates="true"> 
        <MasterTableView AutoGenerateColumns="False" DataSourceID="odsServiceCallReport" PageSize="15" ShowFooter="true"> 
            <RowIndicatorColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </RowIndicatorColumn> 
            <ExpandCollapseColumn> 
                <HeaderStyle Width="20px"></HeaderStyle> 
            </ExpandCollapseColumn> 
            <Columns> 
                <telerik:GridBoundColumn DataField="Date" DataType="System.DateTime" HeaderText="Date" 
                    SortExpression="Date" UniqueName="Date" DataFormatString="{0:MM-dd-yyyy}"> 
                    <HeaderStyle HorizontalAlign="Center" /> 
                    <ItemStyle HorizontalAlign="Left" /> 
                </telerik:GridBoundColumn> 
                
                <telerik:GridBoundColumn DataField="Total" DataType="System.Double" HeaderText="Total" 
                    SortExpression="Total" UniqueName="Total" 
                    DataFormatString="{0:C}" Aggregate="Sum" > 
                    <HeaderStyle HorizontalAlign="Center" /> 
                    <ItemStyle HorizontalAlign="Right" /> 
                    <FooterStyle HorizontalAlign="Right" /> 
                </telerik:GridBoundColumn> 
            </Columns> 
        </MasterTableView> 
        <ClientSettings> 
            <Selecting AllowRowSelect="True" EnableDragToSelectRows="true" /> 
            <Resizing AllowColumnResize="true" ResizeGridOnColumnResize="true" /> 
        </ClientSettings> 
        <FilterMenu> 
            <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
        </FilterMenu> 
    </telerik:RadGrid> 

Nikolay Rusev
Telerik team
 answered on 24 Apr 2009
2 answers
260 views

 

Hi! I am knew to asp.net and telerik. I am using a grid to show a list of contents by linking it to a datasource which executes a select query. I would like to have a button on each line of the grid for each content, which when the user clicks on it, takes him to a new page where he can view the details of that specific content.

I have the following columns:

 
 

<Columns>

<rad:GridBoundColumn DataField="Title" HeaderText="Title" SortExpression="Title" UniqueName="Title">

</rad:GridBoundColumn>

<rad:GridBoundColumn DataFormatString="{0:d}" DataField="PublicationDate" DataType="System.DateTime" HeaderText="Publication Date" SortExpression="PublicationDate" UniqueName="PublicationDate">

</rad:GridBoundColumn>

<rad:GridBoundColumn DataField="Topic" DataType="System.Guid" HeaderText="Topic" SortExpression="Topic" UniqueName="Topic">
 
</rad:GridBoundColumn>
 
<rad:GridButtonColumn Text="View Details" CommandName="ViewDetails">

</rad:GridButtonColumn>

</Columns>
 
and the query that feeds the grid is:

"SELECT [Title], [PublicationDate], [Topic], [AuthorID]

FROM ([NL_LMS_BIB_contents] INNER JOIN NL_LMS_BIB_topics

ON NL_LMS_BIB_contents.TopicID= NL_LMS_BIB_topics.TopicID)

INNER JOIN NL_LMS_BIB_users

ON NL_LMS_BIB_contents.AuthorID= NL_LMS_BIB_users.UserID"

 
Can anyone please help me so that when the user clicks on the button for that content, the ContentID is passed and the user is redirected to a new page with details of that content?

Thanks a lot :)

 

 

Marta
Top achievements
Rank 1
 answered on 24 Apr 2009
1 answer
87 views
I am using the AjaxManager on a DotNetNuke Control, I am posting here in hopes that it is reviewed quicker as this is a MAJOR issues.  After upgrading to the most recent Telerik controls when I an ajax request happens all controls that are included in the UpdateControls list show the control name and other text next to them.

I did find one other post about this issue where the individual submitting the issue found that it was due to a malformed div tag.  In my case all I have in the .ascx file is two controls a drop down list box and an image button.  The image button is the control that initiates the ajax request and the combo box is the only control in the updatecontrols list.

After the ajax call I see the following string right before the combo box control:
1609|updatePanel|dnn_ctr841_ChassisSetupView_inputManufacturerPanel

There are no other controls on the page and this control has 0 div tags in it.
Dimo
Telerik team
 answered on 24 Apr 2009
1 answer
87 views
Is there a way to disable some of the textboxes that come up when you go into edit mode ?

Example :

if the report shows 5 columns and you only have 3 columns that you want editable. How do I lock down the other 2 columns ?

Thanks for the help
Gina
Daniel
Telerik team
 answered on 24 Apr 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?