Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
986 views
I am putting a grid inside a tooltip, and have a command button which when clicked I want to copy to contents of the grid to the clipboard. Can someone help me with the javascript needed to do this?

Thanks,
Laura
Attila Antal
Telerik team
 answered on 22 Apr 2021
2 answers
77 views

I would like to set some attributes to each group by item when binding the scheduler with appointments, filtered by some criterion.

My aim is to ultimately access this attribute via the DOM to then do further logic.

E.g.

'VB.Net
schedule.GroupBy = "FoodType"
 
'Other code...
 
Private Sub schedule_ResourceGroupByItemDataBound(sender As Object, e As EventArgs)
  Dim group = e.Item
  group.Attributes.Add("data-foodtypeid", group.Value)
End Sub
// Example case on the client
function schedule_Load(sender, args) {
  $("schedule [data-foodtypeid='1']").hide();
}

 

 

Matthew
Top achievements
Rank 1
Veteran
 answered on 22 Apr 2021
2 answers
208 views
Hello, I found some strange behaviour of RadTolBar buttons when disabled by the disable() method. The button is greyed out but still responds to clicking with focus highlight, which will stay until the control is reloaded. You can test it even on the ToolBar demo at https://demos.telerik.com/aspnet-ajax/toolbar/examples/overview/defaultcs.aspx. Just disable a button from the developer console, for example the "Send" one with $find("ctl00_ContentPlaceholder1_RadToolBar1").findItemByText("Send").disable() and then try to click it. Is this behaviour expected or is it a bug? Our customers get confused by it.
Rumen
Telerik team
 answered on 21 Apr 2021
1 answer
181 views

Hi,

I'm using RadAsyncUpload to upload images with mobile devices, such as Android.

Progress bar does not fully work. It doesn't move until upload is complate.

Best regards, Mikko

Attila Antal
Telerik team
 answered on 21 Apr 2021
16 answers
934 views
Hey Gents,

I am having a problem getting the Image Manager dialog to work. All buttons are disabled on Image Manager dialog except Refresh button works. my code below:
                                <rad:RadEditor ID="ctl_txt_Body" runat="server" Width="500px" Height="400px" SkinID="DefaultSetOfTools" 
                                    EditModes="Design, Html"
                                    <Tools> 
                                        <rad:EditorToolGroup Tag="MainToolbar"
                                            <rad:EditorTool Name="AjaxSpellCheck" /> 
                                            <rad:EditorTool Name="FindAndReplace" ShortCut="CTRL+F" /> 
                                            <rad:EditorSeparator /> 
                                            <rad:EditorTool Name="Undo" ShortCut="CTRL+Z" /> 
                                            <rad:EditorTool Name="Redo" ShortCut="CTRL+Y" /> 
                                        </rad:EditorToolGroup> 
                                        <rad:EditorToolGroup Tag="FileManagers"
                                            <rad:EditorTool Name="ImageManager" /> 
                                        </rad:EditorToolGroup> 
                                        <rad:EditorToolGroup> 
                                            <rad:EditorTool Name="Bold" /> 
                                            <rad:EditorTool Name="Italic" /> 
                                            <rad:EditorTool Name="Underline" /> 
                                            <rad:EditorSeparator /> 
                                            <rad:EditorTool Name="ForeColor" /> 
                                            <rad:EditorTool Name="BackColor" /> 
                                            <rad:EditorSeparator /> 
                                            <rad:EditorTool Name="FontName" /> 
                                            <rad:EditorTool Name="RealFontSize" /> 
                                        </rad:EditorToolGroup> 
                                    </Tools> 
                                    <ImageManager ViewPaths="~/Img" UploadPaths="~/Img" DeletePaths="~/Img" /> 
                                </rad:RadEditor> 


I am using this version assembly: Telerik.Web.UI.dll Product version is 2008.03.1125.35
    <handlers> 
      <add name="Telerik.Web.UI.SpellCheckHandler.axd_*" path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="Telerik.Web.UI.DialogHandler.axd_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="ScriptResource.axd_GET,HEAD" path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv2.0"/> 
      <add name="*.asmx_*" path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="integratedMode,runtimeVersionv2.0"/> 
    </handlers> 


The environment is Win 2008 + IIS 7 + .NET 3.5, Managed Pipeline Mode is Classic. I gave the write permission to Network Service. It doesn't work for me when tried many post about image manager disabled in the forums. Could you tell me what I am doing wrong please?

Looking forward to hear from you soon.

Thanks,
Harry

Rumen
Telerik team
 answered on 20 Apr 2021
13 answers
2.1K+ views
Hi all!
I would like to make one filter column of RadGrid disable in order not to allow user touch on it.
Could anyone help me?

Thanks!

Andy.
Rumen
Telerik team
 answered on 20 Apr 2021
1 answer
247 views

I have upgraded my project with New Telerik Version.

1.Deleted the old Telerik.web.ui,skins,designer dll and telerik.web.ui.xml(2015.3.1111.35)

2. Replaced the new version dlls (Telerik.web.ui,skins,xml,designer) in Bin folders.(2020.3.915.45) as we have upgraded the framework to 4.8.

My doubt is how to update RadControls like radeditor.Net2,Radspellchecker,Radwindow,RadAjax etc which is already existing in my project?

Do we need to change any namespaces for the RADControls after Telerik Upgrade ?

or Only Replacing Telerik.web.ui,skins dll to newer version is Fine?

Can anyone please help on this?

Rumen
Telerik team
 answered on 19 Apr 2021
1 answer
156 views

Evening,

Just started to play with this radTabStrip control.

I have 6 tabs along the top.

I have a radMultipage control right after the tabctrl.

I have a grid on the first tab and a radcalendar & grid on the 2nd tab.

When I run I see the tabs but the controls on tab 1 & 2 do not show up.

i am probably doing some thing dumb but cant see it.

 

<td id="appTabCrtlr1c" colspan="12">
                    <telerik:RadTabStrip ID="RadTabStrip1" runat="server" ReorderTabsOnSelect="True" SelectedIndex="0">
                        <Tabs>
                            <telerik:RadTab runat="server" Selected="True" Text="Root RadTab1">
                            </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Root RadTab2">
                            </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Root RadTab3">
                            </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Root RadTab4">
                            </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Root RadTab5">
                            </telerik:RadTab>
                            <telerik:RadTab runat="server" Text="Root RadTab6">
                            </telerik:RadTab>
                        </Tabs>
                    </telerik:RadTabStrip>
                    <telerik:RadMultiPage ID="RadMultiPage1" runat="server">
                        <telerik:RadPageView runat="server">
                            <telerik:RadGrid ID="rGrid1" runat="server" ToolTip="I am Grid 1">
                            </telerik:RadGrid>
                        </telerik:RadPageView>
                        <telerik:RadPageView ID="RadPageView2" runat="server">
                            <telerik:RadCalendar ID="RadCalendar1" Runat="server">
                            </telerik:RadCalendar>
                        </telerik:RadPageView>
                        <telerik:RadPageView ID="RadPageView3" runat="server">
                        </telerik:RadPageView>
                        <telerik:RadPageView ID="RadPageView4" runat="server">
                        </telerik:RadPageView>
                        <telerik:RadPageView ID="RadPageView5" runat="server">
                        </telerik:RadPageView>
                        <telerik:RadPageView ID="RadPageView6" runat="server">
                        </telerik:RadPageView>
                    </telerik:RadMultiPage>
                </td>

 

Deasun
Top achievements
Rank 3
Bronze
Bronze
Bronze
 answered on 16 Apr 2021
13 answers
878 views

I am using RadAsyncUpload as follows:

<telerik:RadAsyncUpload ID="radUpload1" runat="server" AllowedFileExtensions=".wav,mp3"
    AllowedMimeTypes="audio/wav,audio/x-wav,audio/mpeg,audio/mp3" ControlObjectsVisibility="None" MaxFileInputsCount="1" OverwriteExistingFiles="True"
    ReadOnlyFileInputs="True" Width="400px" PostbackTriggers="btnUpload" OnFileUploaded="radUpload1_FileUploaded" Localization-Select="Browse"
    OnClientFileUploadFailed="OnClientFileUploadFailed" OnClientValidationFailed="OnClientValidationFailed">
</telerik:RadAsyncUpload>

When I run my website on my development server it works file. When I copy the website to my production server with the exact save configuration and upload a file, it gets "stuck" on the upload with yellow blinking graphic and the following error in the web site console:

Uncaught SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at Function.m.parseJSON (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radScriptManager1_TSM&compress=1&_TSM_CombinedScri…:3389)
    at g.callback (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radScriptManager1_TSM&compress=1&_TSM_CombinedScri…:17069)
    at XMLHttpRequest.m (Telerik.Web.UI.WebResource.axd?_TSM_HiddenField_=radScriptManager1_TSM&compress=1&_TSM_CombinedScri…:17180)

 

I have run http://login.connectmevoice.com/Telerik.Web.UI.WebResource.axd and I get a blank page so I know it's registered correctly. Any idea on what the issue can be?

Thank you.

 

 

Vessy
Telerik team
 answered on 16 Apr 2021
1 answer
143 views

there is a way to add an item by javascript, like this

radiobuttonlist.get_items().add( new Telerik.Web.UI.ButtonListItem())

 

Vessy
Telerik team
 answered on 15 Apr 2021
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
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
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?