Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
270 views
We copied existing skin & modified its images & named it as "cool". I copied RadControls directory into my website & created new skin folder named "cool" & dropped all required images into it.

Here is the error i receive

Telerik.Web.UI.RadTabStrip with ID='RadTabStrip1' was unable to find embedded skin with name 'cool'. Please, make sure that you spelled the skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false.

Here is how i reference in my html

<

telerik:RadTabStrip ID="RadTabStrip1" runat="server" SelectedIndex="0" MultiPageID="RadMultiPage1" Skin="cool" ></telerik:RadTabStrip>

I also tried using EnableEmbeddedskins = false, it doesn't throw any error however it doesn't apply any skin to the control.

Any help is appreciated.

Antony
Top achievements
Rank 1
 answered on 09 Feb 2009
1 answer
119 views
Hi, I have been trying to accomplice the following functionality with a RadPanelBar.

Version: 2008.3.1105.20

I have a panelbar which is bound to a datasource. I want to display the tekst of the returnitems as a panelItem. This is al working fine. For each item created I want to show a usercontrol. To get this working I defined the next code:

<telerik:RadPanelBar ID="rpbWizardStep2" runat="server" DataSourceID="odsPatterns" 
            DataValueField="PatternId" DataTextField="Pattern"  
            Width="100%" Skin="WebBlue" Height="100%" ExpandMode="FullExpandedItem" CollapseAnimation-Type="Linear" 
            OnPreRender="rpbWizardStep2_PreRender"
            <ItemTemplate> 
                <asp:Label ID="ParentKeyId" runat="server" Visible="True"></asp:Label> 
                <uc1:WizardItemControl runat="server" id="ucWizardItem" settype="MainGoal" EnableDateSelection="true" EnableDisciplineSelection="false" /> 
            </ItemTemplate> 
            <CollapseAnimation Type="Linear" Duration="100"></CollapseAnimation> 
            <ExpandAnimation Type="None" Duration="100"></ExpandAnimation> 
        </telerik:RadPanelBar> 
In my understanding this would render a panelbar whit textheaders, which would expand when clicked on. But instead the code renders a text RadPanelBar-item then the userControl and then again text and usercontrol. So the usercontrol is also threathed like a RadPanelBar-item at the highest level. (hope this is clear to someone).

In short what I want:

[ Tekst  1]
     [UserControl 1]
[ Tekst  2]
     [UserControl 1]
[ Tekst 3 ]
     [UserControl 1]

When clicked on one of the Tekst-items it should expland and show the content of the UserControl. As said, my code wil show the UserControl as one of the main-items (the same level as the Tekst-items)

Any ideas?






Paul
Telerik team
 answered on 09 Feb 2009
1 answer
122 views
Is it possible to update a dropdown list using ajax but to initiate the update from script and not as a result of some control initiator?

I've read that I should probably use the RadAjaxManager's ajaxRequest client method but then how does this specifically target an update on my dropdown?

Worst case, I could use a CSS-hidden button as initiator and mimic a click on that button from my script but that simply sounds like a cheap hack.

Furthermore, I'm in a master-page scenario so the RadAjaxManager is shared by all the pages and I can't implement page specific server-side code in the AjaxRequest event because I'd need to know from where the request originated (what page, what section of a page, etc) and do the appropriate coding... I just want a simple callback from my script to update a control - shouldn't be so ellaborate I guess

Rosen
Telerik team
 answered on 09 Feb 2009
1 answer
138 views
The scenario here is that I have drop down menus with flow horizontal. I would like the dropdown menus to always start at the far left (left aligned with the start of the top level menu). i can set the groupsettings offsetx value to specific setting, but since it would be different for each sub nav group, how do I do a general setting to achieve getting all of them to start on the left?

I had achieved this in another instance (a dnn site) by using a tab nav structure for the top level, and then a menu that displayed on the child pages with ShowOnlyCurrent="RootItem" set. however, we want to be able to get the dropdown effect to show the subnav items without clicking, so trying to do it with a Menu, and efaultGroupSettings-Flow="Horizontal".
Yana
Telerik team
 answered on 09 Feb 2009
1 answer
125 views
I have a RadCombo that stores a list of user names.  Every time the User selects a new name, an AJAX call is made and a RadGrid is filled with info for that selected User.  Everything is done client-side with no full Postback

In the grid, there is a GridButtonColumn button ("Remove") that uses ClientEvents and a RadScriptBlock to make 2 AJAX calls.

The first one is in the code-behind of the page itself, and the second is on the code-behind of a User Control on the page.

The issue is that between the 2 calls, a partial PostBack takes place and in the Page_Load event, the values for SelectedValue and SelectedText are incorrect.  They are initially null/empty, instead of the currently selected item in the RadCombo. 

This is key because in the Page_Load event, the current user name is used to fill one of the page's properties.  This property is then needed by the User Control code-behind to perform further actions.

Is there a setting to make sure the currently selected values are populated correctly during this sequence?

Thanks.

Chris


Simon
Telerik team
 answered on 09 Feb 2009
1 answer
138 views

Hi,

We are having problems with RadCharts, we are using the latest telerik dll, 

First problem:
An error occurred during the processing of . Telerik.Charting.ChartSeriesCollection must have items of type
'Telerik.Charting.ChartSeries'. 'ChartSeries' is of type 'System.Web.UI.HtmlControls.HtmlGenericControl'.

After some investigation we added the following line in the web.config line:
add verb="*" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Version=2008.3.1314.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false" />

After this line was added sharepoint displayed the following error:
"An unexpected error has occurred"

Could any one help on this issue?

Thanks,
Sumit


 




 

 

Ves
Telerik team
 answered on 09 Feb 2009
1 answer
144 views


I am design the master page with nested RadSplitter controls, (one is top menu area, another one is Left pane , another one is Content area). 

Left pane contain tree view, if I click the tree node corresponding page loading within the content area by using
ContentUrl property.
Now I want to drag and drop between Left pane to Content area. But drag and drop not supported here.

Any solution for this

<telerik:RadSplitter ID="MainSplitter" runat="server" EnableEmbeddedSkins="false" Skin="MySkin" Height="100%" Width="100%" VisibleDuringInit="false" Orientation="Horizontal" OnClientLoaded="OnClientLoaded" ResizeMode="Proportional">

<telerik:RadPane ID="TopPane" runat="server" Height="72" MinHeight="72" MaxHeight="120" CssClass="menuPanes" Scrolling="Both">

    Menu area

</telerik:RadPane>

<telerik:RadSplitBar ID="RadsplitbarTop" runat="server" CollapseMode="None"/>

<telerik:RadPane ID="MainPane" runat="server" Scrolling="none" MinWidth="500">

<telerik:RadSplitter ID="NestedSplitter" runat="server" EnableEmbeddedSkins="false" Skin="MySkin"
SplitBarsSize="8" VisibleDuringInit="false" LiveResize="true"  OnClientLoaded="OnClientLoaded">

<telerik:RadPane ID="LeftPane" runat="server" Width="220" BorderSize="0" Scrolling="None">

        TreeView    

<telerik:RadSplitter ID="RadSplitter2" runat="server" Orientation="Horizontal" EnableEmbeddedSkins="false" Skin="MySkin" VisibleDuringInit="false" SplitBarsSize="8" OnClientLoaded="OnClientLoaded" BorderSize="0" HeightOffset="50">

<telerik:RadSplitBar ID="RadSplitbar2" runat="server" CollapseMode="Backward" BorderSize="0" CollapseExpandPaneText="Collapse/Expand the BriefCase" ToolTip="Test" >

Grid

</telerik:RadSplitBar>

</telerik:RadSplitter>

</telerik:RadPane>

<telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Forward" CollapseExpandPaneText="Collapse/Expand the View Area" />

<telerik:RadPane ID="ContentPane" runat="server">

<asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">

Content Area

 

</asp:ContentPlaceHolder>

</telerik:RadPane>

</telerik:RadSplitter>

</telerik:RadPane>

</telerik:RadSplitter>

 

Tsvetie
Telerik team
 answered on 09 Feb 2009
9 answers
216 views
Hi all,

I'm currently trying to create an availability calendar using RadCalendar (PresentationType = View) and feed the data from database using WCF.
I'm planning to use client-side event OnCalendarViewChanging to call the WCF service and OnDayRender to format the background color of the cell.

I have a couple of problems in doing so, first I don't know how to pass the current month/target month from RadCalendar to the WCF function.
Second, after the data is returned from WCF, I need to change the background color of sold out dates, but I cannot redraw the calendar because it's already rendered on the client side, so the event OnDayRender wasn't fired anymore.

Is there any idea of how to do this? I'm up for different events and methods to solve this problem, but my boss wants it to be purely client-side using javascript and jquery.

Thank you,
Khonato
aozora
Top achievements
Rank 2
 answered on 09 Feb 2009
1 answer
111 views
Hello,

A little question about custom skinning and the pane.print functionality.

We have made a custom skin for everything (based on WebBlue) which we have super optimized following your instructions. So now we have webresources. For the pane.print (javascript) functionality we have

var cssFileAbsPath1 = 'App_Themes/Metis/GlobalMaster.css';  

 

var cssFileAbsPath11 = 'Print.css'

 

var arrExtStylsheetFiles = [cssFileAbsPath1,cssFileAbsPath11];  

 

 

pane.Print(arrExtStylsheetFiles);

But can we use webresources in here otherwise we have to put the css back in the project instead of the seperate project

Maybe something interesting for demos,..

thanks in advance,
The Sofim-team (Belgium)

 

 

Tsvetie
Telerik team
 answered on 09 Feb 2009
1 answer
146 views
I am having an issue with page download size (with a RadGrid) when using a GridDropDownColumn that points to a datasource with more then a few records in it. I'm using all LINQ data sources.

Upon investigation (thank you firebug's net panel) it appears as if when there's a GridDropDownColumn on a grid, that grid will pull down a lot more data on every callback, and the sql query itself also seems to run much slower.

I really like using GridDropDownColumn functionality for relational editing and such and this revelation has me at a bit of a loss. If the tables the GridDropDownColumns are pointing to have to be small because their entirty will always be riding the connection every time the grid is loaded then I will be kinda sad.

My troublesome line of code (for instance) is:

<telerik:GridDropDownColumn DataField="SectionId" SortExpression="SectionId" UniqueName="SectionId" DataSourceID="SectionDataSource" ListTextField="Title" ListValueField="Id" HeaderText="Section" HeaderButtonType="TextButton" />

which points to the datasource:

<asp:LinqDataSource ID="SectionDataSource" ContextTypeName="AppDataContext" TableName="Sections" OrderBy="SortOrder" runat="server" />

When the Sections table only has a few records in it the whole grid loads quick. If I put a lot of dummy records in the Sections table the grid starts bringing down very large downloads initially and for every callback and the grid works much slower.

Any insight is greatly appreciated,

S

Georgi Krustev
Telerik team
 answered on 09 Feb 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?