Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
75 views
I can get the tree list working fine when I use attribute based xml.
<catalog>
<catalogitem id="1" name="test 1"/>
<catalogitem id="2" name="test 2"/>
</catalog>

but the xml I'm getting from a web service is doing this:
<catalog>
    <catalogitem>
        <id>1</id>
        <name>test 1</name>
    <catalogitem>
    <catalogitem>
        <id>2</id>
        <name>test 2</name>
    <catalogitem>
</catalog>

I have no problem binding the RadGrid to the xml like the latter but I can't seem to figure out how to do it for a treelist.

Also, is there any way to start the parent id as 0 instead of null/empty??
Kyle
Top achievements
Rank 1
 answered on 02 Jan 2013
0 answers
77 views
I've seen a similar post for this back in 2009, but it was not solved.

I'm receiving an error on the Grid / Editing with External Form demo when I created locally.

Object reference not set to an instance of an object


Line 88:         protected void Page_Load(object sender, System.EventArgs e)
Line 89:         {
Line 90:             RadAjaxManager.GetCurrent(Page).AjaxSettings.AddAjaxSetting(RadGrid1, RadGrid1, PlaceHolder.FindControl("RadAjaxLoadingPanel1") as RadAjaxLoadingPanel);
Line 91:             //store the clientID of the grid to reference it later on the client
Line 92:             RadAjaxManager.GetCurrent(Page).ResponseScripts.Add(string.Format("window['gridId'] = '{0}';", RadGrid1.ClientID));

When I debug, I notice that placeHolder is still returning a NULL value:

 private Control placeHolder;
        private Control PlaceHolder
        {
            get
            {
                if (placeHolder == null)
                {
                    placeHolder = this.Page.Master.FindControl("ContentPlaceHolder1");
                }
                return placeHolder;
            }

Any ideas?

Thanks, Trisha
Bohemi
Top achievements
Rank 1
 asked on 02 Jan 2013
0 answers
68 views
Hi,

Does anyone know if it is possible to create a full screen multi-calendar setup using the Schedular?

Something like this, but full screen in the browser window?
http://demos.telerik.com/aspnet-ajax/scheduler/examples/overview/defaultcs.aspx

Thanx

John
John
Top achievements
Rank 1
 asked on 01 Jan 2013
2 answers
133 views
Hi,

I am using RadScheduler in MVC 3.0 project. I have few issues while using it. It would be of great help if you can direct me on the resolution for following:

1. How can I set MinutesPerRow property on server side? (As per another forum thread, MinutesPerRow cannot be set on client side).
2. I am trying to use GroupBy property to display multiple resources side by side in RadScheduler. I am using ResourcePopulationMode="ClientSide". But when I use GroupBy property, I get following Javascript error (in js file):

Microsoft JScript runtime error: Unable to get value of the property 'get_visibleRangeStart': object is null or undefined

3. I am trying to add a CheckBox control on the appointment so that it can be selected. But when I add <AppointmentTemplate> tag and add the markup it does not have any affect. Here is the markup that I am using:

<AdvancedForm Modal="true" />
    <AppointmentTemplate>
        <div>
            <asp:CheckBox ID="EligibilityCheck" runat="server" Text="Eligibility" TextAlign="Left" Checked="false" AutoPostBack="true" />
            <br />
            <%#Eval("Subject") %>
        </div>
</AppointmentTemplate>


I am using version 2011.1.519.40 of Telerik.Web.UI.dll

Thanks in advance!!


Raj
Top achievements
Rank 1
 answered on 01 Jan 2013
2 answers
207 views
I am using mulitple uploader, and need to get the file size at client side when user selects the file.
Is there any direct method or property to get size?
For now I am using the below code, but it is not working in IE

 function selectedFile(sender, eventArgs) {
   var inputs = sender.getFileInputs();
   for (i = 0; i < inputs.length; i++) {
                    if (navigator.appName == "Netscape") {
                        size = inputs[i].files[0].fileSize;
                    }
               else if (navigator.appName == "Microsoft Internet Explorer") {                  
                        var filepath = inputs[i].value;
                        var SizeINIE = User_book.GetFileSize(filepath);     //This always returns 0 as the file will not be existing on server
                        if (SizeINIE != null) {
                            alert(SizeINIE.value);
                            size = SizeINIE.value;
                        }
                    }
}
Can anyone provide me solution for this ASAP?
Angel
Top achievements
Rank 1
 answered on 01 Jan 2013
3 answers
128 views
Hi. i am assigning tooltips to the pointmarks in code behind. There is a problem though, any line series point mark that over laps the bar series the line series point mark shows the toop tip for the bar graph, how i can i solve this issue. any help is appreciated. the code below is repeated for each chart series item.

csi As New ChartSeriesItem

csi.ActiveRegion.Tooltip = toolTipText

Petar Marchev
Telerik team
 answered on 01 Jan 2013
0 answers
57 views
Hello,
is there any way using telerik CDN in project, without using Telerik.Web.UI.dll or without Telerik.Web.UI.Skins
i cant make it work, can you provide sample code.
Abdullah
Top achievements
Rank 1
 asked on 01 Jan 2013
6 answers
241 views
Hi,
I try to find a way to update the RadComboBox on client-side with an existing JavaScript array.

To lower the number of server requests we introduced a JavaScript file where we created arrays of countries, states and cities. Those elements won't change so a server request is not necessary. Now we'd like to use the RadComboBox for selecting the country, state and city. However I haven't found an easy way to do this.

We have:
- ASPX file with 3 RadComboBoxes for country, state and city
- JavaScript file with array of countries, states and cities

When the user selects a country, a javascript method should choose the correct state array and fill the state combo box with the possible items. Same for the state and city.

Does anyone have an idea if and how we can do this?

Thanks,
Hilmar
Rakshit
Top achievements
Rank 1
 answered on 01 Jan 2013
1 answer
57 views
I am using the RadDock control on a client website page where the decorator is also used.  The Decorator has the capability to turn off the feature for certain control types.  Is there any way to turn off the Decorator for a RadDockZone/RadDock?

Thanks in advance!

Lynn
Lynn
Top achievements
Rank 2
 answered on 31 Dec 2012
1 answer
104 views
My user has asked to add the ability to hit ctrl+a to run the Add New Record link on the grid.  How can I provide this capability?

On a HRef html attribute, I would simply add a accesskey setting.  How can I do this in the RadGrid?

Thanks for your help.
Elliott
Top achievements
Rank 2
 answered on 31 Dec 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?