Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views
I have a grid that I'm binding different bits of data to it depending on what a user selects from a drop down list. The grid is a simple hierarchy grid (although sometimes it only has one level) with a check box column and a bound column. When the grid doesn't have hierarchical data, I want to hide the ExpandCollapsColumn which I'm doing in the code behind with this line every time a user changes their drop down selection:

grdList.MasterTableView.ExpandCollapseColumn.Display = False

However, when I page in the grid, the ExpandCollapseColumn comes back when it shouldn't. Sometimes I'm choosing to make the column appear if the data being bound to the grid supports it. So I don't want it to be permanently hidden. Is there a reason that the grid doesn't want to stay hidden after seeing Display = False? It seems like a bug, but I suppose there could be a reason for it.
Yavor
Telerik team
 answered on 18 Aug 2008
1 answer
63 views
If i have a table

<table><tr><td>radgrid</td><td>rad window</td></tr></table>

If I maximize or resize the window - the radgrid moves along with the page - which is what i want.  The radwindow doesn't move - unless the entire page is refreshed.

Why?  Can this be fixed?  It doesn't stay within the table cell.  This is when the radwindow is normal - not maximized.
Georgi Tunev
Telerik team
 answered on 18 Aug 2008
3 answers
248 views
Initially I had Q1 release and in that X axis labelling and scrolling didn't work together. Now after installing Q2 release labelling and scrolling works together but now the chart do not show any series. Below is the .ascx code. Please help.

<

telerik:RadChart ID="RadChart1" AutoLayout="true"

runat="server" Width="495px"

Skin="DeepBlue" EnableViewState="false">

<ClientSettings EnableZoom="false" ScrollMode="XOnly" XScale="2" />

<ChartTitle>

<Appearance Dimensions-Margins="4%, 10px, 14px, 6%">

<FillStyle MainColor="">

</FillStyle>

</Appearance>

<TextBlock>

<Appearance TextProperties-Color="White"

TextProperties-Font="Verdana, 14pt">

</Appearance>

</TextBlock>

</ChartTitle>

<Legend>

<Appearance Dimensions-Margins="1px, 2%, 12%, 1px">

<ItemTextAppearance TextProperties-Color="White">

</ItemTextAppearance>

<FillStyle GammaCorrection="False" MainColor="37, 255, 255, 255">

</FillStyle>

<Border Color="76, 255, 255, 255" />

</Appearance>

<TextBlock>

<Appearance Position-AlignedPosition="Top" TextProperties-Color="LightSkyBlue">

</Appearance>

</TextBlock>

</Legend>

<PlotArea>

<Appearance Dimensions-Margins="18%, 24%, 22%, 10%"></Appearance>

<XAxis LayoutMode="Normal" AutoScale="false">

<Appearance ValueFormat="ShortTime" MajorGridLines-Visible="false">

<LabelAppearance RotationAngle="90" Position-AlignedPosition="Top">

</LabelAppearance>

</Appearance>

</XAxis>

<YAxis IsZeroBased="false">

</YAxis>

</PlotArea>

</

telerik:RadChart>

Giuseppe
Telerik team
 answered on 18 Aug 2008
2 answers
126 views
Is it possible to get the toolbar that's used in the radeditor in a raddock window, basically I want the ability to add code snippets, but the other functionality of the radeditor toolbar would be nice as well.

The only reason I'm not using the radeditor is because it doesnt show up checkboxes and labels, and I need to iterate through these at some stage.

Thanks
Yashar
Top achievements
Rank 1
 answered on 18 Aug 2008
1 answer
86 views
Hi there,

When creating a RadMenu have root item and 2 child items, by clicking on an item child how to get the name of the root item?

follows an example

function onClicking(sender, eventArgs)
    {

var menu = $find("<%= RadMenu1.ClientID %>");
var items = menu.get_items();

alert("item: " + items.getItem(0).get_text());
    }


thus, if I have more than 1 root item, I can not get their name, how to get the name of the root item when you have more than 1?

I want that when you click on an child item, I get the name of the root item that child item.


Rosi
Telerik team
 answered on 18 Aug 2008
1 answer
119 views
Hi

I am using RadAjax 2008 Q2 controls.

In Javascript I am able to successfully get a reference to a RadCombobox in a pop-up dialog.

While I can clear the items, when I try to add a RadComboboxItem I get the following error:

        "htmlfile: Invalid argument."


Below is my Javascript code:

    var contentFrame = gwinEventDetails.GetContentFrame().contentWindow;
    var cboState = contentFrame.$find(contentFrame.gDLGcboVenueStateID);
    var cboStateItem = new Telerik.Web.UI.RadComboBoxItem();
    
    // Clear state combobox
    cboState.clearItems();
    cboStateItem.set_text(SELECT_OPTION);
    cboState.get_items().add(cboStateItem);    --ERROR!!--
    cboStateItem.select();


Hope this is enough information.


Kind regards

Mark Eaton

Rosi
Telerik team
 answered on 18 Aug 2008
1 answer
72 views
I have my monthly view set to use 3 appointments per day.  There is a LOT of space beneath the 3rd appointment that is wasted.  Is there anyway to tell it to not have all of that extra space?  I am thinking it would figure out the maximum space required for the whole month and then set the hieght of each row accordingly so it would be the same for all of the weeks.

Thanks,
Rich
Peter
Telerik team
 answered on 18 Aug 2008
1 answer
226 views


    <telerik:RadScriptManager ID="ScriptManager1" runat="server" EnableTheming="True"
        </telerik:RadScriptManager> 
        <telerik:RadFormDecorator ID="RadFormDecorator1" runat="server" Skin="Telerik" /> 
        <div id="ParentDivElement" style="height: 100%;"
            <telerik:RadSplitter ID="MainSplitter" runat="server" Height="100%" Width="100%" 
                Orientation="Horizontal" Skin="Outlook"
                <telerik:RadPane ID="TopPane" runat="server" Height="100" MinHeight="85" MaxHeight="150" 
                    Scrolling="none"
                    <!-- Place the content of the pane here --> 
            Test1 
                </telerik:RadPane> 
                <telerik:RadPane ID="MainPane" runat="server" Scrolling="none" MinWidth="500"
                    <telerik:RadSplitter ID="NestedSplitter" runat="server" Skin="Outlook" LiveResize="true"
                        <telerik:RadPane ID="LeftPane" runat="server" MinWidth="150" Height="" Index="0" 
                            Scrolling="None"
                            <!-- Place the content of the pane here --> 
                            <iframe id="contentFrame" height="100%" width="100%" frameborder="0";               src="ResultsGrid.aspx"></iframe> 
                        </telerik:RadPane> 
                        <telerik:RadSplitBar ID="VerticalSplitBar" runat="server" CollapseMode="Backward" /> 
                        <telerik:RadPane ID="RadPane1" runat="server" MinWidth="300" Width="300px"
                            <!-- Place the content of the pane here --> 
                            <div id="rightcontent"
                                <telerik:RadTabStrip ID="RadTabStrip1" runat="server" MultiPageID="RadMultiPage1" 
                                    SelectedIndex="0" Skin="Web20"
                                    <Tabs> 
                                        <telerik:RadTab runat="server" Text="Tab1"
                                        </telerik:RadTab> 
                                        <telerik:RadTab runat="server" Text="Tab2"
                                        </telerik:RadTab> 
                                    </Tabs> 
                                </telerik:RadTabStrip> 
                                <telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"
                                    <telerik:RadPageView ID="RadPageView1" runat="server"
                                        <uc8:UserControl1 ID="UserControl1_1" runat="server" /> 
                                    </telerik:RadPageView> 
                                    <telerik:RadPageView ID="RadPageView2" runat="server"
                                        <uc6:UserControl2 ID="UserControl2_1" runat="server" /> 
                                    </telerik:RadPageView> 
                                </telerik:RadMultiPage> 
                            </div> 
                        </telerik:RadPane> 
                    </telerik:RadSplitter> 
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </div> 

I am using the FormDecorator on a page with Multipage/PageViews.  One of the PageViews contains a UserControl (added at design time) and in that user control is a button.  The PageView scrolls and the buttons in the PageView are not scrolling (they are floating in a static position).  If I remove the FormDecorator, the button behaves normally and scrolls with the rest of the content.

In the code above, the button is contained in UserControl2_1, but it doesn't matter, it behaves the same in either user control.

Any ideas?
Georgi Tunev
Telerik team
 answered on 18 Aug 2008
2 answers
100 views
Hi there,

We are working with a project built in Visual Studio 2008 with Telerik ASP.NET Ajax controls (specifically RadDock). We would like to be able to edit parts of the project with Microsoft Expression Web 2. Currently, the controls are totally invisible, and makes editing pages very difficult. Is there anyway to get them to render in Expression 2? We aren't going to be editing the control in Expression, just need them to render.

Many thanks for any advice.
Andrew Frearson
Top achievements
Rank 1
 answered on 18 Aug 2008
1 answer
82 views
I am trying to use a RequiredFieldValidator with the RadDatePicker control.  If I type in a date (versus selecting from the calendar popup), I get the RFV error message.  Apparently there's a disconnect somewhere - the RFV doesn't realize I've manually entered a date.

Does anyone have a solution to this?  Here's my code:

<telerik:RadDatePicker runat="server" id="dpDateOfBirth" width="95px />

<asp:RequiredFieldValidator runat="server" ID="rfvDateOfBirth" EnableClientScript="true" ControlToValidate="dpDateOfBirth" Display="None" SetFocusOnError="true" ErrorMessage="Date of Birth is Required." />

Missing User
 answered on 18 Aug 2008
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?