Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
138 views
Hi,

I am using RadTreeView Control. I want place folder image instead of '+' symbol. Input for RadTreeViewControl is through xml file. Where can I add the image and remove '+' symbol from tree structure?

I have visited this http://demos.telerik.com/aspnet-ajax/treeview/examples/programming/xmlfile/defaultcs.aspx here .xml file is being referred, but file content has not been provided.
Can anybody please help me in this?

Regards,
Medac
Medac
Top achievements
Rank 1
 answered on 14 Oct 2009
2 answers
136 views
Hi there,
        I have created InlineInsertTemplate and InlineEditTemplate for the RadScheduler.  I have set the following properties on the Scheduler:

RadScheduler1.AdvancedForm.Enabled = false;
RadScheduler1.StartInsertingInAdvancedForm = false;
RadScheduler1.StartEditingInAdvancedForm = false;
RadScheduler1.MinimumInlineFormHeight = 30;
RadScheduler1.MinimumInlineFormWidth = 260;

When I double click on an empty date in the scheduler it pops up my InLineInsertTemplate looking perfect.
When I double click on an existing Appointment it pops up my InLineEditTemplate with the correct width but the Height is not right.  The top and bottom of the dialogue meet and you can't see the controls till you drag out the end.
Both the InLineInsertTemplate and InLineEditTemplate's are the same as far as controls and layout go.  The controls just have different IDs.

Is this happening to anyone else or just me?

How can I fix this?

Regards,

    Scott.
Scott Laughton
Top achievements
Rank 1
 answered on 14 Oct 2009
2 answers
91 views

Hiya,

 

Vs2008

Q2 2009 SP1

 

I have a dynamicData project.

When I was using an old radMenu, the project worked fine.

Now, with the new radMenu, I get an error.

 

Old rad menu:

oldRadMenu.DataSource = visibleTables; 
oldRadMenu.DataBind(); 
 

NEW radMenu:

q2RadMenu.DataSource = visibleTables; 
q2RadMenu.DataBind();  //Error:  
//Object of type System.Web.DynamicData.MetaTable does not have a TableName property. 
 

So, I have proved that the new menu errors when it is given the exact same dataSource as an old radMenu.

The aspx is the same for both:

<telerik:RadMenu ID="q2RadMenu" runat="server" DataTextField="TableName">   
</telerik:RadMenu> 
 
<radM:RadMenu ID="oldRadMenu" runat="server" DataTextField="TableName"> 
</radM:RadMenu> 
 

Please specify:

1)    why the new menu breaks

2)    What I need to do to fix it.

 

I previously took the time to ask Telerik whether radMenu would work as-is with Dynamic Data, and was informed that it would.

 

Thanks,

 

yogi

Chris Yoker
Top achievements
Rank 1
 answered on 13 Oct 2009
0 answers
88 views
hello
I am trying to determine how to embed my contextMenus inside my tools file.
I have looked at http://www.telerik.com/help/aspnet-ajax/usintthetoolsfile.html and http://www.telerik.com/support/kb/aspnet-ajax/editor/default-toolsfile-xml-file.aspx. Using the tools files seems to allude that you can embed the contextMenus into the tools menu... except it doesn't seem to work.
I have like this 

<?

 

xml version="1.0" encoding="utf-8" ?>

 

<

 

root>

 

-

<modules>

 

<

 

module name="RadEditorStatistics" dockingZone="Bottom" enabled="true" visible="true" />

 

<

 

module name="RadEditorDomInspector" dockingZone="Module" enabled="false" visible="false" />

 

<

 

module name="RadEditorNodeInspector" dockingZone="Module" enabled="false" visible="false" />

 

<

 

module name="RadEditorHtmlInspector" dockingZone="Module" enabled="false" visible="false" />

 

</

 

modules>

 

<

 

tools>

 

 

<

 

tool name="FindAndReplace" />

 

<

 

tool name="Undo" />

 

<

 

tool name="Redo" />

 

<

 

tool name="Cut" />

 

<

 

tool name="Copy" />

 

<

 

tool name="Paste" shortcut="CTRL+!"/>

 

<

 

tool name="InsertOrderedList" />

 

<

 

tool name="InsertUnorderedList" />

 

 

<

 

tool name="FormatStripper" />

 

<

 

tool name="PasteFromWordNoFontsNoSizes" />

 

 

 

 

<

tool separator="true"/>

 

 

<

 

tool separator="true"/>

 

<

 

tool name="FormatBlock" />

 

<

 

tool name="Bold" />

 

</

 

tools>

 

<

 

paragraphs>

 

<

 

paragraph name="Clear formatting" value="&lt;body&gt;" />

 

<

 

paragraph name="&lt;H3&gt;Heading 3&lt;/H3&gt;" value="&lt;H3&gt;" />

 

</

 

paragraphs>

 

<

 

contextMenus>

 

<

 

contextMenu forElement="IMG" enabled="true">

 

<

 

tool name="Paste" />

 

<

 

tool name="pastePlainText" />

 

</

 

contextMenu>

 

</

 

contextMenus>

 

</

 

root>

All I want if for my users to past plain text or paste only. Any thoughts would be appreciated.
mac

 

mac
Top achievements
Rank 1
 asked on 13 Oct 2009
4 answers
148 views
Hi,

I'm using Telerik.Web.UI library version 2009.2.826.35.On the page there are several UpdatePanels, Grids and Charts.
The problem is that I'm getting javascript error messages claiming that "'parentNode' is null or not an object", "'null' is null or not an object", etc. When trying to debug it opens up the Telerik.Web.UI.WebResource.axd and complains on the lines:
"var Q=Z.getClientRects();" or "var c=p.isVertical();"

Can you help with solving these issues?

Thanks,
Ruben.
rubenhak
Top achievements
Rank 1
 answered on 13 Oct 2009
1 answer
163 views
Hi,
I'm just looking for the standard idiom for catching an event (a button click for example) on the client, doing an ajax postback to do a save and then displaying a dialog afterward. Basically, in my app, I have a button for running a particular report. However, before running the report I want any changes the user made to be saved. Once saved, I need to display a dialog to collect parameters for the report.
So, the psuedo code on the client would be something like this:

function OnSomeButtonClick()
{
    // make a call to the server to save the current page data
    // upon returning from the previous ajax call, open an RadWindow
}

If someone could kindly help me fill in the blanks I'd sure appreciate it.
Thanks ... Ed
HHalim
Top achievements
Rank 2
 answered on 13 Oct 2009
6 answers
219 views
In my ContextMenuItemClick event handler, I'm adding a new RadTreeNode to e.Node.Nodes, but the code has no effect.

Can you tell me why?

I have attached my small VS2008 project where the problem occurs.  I had to change the extension from .zip attachment to .jpg, so detach it and rename to .zip before extracting it.

Thanks.
Ez
Top achievements
Rank 1
 answered on 13 Oct 2009
8 answers
361 views
I would like about 3 pixels between each of my RadDocks boxes and I have set the style of each to have a bottom padding of 3px. The problem is that when the page initial loads all the docks are squished together and I have to actually move them and drop them back in place before the padding "shows up". I am using the Office 2007 skin. Any ideas on how to force space between the docks (We are calling them Widgets).

Thanks

Paul
James
Top achievements
Rank 1
 answered on 13 Oct 2009
2 answers
133 views
I have a RadComboBox with an Item Template to do multi selection.  When the user clicks in the check boxes in the drop down the appropriate text is placed in the Combobox Text just as in the Telerik examples.  But When the user closes the combo I want the server event OnSelectedIndexChanged to fire so I can reload other combos based on the selections from the previous combo. 

The only way I could get OnSelectedIndexChanged  to fire is by setting AutoPostPack to "True".  But when I did that it would wipe out the text of the changed combobox.  So I set EnableViewState to "False" and that wiped out the entire combobox.

How can I retain the text values in the combobox after a postback?  Or am I going about this the wrong way?




<telerik:RadComboBox ID="cbOrganization" Runat="server"  
                        AppendDataBoundItems="True" HighlightTemplatedItems="True"                          
                        OnItemsRequested="cbOrganization_ItemsRequested" 
                        OnSelectedIndexChanged="cbOrganization_SelectedIndexChanged"                         
                        AutoPostBack="True"> 
                        <ItemTemplate> 
                            <asp:CheckBox ID="chk" runat="server" onclick="StopPropagation(event)"  
                                Text='<%# DataBinder.Eval(Container.DataItem, "fffb_organizations") %>'  
                                oncheckedchanged="chk_CheckedChanged" /> 
                        </ItemTemplate> 
                        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                    </telerik:RadComboBox> 



Eric Turner
Top achievements
Rank 1
 answered on 13 Oct 2009
4 answers
170 views
Folks,

I have seen this issue referenced, but no resolution. Essentially, it is this:

When a StartsWith or Contains Filter is used with the RadComboBox, the images disappear in the dropdown after the first Open. I noticed that if a full postback occurs, the images will eventually show again, but if AJAX is used on the selecteditemchanged event then the images are forever gone until the entire page is reloaded. I have tried to workaround this is numerous ways, even trying to set the text to an initial null state...all to no avail.

What is the workaround for this issue. Under the current situation the image is essentially useless (and invisible) after a single click, regardless of how many times a user may be opening and closing it.

Thoughts? Help!

Simon
Telerik team
 answered on 13 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?