Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
386 views
Hello!

Im using a RadComboBox to display some product names. I want to show the status of the product and the product name in the dropdown, so I use a template to show an icon (active, not active) and then the name.

I have enabled AllowCustomText and Filter=Contains, and when i type in some text in the combobox it filters the content as intented and highlight the correct item. However, I also want to be able to filter on some keywords attached to the products, so my first question is: Can I somehow filter on both the product name (which the user sees) AND a set of keywords (which the user does not see)?

My "plan B" was to add another column to the template where I actually show the keywords, but then again, when i enter a custom text in the combobox it only filters on that one columns text (product name). So the second question (if there is no simple answer to the first question): Can the combobox filter on multiple columns?

Hope my description was clear enough.

\Giereck
Giereck
Top achievements
Rank 1
 answered on 02 Nov 2009
4 answers
118 views
Hi, I'm trying to createmy custom grid control that inherits RadGrid. I want after binding my grid (with or without autogenerated columns) to add always three columns (for editing, selecting and deleting records) as last three grid's columns. What would be the bast way to do that? What RadGrid's event would be best to override? Thanks, Ana
Doug Beard
Top achievements
Rank 1
 answered on 02 Nov 2009
3 answers
85 views
when activating a drop down menu in IE7, the menu appears behind the images on the page (its fine in Firefox & IE8)
Ive tried changing the z-index but it makes no difference.  Is there a fix ?
Paul
Telerik team
 answered on 02 Nov 2009
3 answers
232 views
I want to be able to allow users to insert images into the RADEditor, Ive configured it like this

<telerik:RadEditor ID="RadEditorBiography" Runat="server" Skin="Vista"  
                              ToolsFile="ArtistToolsFile.xml" Width="100%"  
                Height="650px" > 
                <Tools> 
                <telerik:EditorToolGroup Tag="FileManagers"
                    <telerik:EditorTool Name="ImageManager" /> 
                    <telerik:EditorTool Name="FlashManager" /> 
                    <telerik:EditorTool Name="MediaManager" /> 
                    <telerik:EditorTool Name="DocumentManager" /> 
                    <telerik:EditorTool Name="TemplateManager" /> 
                </telerik:EditorToolGroup> 
                 
            </Tools> 
            <ImageManager ViewPaths="~/Uploads" /> 
            <FlashManager ViewPaths="~/Uploads/EditorFiles" /> 
            <MediaManager ViewPaths="~/Uploads/EditorFiles"/> 
            <DocumentManager ViewPaths="~/Uploads/EditorFiles" /> 
            <TemplateManager ViewPaths="~/Uploads/EditorFiles" /> 
            <content></content></telerik:RadEditor> 

at runtime, the toolbar has an image manager button, clicking this bring up a the image manager window.  I can then navigate to subdirectories, select an image and insert it.  This works fine, but what if I want to upload an image ??  there is an upload button, but it does nothing.  How would I allow users to upload images to the specified folder, then select the uploaded image for inclusuin into the radeditor window ??


Rumen
Telerik team
 answered on 02 Nov 2009
1 answer
87 views
Upgrading a MOSS site from 5.2, the RadEditor functions, but is is displaying without buttons or other elements.  Just "Font Name" and "Size" at the top, and "Design", "HTML" and "Click for help about adding HTML formatting." at the bottom.  The pencil and blue angle bracket icons are visible in the bottom and the phantom buttons work. 

I made sure there was a RadEditorStyles_YYZ.css (currently identical to the default css file) in the wpresources\RadEditorSharePoint\5.5.1.0__1f131a624888eeed\Resources\ToolImages folder that matches the theme (eg. YYZ) I set in web.config.  EnableEmbeddedSkins has no effect either way.  I am rendering the field in an ASCX using a tag that is implemented n the following public class:

    [ToolboxData("<{0}:YYZRadTextField runat=\"server\"></{0}:YYZRadTextField>")]  
    public class YYZRadTextField : RadTextField  
    {  
        public YYZRadTextField()  
            : base()  
        {  
            this.EnableEmbeddedSkins = false;  
        }  
 
        protected override void OnInit(EventArgs e)  
        {  
            base.OnInit(e);  
 
            this.EnableEmbeddedSkins = false;  
 
            this.Style.Add("width", "95%");  
 
            this.CssFiles.Add("/_layouts/YYZapplication/"   
                 + System.Globalization.CultureInfo.CurrentUICulture.Name    
                 + "/Styles/RadControls/Editor.YYZ.css");  
 
            this.DialogsCssFile = "/_layouts/YYZapplication/"    
                 + System.Globalization.CultureInfo.CurrentUICulture.Name    
                 + "/Styles/RadControls/Dialogs.YYZ.css";  
 
            this.AddImagePaths();  
        }  
 
        /// <summary> 
        /// Adds the image path to a picture library used to store images used in the rad text editor control  
        /// </summary> 
        protected void AddImagePaths()  
        {  
            string path = string.Format("/{0}", "SiteCollectionImages");  
            this.ImageManager.ViewPaths = new string[] { path };  
        }  
 
    } 

Any ideas?  Where do the toolbar images normally originate, since the newer RadEditor apparently no longer uses GIFs of sprites.

Thanks

Stanimir
Telerik team
 answered on 02 Nov 2009
5 answers
788 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
264 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
585 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
353 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
140 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
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?