Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
96 views
I am trying to get two RadDocks to take up all the vertical space in a RadDockZone and can accomplish this by using percentages where one dock height is 30% and the other is 70%. This takes up all the vertical space but the content in the dock with 30% hieght dock disappears in a div that is height 0.

It would appear that the div that takes the <ContentTemplate></ContentTemplate> area is getting a size set to it. Is there any way to keep this behavior from happening?
Pero
Telerik team
 answered on 31 Mar 2011
1 answer
80 views
Hi,

I have a couple of pages with standard asp.net validation controls such as RequiredFieldValidator etc inside my RadAjaxPanel.

As soon as I navigate to another tab in my RadTabStrip the page seems to force validation errors and pretty much "locks" the page even though non of the fields was selected to enter data.

Only once all the required fields was entered the page seems to release the "lock" and only then am I able to navigate to another tab / page without even submitting the page.

Any idea what might be causing the "lock" and forced validation errors on the page?

Thanks
Shinu
Top achievements
Rank 2
 answered on 31 Mar 2011
4 answers
163 views
The alignment box on the image editor doesn't seem to be working in my rad editor the popup appear but clicking on it has no effect. The control in the set image properties button seems to work fine though.

I get a Javascript error this.getPopupVisibilityController() is null or not an object on lines 2383, 2179 (several times each) which I assume may be part of the problem.

Any ideas?

Jon

Rumen
Telerik team
 answered on 31 Mar 2011
5 answers
185 views
Hi,

Please excuse the level I'm posting in these forums at, I'm rather new to asp.net let alone telerik controls.

Basically, I have created a radgrid, in this radgrid is the following column template:

[code]
                                    <telerik:GridTemplateColumn UniqueName="completedDateTime" HeaderText="Completed Date & Time">
                                        <ItemStyle HorizontalAlign="Center" />
                                        <ItemTemplate>
                                            <asp:Label ID="lblCompletedDateTime" runat="server"></asp:Label>
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
[/code]

What I want to do basically is onrowselect - read the TEXT property of lblCompletedDateTime in javascript.

I usually refer to the clientid or the rendered id of the label (using $find) but I obviously need to identify it per row which is where I'm stuck.

Thanks a lot!!

Dan

p.s. Sorry about the code there!? Thought they were the code tags.
Daniel
Top achievements
Rank 1
 answered on 31 Mar 2011
1 answer
104 views
Hello

we are using the RadMenu component in multi-column disposition (3 columns), and we are facing a minor rendering issue on some child menus as shown in my screenshot:

If you show a child menu of an item of the first column, there is no issue. If you show a child menu of an item of the second or third columns, the left border of the child menu item is not correctly rendered. It looks as if it was trying to display the menu item's image although we did not set any image. So we get a blank square.
This issue occurrs ate least with IE, FF and Chrome

Regards

Kate
Telerik team
 answered on 31 Mar 2011
1 answer
86 views
I set EnableFilterTextBox to true.
 at runtime i get this popup error
Error: Sys.ParameterCountException: Parameter count mismatch.

any idea why? I am using Q1 2011
please help
Dobromir
Telerik team
 answered on 31 Mar 2011
7 answers
287 views
Hi,

I am using a Scheduler setup as demonstrated in http://demos.telerik.com/aspnet-ajax/scheduler/examples/advancedformtemplate/defaultcs.aspx

Our users are complaining that when making an "all day" recurring appointment, they can still select "hourly" from the recurrence rule editor (see attached screen shot)

Is there any workaround to this?


Best Regards,
Konrad
Veronica
Telerik team
 answered on 31 Mar 2011
1 answer
162 views
Hi,


I tried to visible false the radgrid row using client side script.but i cant set the visible false .

 function setVisible() {
           // debugger;
            var _selectedItems = $find("ctl00_GridContentPlaceHolder_RadPanelBar2_i0_SearchGrid");
            if (_selectedItems != null) {
                var oldSelected = _selectedItems.get_masterTableView().get_selectedItems();
                for (var i = 0; i <= oldSelected.length - 1; i++) {
                  
           _selectedItems.get_masterTableView().get_selectedItems()[i].set_visible(false)
                   _selectedItems.get_masterTableView().get_selectedItems()[i]._selected = false;
                }
                _selectedItems.repaint();
              
            }
        }

if i call the mastertable.rebind() it s working fine . but its taking long time to refresh.
please provide the solution for this performance issue.
Maria Ilieva
Telerik team
 answered on 31 Mar 2011
1 answer
174 views
Hi Telerik,

I have a RadWindow of a certain size. When the RadWindow is first loaded I call AdjustRadWindow to set the window size. In addition, the window adjusts fine on a RadDateTimePicker's OnPopupOpening and OnPopupClosing events.

I am struggling to get this to work when the user interacts with a RadComboBox. The RadComboBox hides elements on the RadWindow and I would like to resize the window after they're hidden.

protected void RadComboBox1_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
    SetWindowState(RadComboBox1.SelectedValue);
}
 
private void SetWindowState(string currentSelection)
{
    if (string.Compare(currentSelection, Charts.LineChart.ToString()) == 0)
    {
        RadDateTimePicker2.Visible = true;
        Label2.Visible = true;
        CheckBox3.Visible = true;
    }
    else if (string.Compare(currentSelection, Charts.PieChart.ToString()) == 0)
    {
        RadDateTimePicker2.Visible = false;
        Label2.Visible = false;
        CheckBox3.Visible = false;
    }
    else
    {
        Debug.Assert(false, "Unhandled chart type in RadSettings");
    }
}
function OnClientSelectedIndexChanged(sender, eventArgs) {
    setTimeout(function () { AdjustRadWindow(); }, 500);
}

function AdjustRadWindow() {
    var oWindow = GetRadWindow();
    setTimeout(function () { oWindow.autoSize(true); if ($telerik.isChrome || $telerik.isSafari) ChromeSafariFix(oWindow); }, 500);
}
 
//fix for Chrome/Safari due to absolute positioned popup not counted as part of the content page layout
function ChromeSafariFix(oWindow) {
    var iframe = oWindow.get_contentFrame();
    var body = iframe.contentWindow.document.body;
 
    setTimeout(function () {
        var height = body.scrollHeight;
        var width = body.scrollWidth;
 
        var iframeBounds = $telerik.getBounds(iframe);
        var heightDelta = height - iframeBounds.height;
        var widthDelta = width - iframeBounds.width;
 
        if (heightDelta > 0) oWindow.set_height(oWindow.get_height() + heightDelta);
        if (widthDelta > 0) oWindow.set_width(oWindow.get_width() + widthDelta);
        oWindow.center();
 
    }, 310);
}

If I place an alert inside of OnClientSelectedIndexChanged then, after I close the alert, AdjustRadWindow seems to work properly. The problem is that the controls aren't disappearing fast enough from the screen, even with two time-outs.

I believe the issue may be related to this -- http://www.telerik.com/community/forums/aspnet-ajax/ajax/slow-ajax-response-wondering-if-i-can-do-something-to-improve.aspx

Any suggestions? Solutions?

Thanks

Sean

Marin Bratanov
Telerik team
 answered on 31 Mar 2011
1 answer
54 views
I have a RadWindow declared with

 

 

VisibleOnPageLoad="True"
MinimizeZoneID="CatalogZone"
InitialBehaviors="Minimize"
Behaviors="Move,Minimize"
KeepInScreenBounds="True"
OffsetElementID="CatalogZone"

It does not honor the minimize zone on page load. Once I manually restore and minimize the window, it works properly. How can I get it to display in the minimize zone on initial page load?

Marin Bratanov
Telerik team
 answered on 31 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?