Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
I originally started building a web app in VS 2012.  I upgraded to 2013 and continued building the app.  The app is using the latest releases of the AJAX and Reporting tools.

However, I have some issues when I run the app after I have built it in VS 2013.  I have weird errors popping up.

One example:

An aspx page with some combo boxes for the user to provide report parameters.  Once the parameters are selected, user clicks the button to show the report using a reportviewer.  

When I build the web app with VS 2013 and run it, I get this error: Sys.WebForms.PageRequestManagerServerErrorException: Value cannot be null.
Parameter name: key

However, when I build the app with VS 2012 and run it, everything works as it is supposed to.

Has anybody seen anything like this?  I'm baffled - and sad that I have to continue using VS 2012.  I'll be happy to post some code snippets if necessary.

Thanks!!

Kevin
Kevin F
Top achievements
Rank 1
 answered on 04 Apr 2014
2 answers
73 views
Hi,
            I am using Radwindow in my screen. the document page(aspx) has a long content. I have to show the radwindow on a click event of a button which is shown below. My requirement is to show the radwindow on the top of the document  (means the Scroll position of my document page should be top when Radwindow show event occured), without any flickering.

Need help as soon as possible





Thanks
Dhamodharan
Top achievements
Rank 1
 answered on 04 Apr 2014
5 answers
327 views
Hi everyone!
I have created a simple project containing a RadGrid with CheckListFilter on its columns and i would like to make two questions about some little problems related to this project: 

1 - How can I work on the checklist's window to make some simple operation like adjust its size and enable or disable the scroll? (I tried with filtermenu but it doesn't work). 

2 - Is it possible to control the properties of an element of RadListBoxItem type to be checked or unchecked in the code-behind? I tried to set its "checked" property equals to true in code-behind but it doesn1t work (I don't know if it can be due to a javascript error that is returned to me with ie9 every time I click on the icon to get the checklist: "Microsoft JScript runtime error: Object does not support property or method 'indexOf'" or to some other reason).

Thanks in advance,
Gionata.
Gionata
Top achievements
Rank 1
 answered on 04 Apr 2014
8 answers
295 views

Hi. Just got the new OrgChart. A component I have been looking forward to.
I used my userdatabase with managers as datasource and the chart was drawn :-)
But, the GroupColumnCount does not have any affect. The chart is 34000px wide, with all users on the same level on one row.
I hope this can be fixed, because I need this in a lot of scenarios.


Thanks
Espen
Gabriele
Top achievements
Rank 1
 answered on 04 Apr 2014
4 answers
169 views
When I place a RadCalendar on a page, or when the calendar opens with the RadDatePicker, the calendar width is crazily too much, like 1500 px, so you have to scroll way out wide to see the days.  Obviously, this does not work very well.  Is there some setting I am missing?

Kevin
Kevin
Top achievements
Rank 1
 answered on 04 Apr 2014
4 answers
230 views

I have a requirement to postback inside of the radgrid add new record event, What I have is a service that looks up a name, when the user picks a name I want a bunch of labels to be filled out via a postback.  can this be accomplished inside the add record event.  i also use to edit records as well but this is easy to fill.


This si my searcher that needs to post back and fill in labels on the add new record event of the radgrid.
 <EditFormSettings EditFormType="Template">
                                    <FormTemplate>
                                        <table style="width:80%;background-color:antiquewhite;border:double;margin-left:auto;margin:auto">
                                            <tr>
                                                <td>
                                                   <asp:TextBox ID="txtSearch" runat="server" Width="260px" AutoPostBack="true"></asp:TextBox>
                                                    <asp:AutoCompleteExtender ID="txtSearch_ACE" runat="server" DelimiterCharacters="" Enabled="True" ServicePath="~/iMACService.asmx" ServiceMethod="FindName"
                                                    TargetControlID="txtSearch" UseContextkey="true" MinimumPrefixLength="2" OnClientItemSelected="Selected" EnableCaching="true" CompletionInterval="1" />
                                                    <asp:TextBoxWatermarkExtender ID="txtSearch_WME" runat="server" TargetControlID="txtSearch" WatermarkText="Enter Last Name First Name" WatermarkCssClass="WaterMark" />
                                                </td>
                                            </tr>







Kevin
Top achievements
Rank 1
 answered on 04 Apr 2014
2 answers
159 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
213 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
151 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
170 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?