Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 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
100 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
522 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
263 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
127 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
168 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
248 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
83 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
86 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
1 answer
112 views
Hi,

I have an asp.net page that dynamically adds telerik ajax settings to a page from code behind. However, they don't appear to be working... Here's the code:-

                AjaxSetting ajaxTblSelection1 = new AjaxSetting(tblSelection1.ClientID);
                AjaxUpdatedControl aucRadGrid_1 = new AjaxUpdatedControl("RadGrid1", "RadAjaxLoadingPanel1");
                AjaxUpdatedControl aucddlInvestmentHouse_1 = new AjaxUpdatedControl("ddlInvestmentHouse_1", "RadAjaxLoadingPanel1");
                AjaxUpdatedControlsCollection aucc1 = new AjaxUpdatedControlsCollection();
                aucc1.Add(aucRadGrid_1);
                aucc1.Add(aucddlInvestmentHouse_1);
                ajaxTblSelection1.UpdatedControls.AddRange(aucc1);
                RadAjaxManager1.AjaxSettings.Add(ajaxTblSelection1);

 
If I add this code directly into the page (aspx), as follows, is works fine:- 

        <telerik:AjaxSetting AjaxControlID="tblSelection1">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="RadGrid1" LoadingPanelID="RadAjaxLoadingPanel1" />
                <telerik:AjaxUpdatedControl ControlID="ddlInvestmentHouse_1" />
                <telerik:AjaxUpdatedControl ControlID="ddlIMASector_1" />

However, I need it to work from code-behind....

Any thoughts?

Marcus.

ManniAT
Top achievements
Rank 2
 answered on 24 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?