Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
174 views
I am using RadAsyncUpload to send content into SharePoint using HttpHandlerUrl="~/_vti_bin/myHandler.ashx", the content is delivered, and this handler replies with the FileInfo Json which includes the SharePoint information required client-side (without metaData)

Have no idea what this represents, so leaving it empty:
"metaData":"/wEFsAF7IlRlbXBGaWxlTmFtZSI6InFobXhpZGRyLjN4NSIsIkFzeW5jVXBsb2FkVHlwZU5hbWUiOiJUZWxlcmlrLldlYi5VSS5VcGxvYWRlZEZpbGVJbmZvLCBUZWxlcmlrLldlYi5VSSwgVmVyc2lvbj0yMDExLjEuNDEzLjM1LCBDdWx0dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPTEyMWZhZTc4MTY1YmEzZDQifexeAUe9Qntvi6cibJXmRsELub3C"

The question is related to the querystring values included with the request to the handler
_vti_bin/myHandler.ashx?type=rau&RadUrid=8e407d48-f46e-4360-8cdb-5b44b384e2870; How should these values be used in a custom handler.

Otherwise everthing is working well, pushing content into SharePoint.

More information would be most helpful.
Cat Cheshire
Top achievements
Rank 1
 answered on 16 Aug 2011
1 answer
64 views
Hi,

On Mouse over, it is highlighting 2 timeslot sections , how can I make it highlight only one section.
PFA the screenshot.

Thanks,
Navya
Plamen
Telerik team
 answered on 16 Aug 2011
2 answers
152 views
Hi all,

I'm using RadMenu and have problem with the DOCTYPE.
If I use 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
the menu looks good as image 1. But this one affects my RadGrid interface (for example, the font size is bigger, ...)

But when I use
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
there will be error with the Menu interface as image 2.

I would like to use the second DOCTYPE for many purpose.
Is anyone meet this situation before?

Thanks.

Andy.
July
Top achievements
Rank 2
 answered on 16 Aug 2011
2 answers
67 views
I am using RadDocks (with title templates) that are approximately the width of the user's screen.  This works fine with most skins.  But when I switch to Sitefinity, the header background image (rdCenter) is not wide enough.

It seems that other skins use a vertical image and repeat it, but Sitefinity uses one big wide image that is only 1200px, presumably so you can easily include the little dots on the left.  But, now I can't switch skins.

Am I missing something?

Thanks.
Chris Dalessandri
Top achievements
Rank 1
 answered on 16 Aug 2011
7 answers
304 views
Hi Telerik,

I have a RadWindow which is managed by RadWindowManager. It represents a dialog window.

Here is the code declaration and how I open it:

<telerik:RadWindow ID="HistoricalLocalSettingsWindow" Runat="Server" NavigateUrl="~/Dashboard/Dialog/Windows/HistoricalLocalSettings.aspx" OnClientShow="OnHistoricalLocalSettingsShow" OnClientClose="OnHistoricalLocalSettingsClose" IconUrl="~/Content/Dashboard/Icons/radwindow_settings.png" Title="Settings" Width="450px" AutoSize="True" AutoSizeBehaviors="Height" OnClientResize="OnHistoricalLocalSettingResizeEnd" OnClientResizeEnd="OnHistoricalLocalSettingResizeEnd" />
function ShowLocalSettings(sender, eventArgs) {
    radDock = sender;
 
    var reportType = radDock.get_element().getAttribute("ReportType");
    if (reportType == "HistoricalReport") {
        oWindow = window.radopen(null, "HistoricalLocalSettingsWindow").center();
    }
    else if (reportType == "CustomReport") {
        oWindow = window.radopen(null, "CustomLocalSettingsWindow").center();
    }
    else {
        alert("Didn't find report type.");
    }
 
    SetupCenteringDialog(oWindow);
}
 
//Opens a historical report settings window -- passing the known settings to it
//so that the window will show the proper data to the user.
function OnHistoricalLocalSettingsShow(sender, eventArgs) {
    sender.argument = radDock.get_id();
}

On this window there is some content. The content that can be displayed on this window is subject to change, based on what is loading the window. The user also has the ability to add and remove this content based on a combo-box selection present inside of the window.

As such, I tell the window to auto-resize whenever the combobox changes:

//When the user changes between Line Chart and Pie Chart the number of controls
//displayed on the window changes. As such, I need to expand/contract the
//size of the window. This causes the window to resize itself.
function OnClientSelectedIndexChanged(sender, eventArgs) {
    var comboBoxValue = eventArgs.get_item().get_value();
    ValidateWindowState(comboBoxValue);
 
    if ($telerik.isIE) {
        timeout = setTimeout(function () { AdjustRadWindow(); }, 500);
    }
    else {
        AdjustRadWindow();
    }
}

function AdjustRadWindow() {
    var oWindow = GetRadWindow();
    if (oWindow.isVisible()) {
        oWindow.autoSize(true);
    }
}

This works perfectly fine in Chrome, but in IE it does not resize to the proper height. It seems to be remembering its old height (perhaps because the minHeight for the window is being set behind-the-scenes to convince IE to size the window properly? I am not sure.)

Regardless, even if I fudge with the timeout, I see sizing issues.

I have attached an image showing the initial state of the window in IE9.0.8112 with compatibility-mode turned off and Chrome 13.0.782

Is there something I can do about this? Thanks

Sean

Marin Bratanov
Telerik team
 answered on 16 Aug 2011
3 answers
110 views
Hi,

I have added Radgrid in a page and set AllowPaging="true" . And one of the GridBoundColumn we set AllowFiltering="true" . It works well. But when we filter with a value, the finding record doesn't display in the first page.
For instance, if we have 3 pages and the item which we look for is located in the 3rd page. After filtering, the 1st page and 2nd page are empty. We found the record in the 3rd page. We have to go through all the 3 pages.

Do we have any way to display the finding record in the first page and don't show other 2 empty pages.

Thanks,
D. Do
Duong
Top achievements
Rank 1
 answered on 16 Aug 2011
11 answers
213 views
hi,

I have rad combo box: ((ddlGroups2)) not working fine in my telerik converted website, I can build my website normally but after I run it, I found the rad combo box is disabled, so nothing happened if I click the arrow to open the drop down menu !


if I replace the rad combo box with normal asp.net drop down list, thin it works fine but with telerik its not working,

here is a snapshot:

Helen
Telerik team
 answered on 16 Aug 2011
1 answer
67 views
I am building a lined chart and have the LineSeriesAppearance.PenStyle set to "solid" for the series, but would like to change it to "dot" at the end of the series to signify the values occur outside of a threshold.  Is this possible?  For example:

Value 1: solid
Value 2: solid
Value 3: solid
[threshold hit]
Value 4: dot
Value 5: dot
Evgenia
Telerik team
 answered on 16 Aug 2011
3 answers
110 views
Hello,
My grid contains only template columns which are built runtime. Also I create custom header template, like this:

public void InstantiateIn(Control container)
        {
            LinkButton label;
            if (_item != null)
            {
                label = new LinkButton()
                            {
                                Text = _item.caption                                
                            };
                CssStyle style = _styleBuilder.CreateStyle(_item.f_name + "_header",
                                                                             _item.RunTimeColumnInformation.
                                                                                 HeaderAppearance);
                if (_styles.Find(s => s.Name == style.Name) == null)
                {
                    _styles.Add(style);
                }
                ((GridTableHeaderCell)container).CssClass = style.Name;
            }
            else
                label = new LinkButton()
                            {
                                Text = _caption
                            };
            label.CommandName = "Sort";
            label.CommandArgument = _item.user_name;
            container.Controls.Add(label);
        }
Each time I click header, I receive a message
Sys.WebForms.PageRequestManagerServerErrorException: "/UpeWeb.ASPNET/Telerik.Web.UI.WebResource.axd" is not a valid script path. Path must have ".js" extension.
I'm not sure this is a correct translation, because I see it on my native language, but you should get an idea of what's going on. Looks like it happened because of new AJAX control made by me from scratch. It's of CompositeControl type and implements IScriptControl. And each time there's a postback on page, I receive a message like this.
Thank you.
Mira
Telerik team
 answered on 16 Aug 2011
4 answers
135 views
Hello Telerik ,

I have a RadChart in my asp.net application. I can't able to display text values on x-axis . I tried both client and server sides but it didn't work. Instead of text it is displaying numeric values. Can you help me to this asap.

Thanks
Swetha
Jimmy
Top achievements
Rank 1
 answered on 16 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?