Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
695 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
967 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
147 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
267 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
123 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
8 answers
398 views
I am using the new Q3 2011 bits and noticed the OnClientItemChecked event doesn't fire when I have checkboxes enabled and click the "Check All" option. Selecting/Deselecting any option underneath fires the event, but "Check All" doesn't.

Any tips on how to make that happen?
Kalina
Telerik team
 answered on 16 Nov 2012
1 answer
96 views
Hi,

I am using RadTreeList control and currently experiencing the following issue:
RadTreeList is populating correctly on the page and by default all the the nodes are collapsed.
When I click on the node1 + sign, it expands. When I click again on the same node it DOES NOT collapse.
Anyhow, if I click on node2 (node1 still expanded), node1 collapses and node2 remains collapsed.

RadTreeList is located on on of the tabs on the page.

Any advice is appreciated.

Tanya
Kostadin
Telerik team
 answered on 16 Nov 2012
3 answers
231 views
The Goal:
I would like for CTRL+V to paste a "PasteFromWordNoFontsNoSizes" action without going through the pop-up window when in a non IE browser.

The Code:
<tool name="PasteFromWordNoFontsNoSizes" shortcut="CTRL+V" />

When I test your demo product page, I notice that I am able to do the following:
  1. I can paste using CTRL+V, this doesn't require the pop-up, in all major browsers.
  2. I can paste both normal, and plain text using the built in browser options by right-click (no pop-up).
  3. If I use the action menu items in the toolbar, I am forced to use the pop-up.

I'm wondering, since I can paste normally using Chrome/Safari/FF on your demo, can we apply content stripping automatically at this level?

What I have tried:
I tried to only reference the "PasteFromWordNoFontsNoSizes" action in the contextMenu, and not in the toolbar.

<ContextMenu forElement="*">
      <tool name="PasteFromWordNoFontsNoSizes" shortcut="CTRL+V" />
</ContextMenu>

This results in the following:

  1. Chrome: I cannot paste using CTRL+V at all.
  2. FireFox: I can paste using CTRL+V, but it's treating it like a normal PASTE action, font formatting is not getting striped.
  3. IE: I can paste using CTRL+V and it works as anticipated.

Bottom line:

Is there anyway I can allow paste through CTRL+V that will strip formatting like "PasteFromWordNoFontsNoSizes" without using a pop-up to do so?

Rumen
Telerik team
 answered on 16 Nov 2012
11 answers
331 views
Hi there,

I currently have a few controls that is embedded inline in my page and it being referenced in the code behind.  I used a RadToolTip control to display the controls in a "popup" like window.  This works great, however, I've read that there is no support for a ToolTip inside a ToolTip.  Looking into it further, it was suggested that I used a RadWindow or RadDock.

A RadWindow does not work since the ContentTemplate cannot be referenced inside the parent page's code behind.

A RadDock shows up, however, is it possible to show/hide it like a popup?

Any other suggestions to implement an inline "modal popup"?

Thanks
John
Slav
Telerik team
 answered on 16 Nov 2012
1 answer
63 views
Hi,
We have an intranet application which is using Rad controls including the DatePicker. This application is hosted on SharePoint (asp.net usercontrols wrapped loaded via webparts) and standard browser is now IE8 (upgraded from IE6 - where the RadDatePicker was working fine).

On IE8, when users click on the image next to the DatePicker text box to open calendar; it results in an error

error when page is using asp.net ScriptManager on the page:

 

<P>Webpage error details</P>
<P>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; 
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; 
.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)<BR>Timestamp: Tue, 13 Nov 2012 
06:47:37 UTC</P>
<P><BR>Message: Invalid argument.<BR>Line: 179<BR>Char: 10<BR>Code: 0<BR>URI: <A 
href="http://*****/ScriptResource.axd?d=fLLEnEfYpOt4GMIbTZNyqmhk-31e3wJHybVyNYzLJv27gWqDUqa--SzYCC1OTlKNDzdpjDDRmKwqltaEyEHFzydCk7G3stc-u1jnR-wmFZKFiKJBgmJKvIJUh5FjhwyT0SbSsm6GO_1HAiYZ0VU9LAj51xk6CViN2qubb57KTvUgelnGIpUK5PxUtxWGwUYA5RKcKg2&t=5e2e7a27">http://*****/ScriptResource.axd?d=fLLEnEfYpOt4GMIbTZNyqmhk-31e3wJHybVyNYzLJv27gWqDUqa--SzYCC1OTlKNDzdpjDDRmKwqltaEyEHFzydCk7G3stc-u1jnR-wmFZKFiKJBgmJKvIJUh5FjhwyT0SbSsm6GO_1HAiYZ0VU9LAj51xk6CViN2qubb57KTvUgelnGIpUK5PxUtxWGwUYA5RKcKg2&t=5e2e7a27</A></P>

error when page is using Telerik ScriptMaanger (with EnableScriptCombine="true"):

<P> </P>
<P>Webpage error details</P>
<P>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; WOW64; 
Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; 
.NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)<BR>Timestamp: Tue, 13 Nov 2012 
06:32:08 UTC</P>
<P><BR>Message: Invalid argument.<BR>Line: 8749<BR>Char: 10<BR>Code: 0<BR>URI: 
<A 
href="http://*****/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a55ab6258-ebc5-40d7-ae7b-b95de6f72668%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.3.1109.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a62e881c6-518e-447d-b6e7-1af83cb2d164%3a16e4e7cd%3af7645509%3a24ee1bba%3af46195d3%3a58366029%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1">http://*****/Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=RadScriptManager1_TSM&compress=1&_TSM_CombinedScripts_=%3b%3bSystem.Web.Extensions%2c+Version%3d3.5.0.0%2c+Culture%3dneutral%2c+PublicKeyToken%3d31bf3856ad364e35%3aen-US%3a55ab6258-ebc5-40d7-ae7b-b95de6f72668%3aea597d4b%3ab25378d2%3bTelerik.Web.UI%2c+Version%3d2010.3.1109.35%2c+Culture%3dneutral%2c+PublicKeyToken%3d121fae78165ba3d4%3aen-US%3a62e881c6-518e-447d-b6e7-1af83cb2d164%3a16e4e7cd%3af7645509%3a24ee1bba%3af46195d3%3a58366029%3a8674cba1%3ab7778d6c%3ac08e9f8a%3aa51ee93e%3a59462f1</A></P>


Previously on IE6, there has not been any issues.
Using 2010.3.1109.35
Web.config has the usual http handlers in place (Telerik.Web.UI.DialogHandler.aspx, Telerik.Web.UI.SpellCheckHandler.axd, Telerik.Web.UI.WebResource.axd)

Maria Ilieva
Telerik team
 answered on 16 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?