Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
164 views
I have a situation where I need to create both dynamic layout and dynamic positioning with RadDockZones.
All the example I have seen are using RadDockZones created in design-time. I have managed to create RadDockZones in run-time but have problem to positioning them correctly. I want to be able to arrange them like the cells in the below example. But how can I do that with dynamically created RadDockZones which are handled the same as normally divs I guess.
        <table border='1' width='100%'>  
            <tr>  
                <td width='50%'>  
                    left  
                </td>  
                <td width='50%'>  
                    <table border='1' width='100%'>  
                        <tr>  
                            <td width='100%'> 
                                right top 
                            </td>  
                        </tr>  
                        <tr>   
                            <td width='100%'> 
                                right bottom 
                            </td>  
                        </tr>  
                    </table>  
                </td>  
            </tr>  
        </table>  
 

I can manage it if I create the layout in design-time if I put a RadDockZone in each cell.

Hope anyone can help.
Teija
Top achievements
Rank 1
 answered on 30 Sep 2009
1 answer
137 views

I have two calendars next to each other.
<telerik:RadCalendar ID="RadCalendar1" runat="server" AutoPostBack="true" MultiViewColumns="2"
        MultiViewRows="1" EnableMultiSelect="false" OnPreRender="RadCalendar1_PreRender">
    </telerik:RadCalendar>
The Height and Width attributes of the Calendar control do not work.

We need to find out how to control the size( Width and Height) of the control. I cannot reduce the width and height of the calendars.

 

 

Also how can we remove the  month headers right above the calendars.I want to keep the common header though.
Thanks
Anil

Princy
Top achievements
Rank 2
 answered on 30 Sep 2009
4 answers
161 views

Hello,

 

We had some issue when using the Media Manager in the RadEditor for MOSS (full-featured) to add a video to a WebPart page. The Windows Media Player’s window displays but the video doesn’t play (we have IE7 and WMP10).

 

We find that modifying a little bit the generated HTML makes it finally works.

 

Here is the original generated HTML code:

<object type="application/x-oleobject" height="150" width="150" classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA6">

<param name="FileName" value="/Test_RENAULT/Videos/RadNavigation.avi"/>

<embed src="/Test_RENAULT/Videos/RadNavigation.avi" width="150" height="150" type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer"></embed>

</object>

 

The changes concern the “object” tag.

 

If we remove it (we keep only the “embed” tag), it works fine.

 

We can also keep it but then we have to change two of its attributes:

- Removing the “classid” attribute makes it work but it is very long.

- To make it faster we change the value of the “type” attribute, from “application/x-oleobject” to “"application/x- mplayer2" (like in the “embed” tag).

With this second method it works fine too.

 

As these changes are manual, we would like to know how we can have an automatic solution.

 

Thanks

 

Jeff

 

Jean-François Robe
Top achievements
Rank 1
 answered on 30 Sep 2009
2 answers
157 views
I think RadEditor has problem with safari browser at MAC after install MOSS SP2 to sharepoint.  (RadEditorMOSS_4_5_2)

RadEditor is activated.

Enter new item – results are inconsistent. Sometime it gets saved. Sometime item is not getting saved. After I click Save button, page refreshes and all text is gone.  .





sin peow ng
Top achievements
Rank 1
 answered on 30 Sep 2009
1 answer
97 views
I'm attempting to use the tri-state checkboxes with the TreeView. I'm able to populate the TreeView easily enough, but I can't seem to get the checked items out. Here's the code:

<

 

telerik:RadTreeView ID="RadTreeView1" runat="server" CheckBoxes="True" TriStateCheckBoxes="True" CheckChildNodes="True" DataTextField="name">

 

 

</telerik:RadTreeView>

 

 

<asp:Button ID="expertiseFilterButton" runat="server" Text="Filter Faculty" OnClick="expertiseFilterButton_Click" />

 

 

<asp:Literal ID="Literal1" runat="server"></asp:Literal>

 


 

-----------------------

 

protected

 

void expertiseFilterButton_Click(object sender, EventArgs e)

 

{

 

string message = "";

 

 

IList<RadTreeNode> nodeCollection = RadTreeView1.GetAllNodes();

 

 

 

foreach (RadTreeNode node in nodeCollection)

 

{

message += node.FullPath +

" - " + node.Checked.ToString() + "<br />";

 

}

Literal1.Text = message;

}

 

-----------------------
No matter which or how many items I check, the node.Checked keeps coming back as False. Any ideas on what I am doing wrong?

 

Yana
Telerik team
 answered on 30 Sep 2009
3 answers
105 views
Hi again,
i have got three "little" questions.
Here's a link to show the charts I'm talking about:
http://s.finanznachrichten.de/temp/3Monate_230.htm
So let's start:

 1st question
As I said in topic I have 2 charts on this site one candlestick and one bar-graph. Now we need this 2 graphs shown as one picture (png/jpg). Is this possible and how can it be done?

2nd question
In the bar-graph, the y-axis2 has an custom format like.
RadChart2.PlotArea.YAxis2.Appearance.CustomFormat = "0,, M"; 
 How come that the zero label is not shown ?

3rd question
Like in the post label-position candlestick-charts I now draw 2 lines as you see and try to mark the highest an lowest value of the candlestick chart. The x-position of the values is pretty good, but the AlignedPositions is not drawn as set in code.
In shown Image was set :
RadChart1.Series[1].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside; 

RadChart1.Series[1].Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.BottomRight; 
and it makes no difference to 
RadChart1.Series[1].Appearance.LabelAppearance.LabelLocation = Telerik.Charting.Styles.StyleSeriesItemLabel.ItemLabelLocation.Inside; 
RadChart1.Series[1].Appearance.LabelAppearance.Position.AlignedPosition = Telerik.Charting.Styles.AlignedPositions.TopLeft; 


Thanks for Support!

Best regards
Alexander Witkowski 

Giuseppe
Telerik team
 answered on 30 Sep 2009
2 answers
98 views
Hi,

I am experiencing a slight difference in the rendering of the Upload dialog.

E.g. the upload button btnUpload in the imagemanager upload has class . rfdDecorated

But when I use the RadFileExplorer object on a seperate page the btnUpload has NO class.
The same goes for the rfdCheckboxChecked and rfdCheckboxUnchecked classes

Please assist...

Marc
Fit2Page
Top achievements
Rank 3
Bronze
Bronze
Iron
 answered on 30 Sep 2009
3 answers
181 views
Hi there,
i have a Candlestick Chart with some Items and want to add a label to absolut minimum an absolut maximum.
I tryed with item labels and postitions (like RadChart1.Series[2].Items[j].Label.Appearance.Position) but there where no changes visible.
Can you please help me, if some code is needed just write a short comment.

Thanks

Best regards
Alexander Witkowski
Giuseppe
Telerik team
 answered on 30 Sep 2009
1 answer
80 views
Hiya,

Simple question really.Can I go ahead in all confidence and use the latest radGrid in a vs2008 dynamicData project, and it will work?

many thanks,

yogi
Princy
Top achievements
Rank 2
 answered on 30 Sep 2009
1 answer
115 views
hi

This is my code and i just couldn't get the value: I did a breakpoint at the ItemCommand  and the variable x is empty. Is there something wrong with this code? Thanks

 

<Columns>

 

 

<telerik:GridTemplateColumn DataField="CID" HeaderText="CID"

 

 

SortExpression="CID" HeaderStyle-Wrap="false" UniqueName="CID">

 

 

<ItemTemplate>

 

 

<asp:Label ID="CIDLabel" runat="server" Text='<%# Eval("CID") %>'></asp:Label>

 

 

</ItemTemplate>

 

 

<HeaderStyle Wrap="False"></HeaderStyle>

 

 

</telerik:GridTemplateColumn>

 

Protected

 

Sub RadGrid1_ItemCommand(ByVal source As Object, ByVal e As Telerik.Web.UI.GridCommandEventArgs) Handles RadGrid1.ItemCommand

 

 

Dim item As GridDataItem

 

 

Dim x As String

 

 

 

 

 

If e.CommandName = "Select" Then

 

 

 

 

item =

DirectCast(e.Item, GridDataItem)

 

x = item(

"CID").Text

 

Session(

"cidl") = item("CID").Text

 

 

End If

 

 

 

 

 

End Sub

 

Shinu
Top achievements
Rank 2
 answered on 30 Sep 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?