Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
118 views
We are moving our application towards MVC.
MVC requires Integrated mode to work normally.

I changed all our Telerik handlers and modules in the web config like so.

<handlers>
      <add name="ChartImage.axd_*" path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
      <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" />
      <add name="Telerik.Web.UI.DialogHandler.aspx_*" path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" preCondition="integratedMode" />
      <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode" />
      <add name="Telerik.Web.UI.WebResource.axd_*" path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" preCondition="integratedMode" />
</handlers>
<modules runAllManagedModulesForAllRequests="true">
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI" preCondition="managedHandler" />
</modules>

I modified the control tag to be so (I added the HandlerUrl)
<Telerik:RadSpell ID="RadSpell1" runat="server" ButtonType="None" AllowAddCustom="false"
    Language="en-CA" HandlerUrl="~/Telerik.Web.UI.SpellCheckHandler.axd" />

In the code behind we do a little customization.
'Script file to remove js alert and confirm dialogs
RadSpell1.DialogsScriptFile = CType(Page.Master, BaseMaster).AppendVersion("~/scripts/RadSpellFIX.js")
'Style to make spellcheck buttons larger
If Request.Cookies("theme") IsNot Nothing AndAlso Request.Cookies("theme").Value = "nightmode" Then
    RadSpell1.DialogsCssFile = CType(Page.Master, BaseMaster).AppendVersion("~/style/SpellCheckPopupStyle-night.css")
Else
    RadSpell1.DialogsCssFile = CType(Page.Master, BaseMaster).AppendVersion("~/style/SpellCheckPopupStyle.css")
End If
'Replacing default spell check engine withOpenOffice one.
RadSpell1.SpellCheckProviderTypeName = GetType(Telerik.Web.UI.NHunSpellCheckProvider).AssemblyQualifiedName
 
RadSpell1.OnClientCheckFinished =
    "function(sender, args) {" & _
        "args.suppressCompleteMessage = true;" & _
        "$('<div>Spell Check completed successfully.</div>').dialog({" & _
            "autoOpen: true," & _
            "modal: true," & _
            "title: 'Spell Check complete'," & _
            "buttons: { 'OK': function () { " & _
                "$(this).dialog('close'); " & _
                String.Format("$('#{0}').click();", butPushUndoStackExternal.ClientID) & _
            "} }" & _
        "});" & _
    "}"


However I get this odd error.

Cannot read the configuration/dictionary language parameters! 
http://imgur.com/CqzNseX

I used fiddler to have a look at what we are sending and it is doing a get
Accept: text/html, application/xhtml+xml, */*
Accept-Language: en-CA
User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)
Accept-Encoding: gzip, deflate
Host: localhost
Connection: Keep-Alive
Cookie: ASP.NET_SessionId=v2hx0j0y3ukj300ckgvnpl40

I'm not sure what is going wrong here. I have breakpoints in my SpellCheck provider but they are not getting hit.

Craig
Top achievements
Rank 1
 answered on 04 Apr 2014
2 answers
183 views
Have a user control to simply contains a Tooltip that I would like loaded on my Master page.  Stepping through the code I can see it is loaded with data and if I hover over my icon it will show the tooltip however the tooltip only contains static text, not the loaded values. 

Page_help.ascx
<%@ Control Language="VB" AutoEventWireup="false" Inherits="FMS4.X.Common_Page_Help" Codebehind="Page_Help.ascx.vb" %>
 
<telerik:RadToolTip runat="server" ID="RadToolTip1" Width="400px" ShowEvent="onmouseover"
                                        RelativeTo="Element" Animation="Resize" TargetControlID="HelpImg" IsClientID="false"
                                        HideEvent="ManualClose" Position="TopRight" Overlay="True" EnableDataCaching ="True">
    <table>
        <tr><td style="text-align: center;" class="Header1"><asp:Label ID="PageTitle" runat="server"></asp:Label></td></tr>
        <tr><td style="text-align: justify;"><asp:Label ID="PageDesc" runat="server" Text="Label"></asp:Label></td></tr>
        <tr><td> </td></tr>
        <tr><td style="text-align: center;" class="Header1">Page Help</td></tr>
        <tr><td style="text-align: justify;"><asp:Label ID="PageHelp" runat="server" Text="Label"></asp:Label></td></tr>
    </table>
</telerik:RadToolTip>

Master page

<%@ Register Src="~/Common/Page_Help.ascx" TagName="PageHelp" TagPrefix="uc1" %>
 
<div style="text-align:right; width: 98%; vertical-align: middle;">
     <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" />
          <uc1:PageHelp ID="PageHelp" runat="server" />
          <asp:Image ID="HelpImg" runat="server"  ImageUrl="~/images/help-icon.png" AlternateText="Page Help" />
</div>

Kurt Kluth
Top achievements
Rank 1
 answered on 04 Apr 2014
2 answers
115 views
Hi all
I've a  page with asp.net TreeView Control, and a form that contain multiple controls(combobox, textbox, datepicker, etc).
When i select a node from the Treeview, the page bis refreshed and the datasource that's connected to the form, assign the data from the database that is related to this selected node. (by using the Where parameter)
I have an RadAysncFileUpload Control in the form, and it been populated with the data from the database after selecting a node.
I want to know if it possible to remove the image so i can upload a different one, using Client API.
I know that i need to check the checkbox(with the file name next to him) and than submit the form, but i need it without submiting the entire form.

Thank you :)
Hristo Valyavicharski
Telerik team
 answered on 04 Apr 2014
1 answer
144 views
Hi,

I have a drop down list within a RadAjaxPanel that will not databind unless the databinding event occurs on the page load event, this control as well as the other control that needs to trigger the databinding event are within two different RadAjaxUpdatePanels:

Drop down list with its update panel:
<telerik:RadAjaxLoadingPanel ID="StatisticsLoadingPanel" runat="server"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="StatisticsPanel" runat="server" LoadingPanelID="StatisticsLoadingPanel">
<table>
<tr>
<td style="width: 100px">Product Type*
</td>
<td style="width: 150px">
<telerik:RadDropDownList ID="ProductTypeRadDropDownList" runat="server" DefaultMessage="Select Product Type"
OnItemSelected="ProductTypeRadDropDownList_ItemSelected" AutoPostBack="true">
</telerik:RadDropDownList>

</td>
**
Control within its update panel that does the databinding:

<telerik:RadAjaxLoadingPanel ID="ComponentLoadingPanel" runat="server"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxPanel ID="ComponentRadAjaxPanel" runat="server" LoadingPanelID="ComponentLoadingPanel">
<table>
<tr>
<td style="width: 100px">Part Number*
</td>
<td style="width: 150px">
<telerik:RadAutoCompleteBox ID="ComponentNumberRadAutoCompleteBox" runat="server"
TextSettings-SelectionMode="Single" OnEntryAdded="ComponentNumberRadAutoCompleteBox_EntryAdded" MinFilterLength="2">
<WebServiceSettings Path="FeedbackForm.aspx" Method="LookupItem" />
</telerik:RadAutoCompleteBox>

</td>

This is the method on the code behind that does the actual work:

ComponentNumberRadAutoCompleteBox_EntryAdded(object sender, Auto...)
{
ProductTypeRadDropDownList.DataSource = DataTable A;
ProductTypeRadDropDownList.DataBind();
}

I also have on the form the RadAjaxScriptManager so if the 1st panel triggers the update the second panel is updated:

<telerik:RadAjaxLoadingPanel ID="DefaultLoadingPanel" runat="server"></telerik:RadAjaxLoadingPanel>
<telerik:RadAjaxManager ID="RadAjaxManager" runat="server" DefaultLoadingPanelID="DefaultLoadingPanel">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ComponentRadAjaxPanel">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="StatisticsPanel" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>

Any ideas as to why this is not working?

Thanks,
Germán
Shinu
Top achievements
Rank 2
 answered on 04 Apr 2014
2 answers
293 views
I don't know why all the sudden it stopped working but it was working before. I have a RadListView inside a RadWindow should be updated by a click from an outside button on the page. it's been working just fine until recently, listview won't update anymore, during debugging I did see the datasource is updated with new data, the problem is that ajax doesn't refresh the control.

And I have a RadFilter in another window, every time I click on the filter it caused a full post back, but I registered the control with rad ajax manager so it shouldn't post back. And this was working too before.

All other controls outside of the rad windows are working as expected with ajax.

Then I upgraded from 2012 version to 2014  but it didn't fix the issue. I tried on both IE9, 10 and firefox, all the same. Why in the earth that it stopped working all the sudden?
Marin Bratanov
Telerik team
 answered on 04 Apr 2014
6 answers
190 views
Greetings,

I am trying to view the list of embedded icons available with the RadButton. I am using this link...

http://demos.telerik.com/aspnet-ajax/button/examples/embeddedicons/defaultcs.aspx

It redirects back to the documentation. At the bottom of this documentation page, it shows the link, but redirects back to itself...

The full list of the classes can be found on our online demos site: Note: The CssClass are composed in the following way: [r]ad[b]utton[Iconname] == rbAdd

Can anybody direct me to the page that shows all the icons?

Thank you!

Matt
Erik
Top achievements
Rank 2
 answered on 04 Apr 2014
16 answers
645 views
I have a RadPanelBar with several dynamically generated RadPanelItems, and each of these has a HeaderTemplate applied that contains a number of controls, one of which is a texbox.

When the user clicks anywhere on the RadPanelItem header, the RadPanelItem expands (or collapses - depending on it's current state) including when the user clicks into the texbox control in the header.

What I need to do is prevent the RadPanelItem expanding or collapsing when the user clicks in any of the texboxes, but retain this functionality for the rest of the header so if the user clicks anywhere but the textbox, then the RadPanelItem will still expand or collapse.

Does anyone know how I can achieve this?

Thanks
Plamen
Telerik team
 answered on 04 Apr 2014
1 answer
60 views
Hi,

I'm running in some trouble with the Scheduler. Let's say we have created a event of 8 minutes starting from 11.47 PM based on some business requirement,
so the event would last from 11.53 PM to 12.01 AM of next day. For this scenario when i click "Next day" or select that date on calender, it throws Javascript Error "Height must be non negative. Parameter name: value".


Steps to Reproduce:

1.Create a event of 8 minutes starting from 11.53 PM
a.First Event will be 1 April 2014 11.53 PM - 2 April 2014 12.01 AM
2. Go to on calender View Click Show 24 Hours on footer.
3. Click next day icon or Select April 2 from calender.
4. Calender will remain on 1st April.
5. Javascript Error "Height must be non negative. Parameter name: value" is thrown.

Telerik Product Version : 2011 1.413.40

Attached the screen shots for your reference.

Thanks,
Bakyaraj
Nencho
Telerik team
 answered on 04 Apr 2014
1 answer
108 views
I have a .aspx page with the RadScheduler on it.  When I access this page from a tab I get the following error at random intervals.

Telerik.Web.UI.WebResource.axd Uncaught Sys.ScriptLoadFailedException: Sys.ScriptLoadFailedException contains mltiple calls to Sys.Application.notifyScriptLoaded(). Only one is allowed

This works fine from a dekstop browser, the problem only surfaces when I try to access the page from a tab.  Any ideas.
Boyan Dimitrov
Telerik team
 answered on 04 Apr 2014
1 answer
70 views
Hello everybody,

I have some kind of appearence issue with two controls : SearchBox and Menu. The searchbox is above the menu. When the dropdown of the searchbox is shown, it doesn't hide the menu. When I use other controls like button, it works. I know I can simply move away the menu but I would like to know if it is possible to hide the menu when the dropdown is shown.

Thank you very much in advance.


Alexandre
Top achievements
Rank 1
 answered on 04 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?