Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
495 views
Hello, i have my master page set up like so:

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                  <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
                  </asp:ContentPlaceHolder>
            </ContentTemplate>
                <triggers>
                </triggers>
              </asp:UpdatePanel>

- But in one of my content pages, i have a radscheduler, which will not work properly within an updatepanel, because it needs a full postback for most of the events i need, so I added the following to the code behind in that page, to allow for a full postback with this control (this approach has worked with the asp.net upload control):

<%@ MasterType virtualPath="~/Default.master"%>, this line is in the source html, so i can access with master page below:

protected void Page_Init(object sender, EventArgs e)
    {
        //Scheduler needs a full page postback, need to add trigger.
        PostBackTrigger trigger = new PostBackTrigger();
        trigger.ControlID = RadScheduler1.UniqueID;
        Master.MasterUpdatePanel.Triggers.Add(trigger);
    }

- when i add this, i get the following error:

Control with ID 'RadScheduler1' cannot be registered through both RegisterAsyncPostBackControl and RegisterPostBackControl. This can happen if you have conflicting triggers associated with the target control.



- My question is, is there a way to get my scenario above to work?  Having a RadScheduler in a content page, that is wrapped in an update panel within the master page, and allowing the full postback for my scheduler??

-
I know i could just create another content template, not within an update panel, and use that for this page, but there is a lot of other layout in the master page not shown above, that is preventing this. 
Thank you
Joe
Top achievements
Rank 1
 answered on 28 Aug 2008
1 answer
145 views
Hello all,

This is concerning determining the label value of a clicked item when drilling down in the Chart.

I am using the Chart with a SQLDataSource.  I would like to be able to determine the label value for the x-axis (label text being generated when bound to sql source) that was clicked so I could use this value to drill down when clicked.  Is this possible or could someone perhaps suggest some creative alternatives?

Thanks!
Giuseppe
Telerik team
 answered on 28 Aug 2008
1 answer
101 views
Is it possible to build in support for other languages?  For example if I wanted to use the editor to edit VBS or JS files(just examples I don't know if you support either of those today but lets assume you don't) could I build some type of handler for that so it did code highlighting and formatting?
Rumen
Telerik team
 answered on 28 Aug 2008
1 answer
114 views

Hi,

We are using RadUpload component with standard html input control. We have several controls that cause postback to the server on a form. And it is needed to upload file only when you press exact button, like upload button. But now it will try to upload file on every postback. How it can be fixed?

Example of usage:
<input type="file" runat="server">
<telerik:RadProgressManager ID="progressManager" runat="server" />
<telerik:RadProgressArea ID="progressArea" runat="server">
</telerik:RadProgressArea>

 Regards,

Jochem  Nuij

Veselin Vasilev
Telerik team
 answered on 28 Aug 2008
3 answers
293 views
Hello,

I have RadEditors (I use the version 7.3.1) in a page and these RadEditors are inserted in controls which have a style. I want to be able to edit the text with the default style inherited from the parent control. For example, if my RadEditor is inserted in a div with a style which center the text, I want to edit the text centered in my RadEditor without any additional style.
How can I have this behaviour ? I saw something about the default font but I would like to have a more general behaviour.

Thanks for your help.
Regards
Christel
Rumen
Telerik team
 answered on 28 Aug 2008
1 answer
112 views
Hi,

After upgrading to RadControls for ASP.NET AJAX I ran into a problem.

My setup is this:

1. Master page with RadWindowManager and RadWindows (outside of form-tag)
2. External javascript file included in master page containing function calling radopen()
3. Content page with user control calling the external javascript file trying to open a RadWindow

This worked fine before upgrading, but now GetRadWindowManager() in radopen() returns null. Please advice which changes I need to make to get my setup working again.

Regards,
Sjur

Georgi Tunev
Telerik team
 answered on 28 Aug 2008
2 answers
132 views
Hi, All:

I copied from an example at telerik.com:

<

rad:GridTemplateColumn HeaderText="DateIn" DataField="DateIn" SortExpression="DateIn">
<EditItemTemplate>
<rad:RadDateTimePicker ID="RadDateTimePicker1" runat="server" Culture="English (United States)" DbSelectedDate='<%# Bind("DateIn", "{0:D}") %>' SharedCalendarID="" MinDate="01-01-1900"> <DateInput runat="server" />
</rad:RadDateTimePicker>
</EditItemTemplate>

But this won't compile: "Cannot convert type 'string' to 'System.DateTime'".

Please help.

Stanley

Esperanza Ramos
Top achievements
Rank 1
 answered on 28 Aug 2008
4 answers
245 views
Good day,
Im trying to load an image on a radEditor control,i specified C:\Projects as the uploadpath under imagemanager. but i get the following error:
 

Server Error in '/Web Cleint' Application.

'C:\Projects' is not a valid virtual path.

may you please help

Omlac
Top achievements
Rank 1
 answered on 28 Aug 2008
2 answers
154 views
Heya Guys,

I have a bit of javascript as follows, this allows the panel bar to expand the item depending on an image clicked.  I also need it to do the on click server event in the javascript.  I have noticed there is an Item.click() for client side but i keep getting a 'Object does not support this property or method' javascript error on the click method.

--CODE--

function

ImageClick(index)

{

    var Menu = $find("<%= MenuBar.ClientID %>");

    var item = Menu.findItemByValue(index);

    for(var i = 0; i < Menu.get_allItems().length; i++)

    {

        Menu.get_allItems()[i].collapse();

    }

    if (item)

    {

        item.expand();

        item.select();

        item.click();
       
        GetParents(item);

    }

}

function

GetParents(item)

{

    var parent;

    parent = item.get_parent();

    parent.expand();

    if(!GetParents(parent))

    {

        return false;

    }

}

Ian
Top achievements
Rank 1
 answered on 28 Aug 2008
1 answer
110 views
I have a grid edit form user control and  it has a button that opens a radwindow. I am trying to set a value that returns from the radwindow into the textbox which my user control contains. How can I reach the textbox or the user control from code behind or is there any way to set the value using javascript ?

Thanks...

Missing User
 answered on 28 Aug 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?