Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
800 views
Ive uploaded my web site to a hosted environment, but when I try to add a hyperlink in the editor I get an error telling me I need to add the handlers to the web.config file.  I have already done this, so am I missing something else ?

<httpHandlers>
            <remove path="*.asmx" verb="*"/>
            <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
            <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
            <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false"/>
            <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" verb="*" validate="false"/>
            <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" verb="*" validate="false"/>
            <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false"/>
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" verb="*" validate="false"/>
        </httpHandlers>
        <httpModules>
            <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
        </httpModules>



<system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules>
            <remove name="ScriptModule"/>
            <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule, Telerik.Web.UI"/>
        </modules>
        <handlers>
            <remove name="WebServiceHandlerFactory-Integrated"/>
            <remove name="ScriptHandlerFactory"/>
            <remove name="ScriptHandlerFactoryAppServices"/>
            <remove name="ScriptResource"/>
            <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource, Telerik.Web.UI"/>
            <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI"/>
            <add name="Telerik_Web_UI_DialogHandler_aspx" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2008.3.1125.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
            <add name="Telerik_Web_UI_SpellCheckHandler_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2008.3.1125.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>
        </handlers>
    </system.webServer>
Rumen
Telerik team
 answered on 02 Nov 2009
5 answers
270 views
Hi,

I'm porting an ASP.NET application, which use Telerik controls, on Linux with Mono(_mod) and Apache2. So first, I tried to install the test application, the one on http://mono.telerik.com/, but it doesn't work. It give me the next error :

Server Error in '/' Application


Could not load file or assembly 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089' or one of its dependencies. The system cannot find the file specified.

Description: HTTP 500. Error processing request.

Stack Trace:

System.IO.FileNotFoundException: Could not load file or assembly 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089' or one of its dependencies. The system cannot find the file specified.
File name: 'System.Web.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089'
  at System.AppDomain.Load (System.String assemblyString, System.Security.Policy.Evidence assemblySecurity, Boolean refonly) [0x00000] 
  at System.AppDomain.Load (System.String assemblyString) [0x00000] 
  at (wrapper remoting-invoke-with-check) System.AppDomain:Load (string)
  at System.Reflection.Assembly.Load (System.String assemblyString) [0x00000] 
  at System.Web.Compilation.BuildManager.LoadAssembly (System.Web.Configuration.AssemblyInfo info, System.Collections.Generic.List`1 al) [0x00000] 
  at System.Web.Compilation.BuildManager.GetReferencedAssemblies () [0x00000] 
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.Web.VirtualPath virtualPath, System.CodeDom.Compiler.CompilerParameters options) [0x00000] 
  at System.Web.Compilation.AssemblyBuilder.BuildAssembly (System.CodeDom.Compiler.CompilerParameters options) [0x00000] 
  at System.Web.Compilation.AppResourcesAssemblyBuilder.BuildAssembly (System.String cultureName, System.Collections.Generic.List`1 files, System.String defaultAssemblyKey, System.CodeDom.CodeCompileUnit unit) [0x00000] 
  at System.Web.Compilation.AppResourcesAssemblyBuilder.Build (System.CodeDom.CodeCompileUnit unit) [0x00000] 
  at System.Web.Compilation.AppResourcesCompiler.CompileGlobal () [0x00000] 
  at System.Web.Compilation.AppResourcesCompiler.Compile () [0x00000] 
  at System.Web.HttpApplicationFactory.InitType (System.Web.HttpContext context) [0x00000] 


Version information: Mono Version: 2.0.50727.1433; ASP.NET Version: 2.0.50727.1433

It seems that the test application use DLLs which are not supported by Mono (System.Web.Entity is a .NET 3.5 SP1 not yet implemented by Mono). I used the Telerik test application version that we gave to me, but is there a special version for Mono? Or should I use an older version? Which doesn't use .NET 3.5 SP1 classes?

It would be great to get our application working on Linux/Unix, so I ask your help on this subject.

I use Ubuntu Linux with the last built of Mono (2.4.2.3) and Mod_Mono with Apache2.

Thank you


Daniel
Telerik team
 answered on 02 Nov 2009
2 answers
599 views
Hi ,
         I have a list page from where I open a details page. From this details page i open another rad window. Now the problem i am facing is that both these rad window have the same parent...the list page. The second rad window has to return some result to the first rad window but this is not happening. i want the list page to be the parent of first rad window and the first rad window to be the parent of second rad window. I have tried your examples and read the forums but have not found my solution. Please could you help me here.

thank you

Regards,
Ajit
Fiko
Telerik team
 answered on 02 Nov 2009
12 answers
356 views
I've been battling a height issue in Firefox 3, and just realized that the same issue also happens in the First Look sample on your site:

http://demos.telerik.com/ASPNET/Prometheus/Window/Examples/Default/DefaultCS.aspx

When the Height slider is reduced below 214px, changes are not recognized. In other words, even if I drag it down to 100px, it still remains at a height of 214.

It works fine in IE7 however.

Ross
Georgi Tunev
Telerik team
 answered on 02 Nov 2009
2 answers
149 views
Hello,

I've seen the code library on how to create a RadComboBox with multiselection and checkboxes. However, all the examples I found show the RadComboBox with multiselection via checkboxes having its items added manually in the RadComboBox definition, or by adding the items via the code-behind. Is it possible to achieve this same functionality when populating the RadComboBox via a SqlDataSource? I tried adding an ItemTemplate with the checkbox, but when I click the drop down there appears to be a list of checkboxes for the number of items returned by the datasource; however, there are no other items displayed. Where the text should be for the items, it is blank. So, I have a RadComboBox with a list of checkboxes that appear to be for no values. When I click on one of the 'blank' items, the actual item text is reflected in the RadComboBox's input field.

Please let me know if it is possible to create a RadComboBox with multi selection via checkboxes, while populating the combobox via a SqlDataSource. If so, any tips on how to achieve this would be appreciated.

Thanks,
Casey
Casey
Top achievements
Rank 1
 answered on 02 Nov 2009
1 answer
118 views
I have a web application with 250+ web (aspx) pages. This application is designed to run in a frameset on a pop-up window (don't ask me why but that is how the contractors coded it. The intent was to protect the user from themselves by removing all IE controls). Each page has a header/footer control (ascx) embedded in their html. I created a header ascx with the radMenu contained in it and all works well. I want to add a loading panel in either the header or footer control so I don't have to update every web page. The loading panel should fire each time a new page is loaded and "spin" until the pages finishes loading. Some pages have datagrids that can take some time to load and I don't want the user to think the app stopped working. The footer ascx is just a very simple control with a single label that is used to display error messages t the user.

My header ascx is as follows:
<%@ Control Language="vb" AutoEventWireup="false" CodeBehind="radSystemHeader.ascx.vb" 
    Inherits="HEW.radSystemHeader" %> 
<link rel="stylesheet" href="~/StyleSheets/SkinAddStyles.css" /> 
<telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager> 
<table cellspacing="0" cellpadding="0" width="100%" border="0">  
    <tr> 
        <td colspan="2">  
            <table cellspacing="0" cellpadding="0" width="100%" align="center" border="1">  
                <tbody> 
                    <tr> 
                        <td width="9%" bgcolor="#ffffff" valign="middle" align="center">  
                            <a href="<%=Path%><%=sLink%>">  
                                <img height="52" src="<%=Path%>images/Page/logo.jpg" width="70" border="0"></a> 
                        </td> 
                        <td valign="top" align="left">  
                            <table cellspacing="0" cellpadding="0" width="100%" border="0">  
                                <tr> 
                                    <td width="33%">  
                                        <asp:Label ID="lblServiceProvider" runat="server"></asp:Label> 
                                    </td> 
                                    <td align="center" width="33%">  
                                        <asp:Label ID="lblUser" runat="server"></asp:Label> 
                                    </td> 
                                    <td align="right" width="33%">  
                                        <asp:Label ID="lblDate" runat="server"></asp:Label> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td colspan="3">  
                                        <table width="100%">  
                                            <tr> 
                                                <td width="10%">  
                                                    &nbsp;  
                                                </td> 
                                                <td align="right" width="35%">  
                                                    <asp:Label ID="lblHeaderPatient" runat="server">Patient Name:</asp:Label> 
                                                </td> 
                                                <td width="10%">  
                                                    &nbsp;  
                                                </td> 
                                                <td align="left" width="35%">  
                                                    <asp:Label ID="lblHeaderPatientAcctNo" runat="server">Account Number:</asp:Label> 
                                                </td> 
                                                <td width="10%">  
                                                    &nbsp;  
                                                </td> 
                                            </tr> 
                                        </table> 
                                    </td> 
                                </tr> 
                                <tr> 
                                    <td valign="bottom" colspan="3">  
                                        <telerik:RadMenu ID="radMenu_1" runat="server" Width="100%" Flow="Horizontal" CollapseAnimation-Type="InQuart" > 
                                        </telerik:RadMenu> 
                                    </td> 
                                </tr> 
                            </table> 
                        </td> 
                    </tr> 
                </tbody> 
            </table> 
        </td> 
    </tr> 
</table> 
<input id="txtVisibleText" type="hidden" value="visible" name="txtVisibleText" runat="server" /> 
 

The radMenu is loaded dynamically from a datatable based on user security. The radMenu.skin and labels (ones without any text) are set dynamically as well. I have worked my way through 35 forum pages using the search "loadingpanel". I have tried the majority of examples and none work. Does anybody have any suggestions?
Sebastian
Telerik team
 answered on 02 Nov 2009
1 answer
172 views
Is it possible to add alt text to the '+', '-' and checkbox images in a treeview?

--
Stuart
Veselin Vasilev
Telerik team
 answered on 02 Nov 2009
3 answers
206 views
Hi,

I'm having trouble getting a reference to a RadComboBox client-side, the combo box is contained within an ASP.NET repeater control.
I'm using the Telerik $find() method to get a reference to the control in JavaScript.

Below is an example of the code i'm using.
 - All elements with an ID ending with "cmbFunction" are selected and stored in the variable "functionComboboxes", this works fine.
 - Next, for each found element a reference to the RadComboBox is gotten, this fails (I get a null reference).
 
This technique works when the RadComboBox is not contained within an ASP.NET repeater control.

Does anyone have an idea what the proper way is, to do what i'm trying?

 

$(document).ready(

function() {

 

 

    var functionComboboxes = $("* [id$='cmbFunction']");  
    functionComboboxes.each(function() {  
        var comboBoxId = $(this).attr('id');  
        var comboBox = $find(comboBoxId);  
        FilterIdentification(comboBox);  
    });  
}); 
vicky
Top achievements
Rank 1
 answered on 02 Nov 2009
4 answers
115 views

Hi, I have RadGrind 2009 Q1 with 4 levels of hierarchy. The GridTableView #3 is driven by a stored procedure that does own logic and routs select from different tables. Consequentially dataset for the level # 3 will have different columns for each row level # 2. The GridTableView #3 has AutoGenerateColumns="true".

Now, the problem that I have is that the RadGrid looks like stick to the columns headers of the first expended row at the level #3. The data (amount of rows) does come from the stored procedure proporly but the headers and the DataField for the AutoGenerateed Columns does not get overridden dynamically.

Could you help p me to address this problem?

Pavlina
Telerik team
 answered on 02 Nov 2009
5 answers
238 views
Does anyone know of a way to restrict the file extensions that can be uploaded.  I don't want users to upload .exe, .vbs, .bat, etc., but any other files would be acceptable.  Can this be done, either with the control or in java?

Thanks,

Jim
Basel Nimer
Top achievements
Rank 2
 answered on 02 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?