Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
146 views
In the MasterPage File I have:

<telerik:RadScriptManager ID="ScriptManager1" runat="server" CdnSettings-BaseUrl="~/Scripts" EnableHistory="False" EnablePageMethods="False"
    EnableScriptGlobalization="False" OutputCompression="AutoDetect" AsyncPostBackTimeout="900">
    <Scripts>
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.Core.js" />
        <asp:ScriptReference Assembly="Telerik.Web.UI" Name="Telerik.Web.UI.Common.jQuery.js" />
    </Scripts>
</telerik:RadScriptManager>

Next, in the page, I have RadScheduler with Ajax-Updated engine.
But after changing the view: month -> day, needed scripts are not loaded and scheduler can not work...

How can I update the "script manager" with ajax?
I think it is connected with the CdnSettings-BaseUrl="~/Scripts" setting.
T. Tsonev
Telerik team
 answered on 03 Aug 2010
4 answers
1.8K+ views
Hi, I just recently came across the following error "These columns don't currently have unique values"

After troubleshooting I came across the problem but I still do not know of a solution. I will describe the problem
in further detailing including my troubleshooting steps.

The problem with the above error seems to be related to multiple child items which each belongs to
different parent nodes.

After going through testing the store procedure and rerunning the application, I modified the stored procedure and discovered that if I returned several child items with the same id regardless if it belongs to a separate parent then the above error will occur.

For example:

ParentID    ID        Name

null            1        "John"
null            2         "Ben"
1                9        "apples"
1                10      "pears"
2                9        "pears"
2                11     "bananas"

but if I removed the column 2, 9, "pears" then it will work such as

ParentID    ID        Name

null            1        "John"
null            2         "Ben"
1                9        "apples"
1                10      "pears"
2                11     "bananas"

Please help because I am stumped on this functionality and would like it working soon as it is the final piece of code to get the entire feature functioning correctly.

Regards

Nikolay Tsenkov
Telerik team
 answered on 03 Aug 2010
2 answers
178 views
Hi,

   I need to be able to check the status and prompt the user for save when the user is moving out of the current tab. I have lot of controls under each tab. Is there any way or property that can give me if the user has updated and has unsaved data. 

Thanks in advance. 
usr9999
Top achievements
Rank 1
 answered on 03 Aug 2010
1 answer
66 views
Is it possible to set this checkbox to true by default?
Rumen
Telerik team
 answered on 03 Aug 2010
2 answers
120 views
I am using RADAjaxManager in my page. I am having issues with it.
I have RadComboBox1, RadComboBox2, RadComboBox3, RadTextBox1 and RadTexBox2 on the page. I have the functionality built in as follows. Now I am trying to use the RADAjaxManager which is breaking the functionality. 
    1) ComboBox1 has 2 values.
    2) When user selects value 1 from the ComboBox1
        a. ComboBox3 should be disabled
        b. Clear text1 and text2 and disable them
        c. ComboBox2 should be populated from database 
        d. When user selects a value from combobox2 , assign values to text1 and text2  
    3) When user selects value 2 from the ComboBox1
        a. ComboBox2 should be disabled
        b. Clear text1 and text2 and enable them for data entry
        c. ComboBox3 should be populated from database

The functionality is working well until I add the following entries. It looks like the clearing text boxes are not being done

<telerik:RadAjaxManager runat="server" ID="RadAjaxManager1">
   <AjaxSettings>
<telerik:AjaxSetting AjaxControlID=" RadComboBox1">
         <UpdatedControls>
           <telerik:AjaxUpdatedControl ControlID=" RadComboBox2" />
           <telerik:AjaxUpdatedControl ontrolID=" RadComboBox3" />
            <telerik:AjaxUpdatedControl ControlID="RadTextBox1" />
            <telerik:AjaxUpdatedControl ControlID="RadTextBox2" />
           
         </UpdatedControls>
      </telerik:AjaxSetting>
      <telerik:AjaxSetting AjaxControlID=" RadComboBox2">
          <UpdatedControls>
             <telerik:AjaxUpdatedControl ControlID="RadTextBox1" />
             <telerik:AjaxUpdatedControl ControlID="RadTextBox2" />
          </UpdatedControls>
      </telerik:AjaxSetting>
    <AjaxSettings>
 </telerik:RadAjaxManager>

Note sure where i am going wrong! Please help.
usr9999
Top achievements
Rank 1
 answered on 03 Aug 2010
1 answer
96 views
Dear Telerik Team,

I am working with multiple resource grouping in scheduler. In your demo of resource grouping able to group with date and rooms. I need to group with rooms and with other parameter I am unable to group as you people did in your demo application by giving another parameter instead of Date. Is there any way to group resources with different parameters?
I hope you understand the problem please find a reference link of your demo application.

http://demos.telerik.com/aspnet-ajax/scheduler/examples/resourcegrouping/defaultcs.aspx



Thanks and Regards
--------------------------
Pradeep
Veronica
Telerik team
 answered on 03 Aug 2010
1 answer
127 views
<telerik:RadComboBox ID="ddlFolders" runat="server">
                            <Items>
                            <telerik:RadComboBoxItem  />
                            </Items>
                            <ItemTemplate >
                               <uc1:PhotoMove ID="PhotoMove1" PhotoID='<%# ((GridItem)Container).ItemIndex.ToString() %>' runat="server" />
                            </ItemTemplate>
                            </telerik:RadComboBox>

I am trying to load a user control inside the itemtemplate of a combobox. The combox is inside a radGrid. The user control needs the PhotoID:
'<%# ((GridItem)Container).ItemIndex.ToString() %>'

However, this is not allowed and throws this error:
error CS0030: Cannot convert type 'Telerik.Web.UI.RadComboBoxItem' to 'Telerik.Web.UI.GridItem' ---> System.Web.HttpParseException:

What is an alternative way to pass a dynamic id to a nested user control that is inside a combobox which is inside a radgrid?

Thanks!
Yana
Telerik team
 answered on 03 Aug 2010
3 answers
123 views
Is there a way of firing a query that will look at the recurrence rule and return an item based on a point of time.

Basically We have an online radio schedule which we use radscheduler for, but the broadcast software needs to be able to execute a query on the hour to find out what to air next. At present we are having to maintain 2 tables, it would be great if we could just ask the radschedueler db what now.

Please help

David
Gabe Silvarajoo
Top achievements
Rank 2
 answered on 03 Aug 2010
7 answers
317 views

I am trying to bind a rotator control to an xml document (type=System.Xml.XmlDocument) returned by a method using the rotator’s datasource property:

RadRotator1.DataSource = object.GetXML()
RadRotator1.DataBind()



This is xml returned by the above method:

<Participants>
    <Participant>
        <FullName>John Smith</FullName>
        <PayAmount>4611.00</PayAmount>
    </Participant>
</Participants>


And this is the rotator:

                <telerik:RadRotator ID="RadRotator1" runat="server" RotatorType="AutomaticAdvance" FrameDuration="4000" ScrollDirection="Down" ScrollDuration="500" Height="120px" Width="300px">
                    <ItemTemplate>
                        <div>
                            <div><%# XPath("FullName") %></div>
                            <div><%# XPath("PayAmount") %></div>
                        </div>
                    </ItemTemplate>
                </telerik:RadRotator>


The code runs fine, but nothing displays on the page. What am I doing wrong?

Thanks for your help.

Ivan
Fiko
Telerik team
 answered on 03 Aug 2010
1 answer
63 views
Hi 

I have a standard scenario where I have a Tabstrip and Multipage on a page, the Tabstrip controls the navigation between the multipageviews - all working nicely great!

Inside one of my pageviews I have a RadChart, this chart has drilldown functionality wired up to onClick event of the chart bars, what should happen on clicking a bar it should hide the chart and display a panel (standard asp.net panel) with some more detailed information.

Simplified version of my event handler:

protected void RadChart1_OnClick(object sender, ChartClickEventArgs e)
{
   RadChart1.Visible = false;
   Panel1.Visible = true;
}

However Panel1 does not appear, despite being set to visible. I have tried changing the Multipageview property to RenderSelectedPageOnly="true" as I can see it may have something to do with how controls are being rendered but I get the same effect.

Any ideas?
Yana
Telerik team
 answered on 03 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?