Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
163 views
Let's say that I have this text here exactly as it is typed into HTML view, I have only bolded the attribute value to distinguish the change that the Editor made automatically, the bolding is not in the original test:

<p name=pStySM1T008_TT>Enroll now,<br>PLUS use the special offer inside before January 14th!<br><br></p>

Now, the instant that I switch from HTML to Design and back to HTML, the text has changed to this:

<p name="pStySM1T008_TT">Enroll now,<br>PLUS use the special offer inside before January 14th!<br><br></p>

I have also made sure that this is reproducible in the Telerik Content Filters Demo here: http://demos.telerik.com/aspnet-ajax/editor/examples/builtincontentfilters/defaultcs.aspx

My first thought was to remove the ConvertToXhtml filter, but I have tried disabling all filters, as well as enabling various combinations of filters and I am still unable to prevent the quotes from automatically appearing around my attribute values. I absolutely do not want the Editor to make assumptions about how to treat or reformat my content.
Rumen
Telerik team
 answered on 20 Oct 2011
1 answer
99 views
Hi,

I need to get an array of the root nodes of my tree view, but when i try, the tree view is a divElement and the nodes indefined.
This is my code:
JS:
function deshabilitarNodos(treeView, args) {
    alert("Llegue");
    var tree = <%=RadTreeView2.ClientID %>
    alert (tree);
    var nodosPrincipales= tree.Nodes;
    alert(nodosPrincipales);  // This is indefined
}

ASP:
<telerik:RadTreeView ID="RadTreeView2" runat="server" Width="300px" 
            Height="900px" DataFieldID="Id" DataFieldParentID="Padre" 
            ImageUrlField ="Imagen" DataSourceID="ObjectDataSource1" 
            DataTextField="Nombre" DataValueField="Id" OnClientNodeExpanding="deshabilitarNodos" >


            <DataBindings>
                <telerik:RadTreeNodeBinding ImageUrlField="Imagen" Expanded="false" />
            </DataBindings>
        </telerik:RadTreeView>


        <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
            SelectMethod="cargarSegmentos" TypeName="PL.Util.cliente">
        </asp:ObjectDataSource>

Thanks.
Princy
Top achievements
Rank 2
 answered on 20 Oct 2011
2 answers
136 views
Hi!

I can add AppointmentContextMenus rows programmatically like this:

foreach (Resource resourceUser in RadScheduler1.Resources.GetResourcesByType("Employee"))
{
    string availEmployee = resourceUser.Text;
    RadMenuItem resourceItem = new RadMenuItem(availEmployee);
    resourceItem.Attributes["Key"] = resourceUser.Key.ToString();
    resourceItem.Value = "CommandAddAppointment";
    resourceItem.ImageUrl = "/i/Toolbar/Custom/personal.png";
    RadScheduler1.AppointmentContextMenus[0].Items.Add(resourceItem);
}

How can I put them into a submenu?
See my attached picture (a screen dump from Telerik Context Menu Demo), I want my list of employees to end up inside the "Categorize" menurow.

I'm using v.2011.2.915.40

Sincerely, Thomas
Thomas
Top achievements
Rank 1
 answered on 20 Oct 2011
2 answers
388 views
hi,
I added multiple file and I unable to get full file path in server side using RadAsyncUpload.
Its one of my urgent requirement Please help me on this.


Thanks & Regards
Manikandan Kumar
Dimitar Terziev
Telerik team
 answered on 20 Oct 2011
1 answer
136 views
Hello,

I have small question...

I have 4 appointments, all at the same time (from-, to-, hours), one slot.

What is the key to sorting these appointments in RadSchedulers or how I can it set up?

Thanks!
Lukasz Kalbarczyk
Top achievements
Rank 1
 answered on 20 Oct 2011
3 answers
152 views
As the thread title suggest when I have the AutoResizeHeight="true" property set on a RadEditor field and press the toggle full screen mode with content's height that exceeds the height of the screen, the scroll on the RadEditor does not appear.
If i do not have this property set the full screen works correctly. I can also replicate this on the online demo here

http://demos.telerik.com/aspnet-ajax/editor/examples/autoresizeheight/defaultcs.aspx

Any assistance would be appreciated.

 

Rumen
Telerik team
 answered on 20 Oct 2011
10 answers
203 views
Hello,
when I click on button "Nuovo"  and then on checkbox "Attiva", nothing happens.
 
URL
http://www.swistel.ch/gestione/liste_distribuzione.aspx
 
DLL VERSION
14.1.2010
 
I would like to use my dll version without making an upgrade.
 
Thank you
 
Alberto
AB
Top achievements
Rank 1
 answered on 20 Oct 2011
0 answers
165 views
Hi,

I have a problem with the tabindex property.
Attached a screen-shot of a sample form which is based on the demo http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/usercontroleditform/defaultcs.aspx (But with addional field that are not related to the RadGrid control and colored in Green).
I need set the tabindex attribute for all fields in the user control (Colored in Red), so clicking on the tab key in the keyboard won't move the cursor out of the user control.

By the way all fields out of the RadGrid control has thier own tabindex property, so I want to create a two tabindex groups:
1) Fields out of the RadGrid control.
2) Fields inside the user control edit form.

It is possible?
Please, I need your help in order to solve the a bove problem.

Regards,
Bader
Bader
Top achievements
Rank 1
 asked on 20 Oct 2011
3 answers
133 views
I have 2 RadDateTimePicker controls on the page and after user changes time on the first control I want to set another control to display time shown in 1st control (and plus 30 minutes). I've tried using <ClientEvents OnDateSelected="changeEndDate" /> and this javascript but it does not seem to work. Both controls are located inside of an AdvancedInsertTemplate of RadScheduler. 

function changeEndDate(sender, eventArgs) {
      var endDate = $telerik.$("[id$='EndInput']");
      var newDate = eventArgs.get_newValue();
      endDate.set_selectedDate(newDate);
}

What am I doing wrong? Thanks
Maria Ilieva
Telerik team
 answered on 20 Oct 2011
3 answers
120 views
Howdy,

I seem to be stuck on something that is prolly simple. I am using the RadRotator and want to show a series of images in a specific order. For example: an image that says Step 1, followed by an image that says Step 2, followed by an image that says Step 3. If I am on Step 1's image and I hit the previous button, Step 3's image should appear. I currently override the control buttons and use my own Left and Right button. If I use XML and load all the images from XML everything works fine.

However, I now need to be able to add dozens of steps and I don't want the user to wait for all the images to download. So I want to switch to the Load on Demand pattern. I have a web service method that creates the RadRotatorItemData on the fly and is working but not in the way I want. I am using the itemIndex parameter to determine what the next image that needs to be built is. However, since I don't know which direction the user is going (Left or Right) I build the wrong image if the user goes Left.

What I don't see in the documentation is how to specify how many items get created on demand and what the scope of those new items should be (ie. Steps 1 - 5 or Steps 15 - 20), The demo is loading 5 items at a time, but I don't see how that is configured. Also, if I have loaded the first 5, and I need the 2nd 5 items, how do I tell the web service method what batch of 5 I need, since I can only pass in the itemIndex parameter. And if my current index is 0, and the user clicks on the Left button, I need to load the last five steps (which may be Steps 18 - 23).

In summation, I want this slideshow demo merged with the Load on Demand functionality.

Hope this makes sense...

Thanks,
Seth
Slav
Telerik team
 answered on 20 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?