Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
261 views
Hello,

I have replaced the Microsoft ScriptManager with the RadScriptManager in my SharePoint site's master page.  That part seems to work just fine.  However, when I try to use some of the advanced features of RadScriptManager like EnableScriptCombine and TelerikCdn, they do not seem to function. It's as if these setting are getting ignored entirely, so I was wondering if they are even designed to work in SharePoint 2010?  Or perhaps there's some additional configuration steps needed to make them work?

I have successfully used these settings in a stand-alone web site (not hosted in SharePoint) without problem, even on the same machine.  Any help you can offer would be appreciated.  We are desperately trying to use these features to reduce latency in a client's production site.

Thank you,

Chris

P.S. I am currently using Telerik AJAX controls version 2011.1.413.35
Kalina
Telerik team
 answered on 16 Nov 2012
1 answer
258 views
Hi,

Displaytext for textbox not showing once we clear the text from textbox
 
Thanks,
Nagarajan Govindarajan.
Vasil
Telerik team
 answered on 16 Nov 2012
3 answers
140 views
My loading panel not shown up when click the linkbutton.Please help Thanks.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" DefaultLoadingPanelID="RadAjaxLoadingPanel1">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="lnkDownload">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="lnkDownload" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

<telerik:GridTemplateColumn FilterControlAltText="Filter TemplateColumn column" HeaderText="Description"
                        UniqueName="TemplateColumn" SortExpression="Description">
                        <ItemTemplate>
                            <asp:Panel ID="pnlContent" runat="server">
                                <asp:LinkButton ID="lnkDownload" Text='<%# Bind("Description") %>' runat="server"
                                    OnClick="lnkDownload_Click"></asp:LinkButton>
                            </asp:Panel>
                        </ItemTemplate>
                        <ItemStyle HorizontalAlign="Left" />
                    </telerik:GridTemplateColumn>
Pavlina
Telerik team
 answered on 16 Nov 2012
1 answer
207 views
Hey,

I have a RadGrid which is filtering (using dynamic LINQ), sorting and paging server side within the NeedDataSource event and everything is working perfectly. However, one of the properties I am binding to is a lookup to another table. This is workable, so in NeedDataSource I perform my lookup and set the value e.g. Say the property is called "CategoryID". I wish to display the category name as opposed to the ID. Because of this, I have the the filter template in my grid where the user can choose from a drop down list. The query will use the value "C1" for Category1 and so on (based on different text/value attributes in the RadComboBoxItem). My query runs fine (selects from table where CategoryID = 'C1') and returns results. Unfortunately, the Grid seems to being filtering client side after the results are returned (so it eliminates results that don't equal 'C1', which is everything). I can tell it's being done client side because:

1. I can put a break point in on the server and see my results after my filtering/sorting/paging.
2. If I name the CategoryID and Caterory name the same thing, the results display as expected.
3. The Grid actually displays the number of results and the correct page numbers successfully at the bottom.

Any help is much appreciated, I'm so close!

<telerik:RadGrid ID="radGridExperienceEntry" runat="server" OnNeedDataSource="GetData">
    <GroupingSettings CaseSensitive="False" />
    <MasterTableView AutoGenerateColumns="false" DataKeyNames="Id">
        <Columns>
            <telerik:GridBoundColumn DataField="Category" UniqueName="Category" HeaderText="Category Type">
                <FilterTemplate>
                    <telerik:RadComboBox ID="RadComboBoxCategory" Height="100px" AppendDataBoundItems="true" SelectedValue='<%# ((GridItem)Container).OwnerTableView.GetColumn("Category").CurrentFilterValue %>'
                        runat="server" OnClientSelectedIndexChanged="IndexChanged">
                        <Items>
                            <telerik:RadComboBoxItem Text="All" />
                            <telerik:RadComboBoxItem Text="Category1" Value="C1" />
                            <telerik:RadComboBoxItem Text="Category2" Value="C2" />
                        </Items>
                    </telerik:RadComboBox>
                    <telerik:RadScriptBlock ID="RadScriptBlock1" runat="server">
                        <script type="text/javascript">
                            function IndexChanged(sender, args) {
                                var tableView = $find("<%# ((GridItem)Container).OwnerTableView.ClientID %>");
                                tableView.filter("Category", args.get_item().get_value(), "EqualTo");
                            }
                        </script>
                    </telerik:RadScriptBlock>
                </FilterTemplate>
            </telerik:GridBoundColumn>
        </Columns>
    </MasterTableView>
</telerik:RadGrid>
Antonio Stoilkov
Telerik team
 answered on 16 Nov 2012
5 answers
100 views
I am trying to execute "Ajaxify particular templated gridview buttons" code from the below link.

http://www.telerik.com/help/aspnet-ajax/ajax-ajaxify-particular-templated-gridview-buttons.html#seeAlsoToggle

the imagebutton works well and updated textbox. but the buttonfield(standard postback on textbox) is not getting updated.Please help.
Maria Ilieva
Telerik team
 answered on 16 Nov 2012
9 answers
676 views
Hi,

I'm using radgrids in my project and would like to change the default texts of "Page size" and "x items in x pages" since my website is in portuguese. I can't seem to figure out where I can access these texts in order to personalize them. Can anyone help please?

Thank you,
Marta
Albert
Top achievements
Rank 1
 answered on 16 Nov 2012
2 answers
938 views
Hi, I have  place RadCombo  inside RADGRID like this
<telerik:GridTemplateColumn   HeaderStyle-HorizontalAlign ="Center" UniqueName="Field" >  
                    <ItemTemplate >
                     <telerik:RadComboBox ID="dropdownfield" runat="server" 
                        EmptyMessage="Choose an instance column" HighlightTemplatedItems="true" AllowCustomText="true"
                        EnableLoadOnDemand="false" EnableVirtualScrolling="true" Filter="Contains" Visible="true" Enabled="false"
                        DropDownWidth="600px" Width="600px"  Skin="WebBlue">
                                <HeaderTemplate>
                                <table cellspacing="0" cellpadding="0">
                                    <tr>
                                          <td style="width:300px;">
                                           Column Name</td>                                    
                                    </tr>
                                </table>
                            </HeaderTemplate>
                            <ItemTemplate>
                                <table  cellspacing="0" cellpadding="0">
                                    <tr>                                        
                                            <td style="width:300px;">
                                            <%# DataBinder.Eval(Container.DataItem, "FieldName")%>
                                        </td>                                                                             
                                    </tr>
                                </table>
                            </ItemTemplate>
    </telerik:RadComboBox>

Below is my javascript to enable/disable RadComboBox 

 function EnableDisbledropdown(chkbox, index) {
         var grid = $find("<%= raggrid.ClientID %>");
        var masterTableView = grid.get_masterTableView();
        var item = masterTableView.get_dataItems()[index];     // here i'm getting specific row of that grid 
        var combo= item.findControl("dropdownfield");
      
         if (chkbox.checked) {
                 combo.enable(); /* for RadComboBox  */
        }
        else {
               combo.disable(); /* for RadComboBox  */
        }

Well my scenerio is that when user check the checkbox Control of that specific row , that corresponding RadComboBox has to be get enabled.
When i run the code i got this following error msg:-
"Object doesn't support this property or method 'enable'

Can someone please  show me how to achieved that functionality ?




Shinu
Top achievements
Rank 2
 answered on 16 Nov 2012
1 answer
140 views
Hi,
     How can I hide the add new button of the child items in the radtreelist with two levels of hierarchy. thanks in advance
Savyo
Princy
Top achievements
Rank 2
 answered on 16 Nov 2012
6 answers
246 views
Dear TELERIK,

I'm using custom user control as AdvancedEditTemplate in RadScheduler.

Obviously, such a user control has COMMIT and CANCEL buttons.

The sample which I found in your sample library suggested making both these buttons as server side buttons, with different command names.

But as it often the case, CANCEL button in my application must do nothing but close the "popup" window, with no postback.

Is it possible to set CANCEL button in this way?

Many thanks!

- Stepan.
Plamen
Telerik team
 answered on 16 Nov 2012
4 answers
112 views
Hi,

I am very new to using Telerik tools, I have just about got a grasp on EF, UnitOfWork and repository pattern which was further complicated by the fact I using Devart's dotConnect for Oracle.

What I would like to know is, based on the fact I am working with Oracle and have abstracted this issue in to a repository pattern, how can I work with my repository pattern methods and RadControls.

Perhaps we could start with a very basic populate a listbox?

I have a method that returns an Enumerable List:

public IEnumerable GetNodesByParent(string Jid)
{
    UnitOfWork unitofwork = new UnitOfWork();
    return (from r in unitofwork.PsldwRepository.Get()
            where r.RELRELAT01A == Jid
            select r.PDTCODEA).ToList();
}

I then have a standard telerik web form and have dropped a listbox object on to it. Please can you tell me how I go about using the method above, which is in my Project.BL namespace, to populate the list box?

Many thanks,

Andy

Peter Filipov
Telerik team
 answered on 16 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?