Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
164 views

Requirements

RadControls version

2008.3.1314.35

.NET version

3.5 SP1

Visual Studio version

2008 SP1

programming language

C#

browser support

all browsers supported by RadControls


PROJECT DESCRIPTION
I would like to be able to create a PanelBar on the fly by using Linq to retrieve the Departments (parents) and Categories (children) from a DB.

While I am new to programming I have had a look at the demos and the support site but I'm unable to find anything similar to what I want to achieve. 

I've attached files that dynamically creates RadGrids (one for Departments and one Categories) but I want to obtain a similar result with the PanelBar where the categories will be loaded when a Department is selected if that Department has categories (children). Otherwise it should just load the Department page.

Is this possible and are there any examples available where this is achieved? While I could hard-code all the links I would prefer to proceed with a dynamic approach if at all possible.

Thanks!
Guv
Top achievements
Rank 1
 answered on 19 May 2009
4 answers
215 views
Hi, Telerik.
I´m using radwindow from asp.net ajax to show a radalert, but I found no way to center the radwindow buttons
When use this:
<AlertTemplate>
<
div class="windowpopup radalert">   
<div class="dialogtext">
{
1}    
</div>
<div>
 
<a  onclick="$find('{0}').close();"
 
class="radwindowbutton" href="javascript:void(0);">
  
<span class="outerspan">
   
<span class="innerspan">##LOC[OK]##</span>
  
</span>
 
</a>    
</div>
</
div>
</
AlertTemplate>

I saw the button to the left (If I insert another button it will appear next to the first on the right and so on with other buttons).
I want to use only 1 button for the radalert and I want it on the center.
I broke my head trying to set up this on the alerttemplate with no results.
Is it possible?
thanks,
Daniel.
dany7487
Top achievements
Rank 1
 answered on 19 May 2009
0 answers
113 views
Hello,

I am trying to optimize my RadControls by moving my custom skins to embedded resources by following this tutorial.

I have two RadMenus, both of which are using custom skins.  As a test, I moved one of the custom skins to the class library TelerikCustomSkins, and set up all the elements as embedded resources, declared them, etc.  When I run the project, both of my RadMenus are screwed up, and by using Firefox's Firebug, I see in the Net panel that the resource is causing a 500 Internal Server error with the following response:

Server Error in '/' Application.

Assembly "TelerikCustomSkins" does not contain a script with hash code "d806b4b1".

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NotSupportedException: Assembly "TelerikCustomSkins " does not contain a script with hash code "d806b4b1".

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NotSupportedException: Assembly "TelerikCustomSkins" does not contain a script with hash code
 "d806b4b1".]
   Telerik.Web.UI.ScriptEntry.Deserialize(String serializedScriptEntries) +1041
   Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile() +323
   Telerik.Web.UI.CombinedScriptWriter.WriteCombinedScriptFile(Page page, HttpContext context) +62
   Telerik.Web.UI.WebResource.ProcessRequest(HttpContext context) +37
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 
+75


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082



Does anyone have any suggestions for what to look for?  I googled this issue, but only found references to 32-bit vs 64-bit load testing scenarios, which doesn't apply to me as I am simply running this on my localhost using the ASP .NET Development server.

Thanks,
Gene




Gene
Top achievements
Rank 1
 asked on 19 May 2009
1 answer
117 views

Dear Telerik team,

I had made this post ( http://www.telerik.com/community/forums/aspnet-ajax/editor/inconsistent-new-paragraph-button.aspx  ) to your fora almost a year ago. Please take some time to carefully read it.

I see that until today this issue is still pending in your  to-do list.

As this is an extremely important issue for my product that uses the RadEditor I would like to know if there is a plan to resolve it.

In addition, I would like to describe the following scenario to you.

Let’s suppose that the following HTML is within the RadEditor:

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam tempor, purus sed faucibus egestas, elit arcu fringilla massa, ac dapibus dui nunc et mi.<br/> 
<br/> 
Aliquam erat volutpat. Donec faucibus lobortis ornare. Vivamus eu enim a tortor ornare gravida et sit amet est. Vivamus tempus quam a orci rhoncus nec semper sapien dictum.<br/> 
<br/> 
Integer imperdiet ultrices mauris id hendrerit. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.<br/> 
<br/> 
Integer at enim in velit vulputate egestas ac eu leo. Donec venenatis, leo vel auctor consequat, nisl libero pulvinar dui, in congue erat libero sit amet lorem.<br/> 
<br/> 
Cras eget nulla risus, fermentum volutpat tellus. Phasellus vestibulum lobortis arcu, at pharetra urna mollis in.<br/> 
<br/> 
Ut euismod dignissim nisi sit amet interdum. Etiam tincidunt mi commodo est blandit ullamcorper. Aliquam euismod venenatis mauris quis suscipit.  
Please describe me how will I convert the second chunk of text “Aliquam erat volutpat. Donec faucibus lobortis ornare. Vivamus eu enim a tortor ornare gravida et sit amet est. Vivamus tempus quam a orci rhoncus nec semper sapien dictum.” into a paragraph in IE, using only the visual view and not the HTML view of the RadEditor. That is, I want to wrap that text within a p tag.

I am sure that you understand the importance of this issue as it breaks my products IE compatibility.

I do believe that your products are indeed “The Industry's Leading AJAX Components, but I would also believe that such a trivial feature wouldn't be pending.

Best regards,

Jason.

Edited (Added the following paragraphs)

Another reason that this issue is so important is that blockquotes should be used, according to w3c, only when it contains a text container element such as a P or a DIV. Hence, it is vital to be able to wrap text into P tags. Note that some browsers do not render blockquotes properly if they do not contain a text container tag.

Try this scenario as well. Using the text mentioned above, try to wrap the second chunk of text into a blockquote tag in IE by using the Indent button. Again this is impossible to do by only using the visual view, as it wraps the entire Editor content into it.

A very useful feature would be to optionally automatically insert a P tag inside the blockquote when the Indent button is clicked. It is more consistent and more correct according to W3C and browser behavior.

NOTE: Just found out. A totally different behavior in Chrome.


Tervel
Telerik team
 answered on 19 May 2009
2 answers
265 views
Hi,

I am using Telerik.Web.UI.dll version 2008.1.619.35 (Rad Controls for ASP.NET AJAX).

I have a page where I am using Nested splitters as below:
<rad:RadSplitter ID="RadSplitterMain" Runat="server" Width="99%" Height="99%" ResizeMode="EndPane">
   <rad:RadPane ID="RadPaneLeft" Runat="server" Width="200px" Height="100%" MinWidth="200" MaxWidth="400">
     LEFT PANE CONTENT
   </rad:RadPane>
   <rad:RadSplitBar ID="RadSplitBarMain" Runat="server" />
   <rad:RadPane ID="RadPaneRight" Runat="server" Width="" Height="100%" Scrolling="None">
      <rad:RadSplitter ID="RadSplitterRight" Runat="server" Orientation="Horizontal" ResizeMode="AdjacentPane">
         <rad:RadPane ID="RadPaneTop" Runat="server" Width="100%" Height="110" Scrolling="None" Locked="true">
            RIGHT TOP PANE CONTENT
         </rad:RadPane>
         <rad:RadSplitBar ID="RadSplitBarRight" runat="server" CollapseMode="None" />
         <rad:RadPane ID="RadPaneBottom1" Runat="server" Width="100%" Height="110" Scrolling="None" Locked="true">
            <rad:RadSplitter ID="RadSplitterRightContent" Runat="server" Orientation="Horizontal" ResizeMode="AdjacentPane">
               <rad:RadPane ID="RadPaneMiddle1" Runat="server" Width="100%" Height="175">
                  RadPaneMiddle1 CONTENT
               </rad:RadPane>
               <rad:RadSplitBar ID="RadSplitBarRightMiddle" runat="server" CollapseMode="Both" />
               <rad:RadPane ID="RadPaneMiddle2" Runat="server" Width="100%" Height="175">
                  RadPaneMiddle2 CONTENT
               </rad:RadPane>
            </rad:RadSplitter>
         </rad:RadPane>
         <rad:RadPane ID="RadPaneBottom2" Runat="server" Width="100%" Height="110" Scrolling="None" Locked="true">
            RadPaneBottom2 CONTENT
         </rad:RadPane>
     </rad:RadSplitter>
  </rad:RadPane>
</rad:RadSplitter>

I have two asp.net Button controls Button1 and Button2
When I click on Button1, I want to show RadPaneBottom1 and hide RadPaneBottom2.
When I click on Button2, I want to show RadPaneBottom2 while hiding RadPaneBottom1.
Is this possible? or Please suggest any other way I can achieve this functionality.

Thanks in advance
Vijay

Babak Rezvani
Top achievements
Rank 1
 answered on 19 May 2009
4 answers
110 views
I have a few combo boxes above my calendar that allow users to select resources.  My question is how can I hide those combo boxes when the user goes to the advanced edit page? 
Matt
Top achievements
Rank 1
 answered on 19 May 2009
2 answers
212 views
In the past, when I wanted to add AJAX capabilities to a grid that was inside a multipageview, I had to specify that the entire pageview be the updated control due to the structure of the controls. In trying this now, as soon as I specify the pageview control as an updated control I receive the error:

RadPageViewCollection must contain RadPageView objects


Can anyone suggest what I am supposed to do to enable this scenario now? I need to give a grid AJAX capabilities, but it needs to be part of a tabbed system (the AJAX trigger is fired from a modal that opens up from the grid's command item template).
Sebastian
Telerik team
 answered on 19 May 2009
10 answers
497 views

I am looking at using rad controls to replace a range of existing ( old asp ) controls, and there is a lot of nice stuff, but there is a number of basic gotchas..

It would seem that the datepicker cannot perform basic positioning of its popup window ( If I am wrong please advise how it works)..
It would appear that it simply adds the height to the bottom of the input ( indepenent of weather it can fit on the screen or not!!!)

This cannot be right, all know datepicker I have worked with can perform this basic requirement, and is it is unusable without such a basic funtion...

At a minium there must be at least design time setup ( even though this is pretty easly worked out by the computer), see ShowPopupCorrectPosition ..

Please conform I am not missing something very basic, and that the picker cannot work out how to position its popup, and b) there is no design support for this either..

Thanks


Dimo
Telerik team
 answered on 19 May 2009
3 answers
76 views
Hi,

I am using a Rad grid with no paging.
All the columns in the grid are GridBoundColumns
I want to have the total number of these records at the bottom or on top of the grid.
Can you help me to achieve this

Thanks,
RKS
Sebastian
Telerik team
 answered on 19 May 2009
1 answer
177 views
Hi,

We currently have an application with the RadGrid on a page. The height of the grid is set dynamically through client side javascript in the resize event of the browser/page.

Occasionally, a problem occurs where the rad grid is resized to the correct height, but the internal display (i.e. the contents of the grid) can only display the column headers and about half of the 1st line of data. It doesn't seem to happen consistently.

We also have another page that has the grid's height to 96%. Sometimes on a page refresh, the same symptoms are visible.

We are on version: 2008.1.415.20 

Is anyone aware of any issues in this version?
Dimo
Telerik team
 answered on 19 May 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?