Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
104 views
I am having problems displaying a menu's LoadingStatusTemplate.  It seems to appear behind other elements on the page but my submenus come out fine.  Any suggestions?
T. Tsonev
Telerik team
 answered on 30 Jul 2008
4 answers
216 views
Hi,

Is it possible to catch the ajaxRequestWithTarget (client side) in an eventhandler on the server side?

When I try to catch the normal ajaxRequest in an eventhandler everything works fine but when I use the ajaxRequestWithTarget function in my client code, I can't catch it. Do I have to do anything else or am I forgetting something.

Thanks

Bert

Bert
Top achievements
Rank 1
 answered on 30 Jul 2008
3 answers
270 views
hello,

i'm using rad ajax loading panels in order to reduce post backing in my website.
i've been using a scenario where i have nested ajax loading panel, which means something like this:
<asp:panel id="p1" runa.... >
<asp:label id="l1" runa....></asp:label>
<asp:button id="b1" runa.... />
</asp:panel>
<asp:button id="b2" runa.... />

when clicking button "b1", it changes the label, when clicking button "b2" it changes the panel.
i've created 2 different RadAjaxLoadingPanels, and using
RadAjaxManager, tied each one to a different button and asp control as previously explained.
it is much similar to telerik's example of show/hide controls in RadControlsForAsp.NetAjax/ajax/common.

the problem which occured was that after pressing button "b1", ie refreshing the label data, when trying the press button "b2" the label would not dissapear for the duration of the "postback". only after pressing the "b2" button once more, did it return to normalicy, and yet pressing the "b1" button again would cause the same problem...

i've been trying to understand why my example is different from the telerik example, i even tried changing the buttons to radiolists, to no avail...
for the record, i tried copying telerik's example's code, and it worked. yet, it's just not enough...

any help will be welcomed
Rosen
Telerik team
 answered on 30 Jul 2008
1 answer
135 views
Hello all,

I have a RadDock control inside a RadDockZone.
I also have a command that in its client side event I execute javascript that docks and undocks the RadDock from the RadDockZone according to the current RadDock.get_dockMode() method. Up untill now, everything works great.

When I undock the RadDock I want to position it in the middle of the screen so
I calculate the right top and left values.

The problem is, that it seems like RadDock.set_top() and RadDock.set_left() method don't work well.

I debugged the code, and indeed the methods change the values of the _left and _top vars of the RadDock client-side object, but the dock isn't positioned accordinaly on the screen!

I also checked the RadDock.get_element().offsetLeft/Top properties and the numbers there are completely different, and it seems that the RadDock is positioned with accordance to those values.

I also tried the RadDock.get_element().style.left/top option, but the results are the same.

Anyone has a clue?

Thanks.
Sophy
Telerik team
 answered on 30 Jul 2008
7 answers
185 views
This has been a problem for quite some time, not necessarily associated with RadControls for ASP.NET Ajax, but it still occurs in this latest version. Many of the skins provided display horizontal divider lines between rows. However if a cell displays a value which is NULL, the divider line does not appear for that cell only. This is especially noticeable if the row is selected. Is this a known issue?

Princy
Top achievements
Rank 2
 answered on 30 Jul 2008
1 answer
368 views

When I spell-check a form that contains 2 or more controls as defined in the ControlsToCheckProperty, I get the following error message in the browser:

Microsoft JScript runtime error: Object required

I enabled the debugger within my markup and I was able to identify where the error ocurs within the ScriptResource.axd

if(this.get_element().value!=null){

try{

_21=this.get_element().value;

}

In this case, the this.get_element() is returning a null reference but the code still gets its value property.

Since the script is rendered by the HttpHandler, there is no way for me to add an additional check on the script.

The whole context is as this. An aspx page that already contained MS Ajax Extensions with a ScriptManager and an UpdatePanel. Changing this to the Telerik versions is not an option. It would require thousands of hours of regression testing from our QA team.

Need help!

Obi-Wan Kenobi
Top achievements
Rank 1
 answered on 30 Jul 2008
1 answer
73 views
I'm considering building the top level of our intranet navigation using the RadTabStrip control. Unfortunately there is a special requirement about the visual appearance of the first tab which looks different from the rest of items (alternating color in particular). Is there any way to implement it using a custom skin? Any other hints, ideas or references?

thanks a lot in advance & best regards
Paul
Telerik team
 answered on 30 Jul 2008
3 answers
113 views

HeightOffset problem with Q2 release and IE 7

Using a similar test as Jared Tucker, thread “HeightOffset Bug in 2008.1.619” (example included), I find under 2008.2.723.35 when running under IE 7 the footer content seems to jump up to a higher position on the page when you resize the browser.

Refreshing the page is required to correct the problem.

No problems with FF and Safari.

Please advice

Regards

Airedale

<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="SplitterFooter._Default" %>

<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> 

<html xmlns="http://www.w3.org/1999/xhtml">  

<head id="Head1" runat="server">  

    <title>Untitled Page</title> 

    <style type="text/css">  

    html, body, form  

    {  

        height: 100%;  

        overflow: hidden;  

        margin: 0px;  

        padding: 0px;  

    }  

    </style> 

</head> 

<body> 

    <form id="form1" runat="server">  

        <asp:ScriptManager ID="ScriptManager1" runat="server" /> 

        <div id="header" style="height:100px;background-color:Gray;">Header</div> 

        <telerik:RadSplitter ID="RadSplitter1" runat="server" Width="100%" Height="100%" 

            HeightOffset="200">  

            <telerik:RadPane ID="RadPane1" runat="server"></telerik:RadPane> 

            <telerik:RadPane ID="RadPane2" runat="server"></telerik:RadPane> 

        </telerik:RadSplitter> 

        <div id="footer" style="height:100px;background-color:Gray;">Footer</div> 

    </form>      

</body> 

</html>

Tsvetie
Telerik team
 answered on 30 Jul 2008
2 answers
151 views
Hi Guys,

I am setting a RadGrid column's visibility to false on a toolbar button press, and then back to true again when they press it again(a toggle). The problem I am having is that when I toggle the column invisible, it doesn't become visible again on the next toggle. I am just setting the Visible property of the column and I'm not sure why this is happening.

Here's what's going on in the code on the button click event:

else if (e.Item.Value.Substring(0, 2).Equals("CC")) 
    bool hide = true
    string[] colDel = e.Item.Value.Split(delimiterChars); 
    string colName = colDel[1]; 
    RadToolBarButton mybut = (RadToolBarButton)e.Item; 
    if (mybut.Checked) 
    { 
        mybut.Checked = false
        mybut.ImageUrl = ""
        hide = true
    } 
    else 
    { 
        mybut.Checked = true
        mybut.ImageUrl = "/Images/Toolbar/update.gif"
        hide = false
    } 
    foreach (GridColumn rc in rgAcct.MasterTableView.Columns) 
    { 
        if (rc.HeaderText.Equals(colName)) 
        { 
            if (hide) 
            { rc.Visible = false; } 
            else 
            { rc.Visible = true; } 
 
            break
        } 
    } 
 
    foreach (GridColumn rc in rgAcct.MasterTableView.AutoGeneratedColumns) 
    { 
        if (rc.HeaderText.Equals(colName)) 
        { 
            if (hide) 
            { rc.Visible = false; } 
            else 
            { rc.Visible = true; } 
 
            break
        } 
    } 

Princy
Top achievements
Rank 2
 answered on 30 Jul 2008
7 answers
242 views
Looking for suggestions for a web page data entry grid to display refreshed total for entire row.  JavaScript, or AJAX...?

I'm using GridBoundColumns substitued with TextBoxes via ItemCreated.  And entire Grid is EditMode="InPlace"

Several rows in grid, and 12 columns across for each month.  When user keys in value for a monthly text box, would like to give them a 'running' total on the far right for that row (without postback).  That is, row by row total.

Requesting 'hints' for direction to pursue.  Pure JavaScript solution (text changed, then determine which row user is working on, add all text box months across and place total in a column on far right)?  Or maybe an AJAX solution...?  TIA.
Sebastian
Telerik team
 answered on 30 Jul 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?