Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
63 views
Dear Sirs,

I've found a problem with dynamically RadDock, Skin Web20 and Safari.
You can try what I mean on your sample: http://demos.telerik.com/aspnet-ajax/dock/examples/dynamicdocks/defaultcs.aspx
One of the commands you create in code behind is not properly displayed. In fact, it has shown below the title bar, on the right.
That doesn't happen with IE and FF but I've only experienced it with Safari.
If you change the Skin, the problem disappears in Safari as well.

Regards

Paolo
Martin
Telerik team
 answered on 07 Apr 2009
5 answers
753 views
I am in the process of adding TELERIK controls to our applications. I am trying to figure out the 'best practice' in regards to using master pages and telerik controls.

Currently I have the requirement to add a splitter on various pages and on some pages the splitter would also include other telerik controls, ie Pane, SlidingPane and Panel bar. It's makes sense to me to add the splitter to the master page and possibly add the
other controls dynamically as required. Also all of our existing pages utilize the master page so additional items added would need to have minimal impact on the existing pages. 

I guess I am asking if anyone added controls to master pages and make the visible as required and also is there an example somewhere that will show how to add telerik controls to an existing page dynamically, for example if I add just a splitter in the master page, in a existing page that uses this masterpage how would I add pane, slidingpane and panelbar to the splitter dynamically from the codebehind page, or is this idea just crazy? Which it could be!

Thanks,
Jim D
Dimo
Telerik team
 answered on 07 Apr 2009
1 answer
153 views
Hi,
  I am using Telerk.Web.UI versions 2008.2.1001.35 and 2008.3.1125.35.  The usage of these two versions in the site is isolated.  The question I have is regarding the registration for HttpHandlers, I need to register them both.  Is there a way to specify a different path instead of both pointing to Telerik.Web.UI.WebResource.axd?  If this is not possible what are my alternatives?

Thank you.
Shinu
Top achievements
Rank 2
 answered on 07 Apr 2009
1 answer
110 views
Hi

Is there anyway to get only "RawHTML", without calling PDF export event? Or is there anyway I can

The inside RawHTML is useful for me but i do NOT want to create PDF.

Thanks,
Pradip
Daniel
Telerik team
 answered on 07 Apr 2009
2 answers
219 views
Hi telerik Team

i working with RadControl 2008Q3 for 2mounth ,but now i dl new version of that(.exe file) and try to install,i got this error when run live example:

Line 50: 	  </codeSubDirectories>
Line 51: 	  <assemblies>
Line 52: 		<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
Line 53: 		<add assembly="System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
Line 54: 		<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

 and when add Control from toolbox to my design ,i will get this error :

RadGrid - RadGrid1System.IO.FileNotFoundException: Could not load file or assembly 'Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The system cannot find the file specified. File name: 'Telerik.Web.UI, Version=2009.1.402.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' at Telerik.Web.Design.RadGridDesigner.GetDesignTimeHtml(DesignerRegionCollection regions) at System.Web.UI.Design.ControlDesigner.GetViewRendering(ControlDesigner designer)

My OS is Vista 32bit Ultimate and VS2008 - .NET 3.5

thanks for helping in forum

ahmad


ahmad
Top achievements
Rank 1
 answered on 07 Apr 2009
1 answer
138 views
Hi,

I have one problem with RadScheduler localization. I use resource files in App_GlobalResources and it works ok, but it crashes dotnetnuke Portal page with exception 'Cannot find valid "resheader" tags for the ResX reader and writer type names'. Its becouse I have to remove  <remove extension=".resx" /> from Web.Config to make it work. Is any know why to fix it?

Best regards
Dimitar Milushev
Telerik team
 answered on 07 Apr 2009
3 answers
180 views
Hello,

By default the "Insert Table" button creates a table with a <TBODY> tag only:

"AS IS"
<table>
    <tbody>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </tbody>
</table>

Is it possible to override this behavior in order to insert the first row within the <THEAD> tag automatically and avoid to set this property via "Table Properties - Accessibility" tab?

"DESIDERATA"
<table>
    <thead>
        <tr>
            <th >&nbsp;</th>
            <th >&nbsp;</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>&nbsp;</td>
            <td>&nbsp;</td>
        </tr>
    </tbody>
</table>

Thanks,
Dario.
Stanimir
Telerik team
 answered on 07 Apr 2009
1 answer
113 views
I have developed a quick base part for using the radwindowmanager on a sharepoint site.  My requirement was to have various webparts that could open a rad window from links, such as news and events.  Here is my base class.   What do you think? The skin is hardcoded, but that could easily be changed.  I have found that this seems to work pretty well for what I am trying to do. 

using System;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using System.Reflection;
using Telerik.Web.UI;
using Telerik.Charting.Styles;

namespace SunGard.Portal.WebParts.Controls {
    public class BaseWindowPart : System.Web.UI.WebControls.WebParts.WebPart {
        private const string javascriptIncludeKey = "SunGardPortalWebPartsClientScript";
        private const string javascriptFilePath = "SunGardPortalWebPartsClientScript.js";
        private RadWindowManager windowManager;
        private RadWindow popupWindow;

        protected string radWindowClientName = "SPRadWindow";

        protected override void OnLoad(EventArgs e) {
            ClientScriptManager cs = Page.ClientScript;
            if (!cs.IsClientScriptIncludeRegistered(typeof(Page), javascriptIncludeKey)) {
                string scriptUrl = cs.GetWebResourceUrl(this.GetType(), String.Format("{0}.{1}", Assembly.GetExecutingAssembly().GetName().Name, javascriptFilePath));
                cs.RegisterClientScriptInclude(typeof(Page), javascriptIncludeKey, scriptUrl);
            }
            base.OnLoad(e);
        }

        protected override void CreateChildControls() {
            base.CreateChildControls();
            if (Page.FindControl("SPRadWindow") == null) {
                windowManager = new RadWindowManager();
                windowManager.ID = "SPRadWindow";
                windowManager.Skin = "WebBlue";

                Controls.Add(windowManager);
                popupWindow = new RadWindow();
                popupWindow.ReloadOnShow = true;
                Controls.Add(popupWindow);
            }
        }
    }}
Georgi Tunev
Telerik team
 answered on 07 Apr 2009
3 answers
123 views
hi,
I have a question.When i opened an RadWindow and closed it,the window will last about 83line html code in the DOM.If i use it to build a SPA ,it will be a terrible thing,client call the window many times and the browser will process many data on the client,in some extreme case,the browser will stop response.Of course ,it could not be happen,so is there some reson to leave the html code in the DOM or i misuse it?

p.s.The rad example do the same.
version:RadControls for ASPNET AJAX Q1 2008


Georgi Tunev
Telerik team
 answered on 07 Apr 2009
1 answer
170 views
Hi,

I am trying to create a dynamic CommandItemTemplate based on the selected item in the Grid.  I have the ClientSettings.EnablePostBackOnRowClick set to true and Selecting-AllowRowSelect also set to true.  I have tried to handle this in two different ways:

First, I tried to handle the ItemCommand event.  I was able to get a reference to the GridDataItem that was selected and read the values, but setting the MasterTableView.CommandItemTemplate to my custom ITemplate object did not have any visual effect on the CommandItem.  I believe this is because the commandItem has already been rendered at this point and doesn't get re-rendered.

My next attempt was to handle the ItemCreated event.  I was now able to catch the creation of the CommandItem and get a reference to it, but now the Grid.SelectedItems collections was empty.  Perhaps this hasn't been set yet at this point in the control lifecycle.

I'm open to other ways of doing this.  Maybe by creating all of the controls that I want declaratively and just enabling or disabling them dynamically, but if the control has already been rendered or if I can't get at the SelectedItems collection, this still won't do me any good.

Any suggestions?  Also, what are my options for doing this using client-side javascript instead?

Thanks,

Billy
Georgi Krustev
Telerik team
 answered on 07 Apr 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
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
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?