Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
I have  treeview and it prints on the first page, but the items that make it extend to additional pages are not printing at all.

The printer is skipping the treeview and going to the next item on the page.

It doesn't matter if I set the treeview height to 100% or leave it undefined. It needs to keep expanding for all items and print all items.

.Height = Unit.Percentage(100) 
How is this fixed?

thanks.
Veselin Vasilev
Telerik team
 answered on 02 Apr 2010
1 answer
110 views
I'm evaluating RadTreeView.  My web app uses frames.  Navigation page with the tree is in left frame and is always visible.  The right frame page changes based on what is selected in the navigation tree.  The right frame page needs to be able to edit, add, and delete nodes in the navigation tree.  I'm unclear about how to accomplish this.  Would prefer a totally server side solution but client side script would be ok too if that's the only way to do it.

Not sure if the cross-page postback feature could be used to accomplish this or if there is some other way.

Thanks in advance.
Veselin Vasilev
Telerik team
 answered on 02 Apr 2010
2 answers
119 views
Hi,

I am currently implementing a page based on the MegaDropdown menu example, which can be found at

http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx

In Firefox, it all looks nice, but in IE8, the little bullets next to the last level menu items dont appear until you hover over the div that is dropped down from the menu.

As well as occuring in my application, I have also downloaded the example file and it showed this problem and it also shows it when using the demo page on the Telerik demos site as shown in the url above.

I am pulling my hair out trying to find what to put into the css file to stop this happening.

Any help would be very much appreciated.

Many thanks in advance.

Simon
Simon Martin-Lemmon
Top achievements
Rank 1
 answered on 02 Apr 2010
4 answers
140 views
Hi All,

There are lot's of items are exist at my tree. And i want to select continues items. may be 30 or more. Is it possible to use shift key for make this kind of selections. As you can imagine selected more controls with ctrl can be very hard.

Regards
T. Tsonev
Telerik team
 answered on 02 Apr 2010
1 answer
55 views
I have a treeview.
Can I pass his state (expanded or collapse of his nodes) from one page to another?
To be more precise:
page 1 with contain 1 + TreeView1
page 2 with contain 2 + TreeView1

if I open in the page 1 some nodes in TreeView1, when I load the page 2 I want that the same nodes are expanded in my TreeView1.

Thanks!
Veselin Vasilev
Telerik team
 answered on 02 Apr 2010
1 answer
95 views
Hi,

I have problem with loadcontrol also.
If I load control on server side:
Control userControl = LoadControl("usercontrols/result/resultgrid.ascx");
myDock.ContentContainer.Controls.Add(userControl); 

I have problem with client script on RadGrid. Some client ajax function are not ok (paging, page size, grouping, I see ajax load image only first time then only when refresh pages...).
I I load control as <uc1:ResultGrid ID="ResultGrid1" runat="server" /> all is OK.
But I need add control dynamically :(

Inside my usercontrol I have only RadGrid

<div> 
<telerik:RadAjaxManager ID="radAjaxManager1" runat="server"> 
    <AjaxSettings> 
        <telerik:AjaxSetting AjaxControlID="grdResult"> 
            <UpdatedControls> 
                <telerik:AjaxUpdatedControl ControlID="grdResult" LoadingPanelID="radAjaxLoadingPanel1"/> 
            </UpdatedControls> 
        </telerik:AjaxSetting> 
    </AjaxSettings> 
</telerik:RadAjaxManager> 
<telerik:RadAjaxLoadingPanel ID="radAjaxLoadingPanel1" runat="server" Transparency="5"> 
</telerik:RadAjaxLoadingPanel> 
</div> 
 
<asp:Panel ID="panelView1" runat="server"> 
 
<telerik:RadAjaxPanel ID="radAjaxPanel1" runat="server"> 
    
    <telerik:RadGrid ID="grdResult" runat="server" AllowPaging="True" PageSize="15" 
            ShowGroupPanel="True" GridLines="None" onitemdatabound="grdResult_ItemDataBound" 
            AllowSorting="True" RegisterWithScriptManager="true" onneeddatasource="grdResult_NeedDataSource"> 
        <PagerStyle Mode="NumericPages"></PagerStyle> 
        <ClientSettings AllowDragToGroup="True"> 
            <DataBinding EnableCaching="true" /> 
            <Selecting AllowRowSelect="true" /> 
            <ClientEvents/> 
        </ClientSettings> 
        <GroupingSettings ShowUnGroupButton="true" /> 
    </telerik:RadGrid> 
 
</telerik:RadAjaxPanel> 
 
</asp:Panel> 

Thanks for answer.

Regards
Roman Krsko

Pavlina
Telerik team
 answered on 02 Apr 2010
3 answers
116 views

In  RadPanelBar1_ItemDataBound event I create a redtreeview (at runtime)

Dim item_TreeView As New RadTreeView

item_TreeView.ID = "item_TreeView"

item_TreeView.DataSourceID = "ObjectDataSource2"

item_TreeView.DataFieldID = "IDCategory"

item_TreeView.DataFieldParentID = "IDParent"

item_TreeView.DataTextField = "Name"

item_TreeView.DataValueField = "IDCategory"

item_TreeView.Skin = "Default"

item_TreeView.ExpandAllNodes()

itemPanel.Controls.Add(item_TreeView)

----------------

My goal is to expand all tree nodes, despite this

item_TreeView.ExpandAllNodes()

it doesn’t happen, it remains collapsed

How can I do that?

Thank you so much

 

 

 

Veselin Vasilev
Telerik team
 answered on 02 Apr 2010
6 answers
240 views
Hey there,

We have a built an application that uses custom ASPX pages inside SharePoint. A few of our ASPX pages use the RadEditor control. We would like to turn on SpellCheck inside the RadEditor, but are running into problems getting this working inside SharePoint.

We can get the Spell Check toolbar button to be visible but when you click on the Spell Check button we see the label "Spell checking in progress..." but a javascript error is getting returned: Message: Sys.ArgumentException: Cannot deserialize. The data does not correspond to valid JSON. Parameter name: data

The en-US.tdf and Telerik.Web.UI.SpellCheckHandler.ashx exist in a folder inside the 12 hive folder. My guess is that we are not setting up the RadEditor with the two files mentioned above properly.

We also have added the following line to the web.config of the SharePoint folder in inetpub.

<add verb="*" validate="false" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI">

We are also setting some of the SpellCheckSettings of the RadEditor control:

SpellCheckSettings.AjaxUrl = "/_layouts/Telerik/Telerik.Web.UI.SpellCheckHandler.ashx"; 
SpellCheckSettings.DictionaryPath = "/_layouts/Telerik/en-US.tdf"; 

Can you see anything that is missing or incorrect? Or anything else you can suggest?

TIA,
C
Rumen
Telerik team
 answered on 02 Apr 2010
4 answers
305 views
I am fairly new to C# .NET and very new to Telerik controls so please forgive me if this is trivial.

I am having trouble getting the paging element to work for a RadGrid control.  Here is what I am doing: I read in a CVS file, parse it into a List<Dictionary<string,object>> and then add the data source to the RadGrid as such (omitting the code behind that creates the data).

                var data = ReadInCSVData(csvData); 
                var Idata = ConvertToIEnumerable(data); 
 
                RadGrid1.DataSource = Idata.ToDataSource(); 
                RadGrid1.DataBind(); 

Now, this works as far as when the page comes up I get the initial grid populated with data.  However, when I try to perform any of the paging (i.e. select a page to go to, or click on next page) I get errors on the web page and the callbacks never happen.  I have break points in every function and none of them ever get called.  The error in the browser (script error) is:

Sys.WebForms.PageRequestManagerServerErrorException: The state information is invalid for this page and might be corrupted.

I have googled this error without being able to find a solution.  I have been trying to follow the examples from the telerik site.  Here is my ASPX page:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs"  
    Inherits="BAPTFileUpload._Default" EnableEventValidation="false" ValidateRequest="false"%> 
 
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/tr/xhtml11/DTD/xhtml11.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"> 
<head></head> 
<body> 
    <form runat="server" id="mainForm" method="post"> 
        <h2>Table below</h2> 
        <br /> 
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"  
            ondatabinding="Page_Load" /> 
        <!-- content start --> 
            <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server"> 
                <AjaxSettings> 
                    <telerik:AjaxSetting AjaxControlID="RadGrid1"> 
                        <UpdatedControls> 
                            <telerik:AjaxUpdatedControl ControlID="RadGrid1" /> 
                        </UpdatedControls> 
                    </telerik:AjaxSetting> 
                </AjaxSettings> 
            </telerik:RadAjaxManager> 
            <telerik:RadGrid ID="RadGrid1" OnSortCommand="RadGrid1_SortCommand"  
                OnPageIndexChanged="RadGrid1_PageIndexChanged" Width="97%" AllowSorting="True"  
                PageSize="15" AllowPaging="True" AllowMultiRowSelection="True" runat="server"  
                Gridlines="None"  
            onselectedindexchanged="RadGrid1_SelectedIndexChanged"> 
                <MasterTableView Width="100%" Summary="RadGrid table" />     
                <PagerStyle Mode="NextPrevAndNumeric" /> 
            </telerik:RadGrid> 
    </form> 
</body> 
</html> 
 





Pavlina
Telerik team
 answered on 02 Apr 2010
1 answer
183 views
Hello,
I have a question about the Title property of the RadWindow.

On a master page, I've added a RadWindowManager, with a RadWindow inside. 
There is more than one page that is using this master, and depending of the current content page, the same popup displays different data (the popup content is ensured by other aspx pages, especially created for this).

I'm trying to set up a different title on the popup, depending of the current page of the master, with no luck. Because the aspx pages used in the popup are used in other parts of my site, I cannot set a title at design time on these pages (using Page.Title, or <head><title></title></head> tags).

Now I'm setting the title programmatically in the content page on Page_Load, like this:

myMasterPage.wndPopup.Title
 = "My Title";

, but this does not seem to work. I'm assuming this happens because this property gets overriden by the empty property on the popup pages (in the <head><title> tags)

Any suggestions are welcome.

Thanks


Tsvetie
Telerik team
 answered on 02 Apr 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?