Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
43 views
I see Editor.css file though. Has the file been renamed to Editor.css ? I need to set default font and font size for the Editor. Do I need to make those changes in Editor.css file ?I am using  RadControls for ASP.NET AJAX Q2 2010
Rumen
Telerik team
 answered on 01 Dec 2010
1 answer
90 views
Hi,

I get Microsoft JScript runtime error: 'attributes' is null or not an object when I add more than 3 item in my radmenuitem. I am adding it dynamically creating new radmenuitem("Myvalues"). I have my custom skin as said in below url to match my site theme

http://www.telerik.com/help/aspnet-ajax/menu_appearancecreatingacustomskin.html

Can you please let me know the possible errors.

Thanks
Bino
Princy
Top achievements
Rank 2
 answered on 01 Dec 2010
2 answers
82 views
Hello,

I am using Grid ... when I click Export to Excel in a blank grid, paging controls are getting displayed

Is there anyways to avoid this?!

Raj
Pavlina
Telerik team
 answered on 01 Dec 2010
1 answer
28 views
Hi All,

I am implementing a RadGrid without paging. What is the webservice signature for this case?
I researched the documentation and found how to do this with paging enabled, but it does not say anything about not having paging.

Thanks,
E.
Iana Tsolova
Telerik team
 answered on 01 Dec 2010
4 answers
90 views
Hello All,

I searched the forum but could not find the answers to the following questions...

1.
LoadXMLString is used to load the treeView controls discussed below.
On a web page with three treeView controls, some elements (branch or leaf) have a link and a ToolTip.
When I right-click the element and create a bookmark, the name of the bookmark is using the text in the ToolTip rather than the label on the element, e.g. if the label's Text attribute in XML is ABC and the Tooltip is 123, the bookmark created will have 123 as the name instead of ABC.

Is there a way to configure the tree to use the Text instead of the Tooltip?

2.
Here is a sample of the XML used to load one of the trees:
<Node H="10.00.00.00" NavigateUrl="~/Default.aspx?ID=10.00.00.00" 
Target="_blank" Text="Energy (551)" Image="./Images/2_1.gif" 
Tooltip="Energy">
<Node H="10.10.00.00" Text="Energy">

As you may notice, the second node does not have a NavigateUrl tag, yet it still shows as a link in the tree i.e. when I hover the mouse over the label, the pointer changes to a hand and the text becomes underlined. Of course, when clicking on it, nothing happens.

Is there a way of preventing elements from showing as a hyperlink when NavigateUrl is null?

Thank you.
Sorin
Peter
Telerik team
 answered on 01 Dec 2010
1 answer
98 views
Hi,

I'm building my own custom "toolbar" (it's not a RadToolBar) on a page containing a FileExplorer, amongst other things. From that custom toolbar, I'd like to invoke some of the built in commands in FileExplorer.

So, as an example, when clicking my own custom "New Folder" button, it does the exact same thing as the New Folder toolbar button does in FileExplorer: Opens up the FileExplorers _own_ 'New Folder' dialog.

I would like to be able to do this for 'New Folder', 'Delete', 'Upload', and the rest of the built in commands in FileExplorer.

It it doable?

Thank you,
Best regards,
Andreas



Fiko
Telerik team
 answered on 01 Dec 2010
3 answers
128 views
Team,

        We are developing a custom application for personalization approach in asp.net using rad controls. In this regard we are planning to use rad docks one of the list of web parts and the other for to have the original instance of the web part.

 

Introduction

 

We want to create an custom .Net application which persumes the user personalization with a web part gallery (custom) and a page where the users can add web parts from the gallery to the actual page. In this regard we want to use the telerik controls to support some of the functionalities. Following are the controls of telerik that are planning to use

 

RADDockLayout – To simulate web part zone

RADDock – To simulate the drag and drop feature between the zones

RADWindow – To simulate gallery opening from the page

RADRotator/RADMenu – Which will be control to render the web parts

 

Requirements

 

Page with 3 columns where user can add/drag and drop the web parts

When a user clicks on a button “add web part ” on the page

Flyout should come up showing the web part gallery

User should be able to drag and drop a web part from the gallery to the page

 

Problem Area

 

Drag and Drop – Create instance

 

Took two RadDock Layout one is having raddocks loaded using database as source. The other is empty. The docklayout that is initially loaded assume that is a kind of a gallery (represents an image for a webpart) But when a user drags a dock on to the second docklayout, the actual instance should remain as it is, but using some metadata information within the dock should create a new dock instance place it into the second docklayout

 

Disappearing window

           

            When a gallery is opened (on click of some button on the page) as fly out, after user finishes his interaction he will be clicking within the parent page some where so the fly out should disappear

Approach – Planning to use radwindow for this requirement

Pero
Telerik team
 answered on 01 Dec 2010
5 answers
159 views
Hi,

i am using a RadTreeview with CheckBoxes within a RadComboBox. Everything works fine, but the Combox collapses every time I Check a Node. I found a solution using the StopPropagation Function in JavaScripting preventing this behaviour, but now i am facing another problem: The Nodes I had checked are not checked anymore when submitting the form.

How can I prevent the ComboBox from collapsing AND persist the Checked States and reading them in code behind after submitting the form?

Following Code I use:

function StopPropagation(e) {
            if (!e) {
                e = window.event;
            }
 
            e.cancelBubble = true;
        }



<rad:RadComboBox ID="ddYearQuarterMonthDate" runat="server" Width="100%" Height="350px">
                                                    <ItemTemplate>
                                                        <div id="div1" onclick="StopPropagation(event);">
                                                        <rad:RadTreeView ID="radTreeViewYearQuarterMonthDate" runat="server" MultipleSelect="True" CheckBoxes="true"
                                                    TriStateCheckBoxes="false" CheckChildNodes="false" onclick="EmptyRadDatesAndRblTimespan();">
                                                        </rad:RadTreeView>
                                                        </div>
                                                    </ItemTemplate>
                                                    <Items>
                                                        <rad:RadComboBoxItem Text="" />
                                                    </Items>
                                                </rad:RadComboBox>

                               
Veronica
Telerik team
 answered on 01 Dec 2010
1 answer
191 views
Is it possible to have a hierarchical RadGrid where the DetailTable is bound to a property from the Master's data object?

For example, my RadGrid (MasterTableView) is bound to an ObjectDataSource.  The select method returns a collection of Customer objects.  Each Customer object has a collection of Account objects (simple one-to-many relationship).

Obviously my MasterTableView displays the Customer columns and I'd like to simply display all the Accounts in a nested or detail-style table indented underneath.

Where I'm getting confused is whether or not the DetailTable (GridTableView) must use another datasource.

It seems inefficient to have to make additional trips to the database to lookup the accounts for each individual Customer when I already have everything I need.

I think I'm basically wanting to somehow bind my DetailTables (GridViewTable) DataSource to the Accounts property..  but the only option I see is to point it to a completely different DataSourceId.

This is a trimmed-down version of my RadGrid and what I'm basically trying to achieve.  (I know the DataSource property shown on the GridTableView isn't valid - this is just me trying to show what I'd like to do.)

<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="objCustomers"
    AutoGenerateColumns="False">
    <MasterTableView DataSourceID="objCustomers" DataKeyNames="CustomerId">       
        <Columns>         
            <telerik:GridBoundColumn DataField="FName" />
            <telerik:GridBoundColumn DataField="LName" />
        </Columns>   
        <DetailTables>                           
            <telerik:GridTableView DataKeyNames="AccountId" DataSource='<% Eval(Accounts) %>' />
                <ParentTableRelation>
                    <telerik:GridRelationFields DetailKeyField="CustomerId" MasterKeyField="CustomerId" />
                </ParentTableRelation>
                <Columns>
                    <telerik:GridBoundColumn DataField="Type" />
                    <telerik:GridBoundColumn DataField="AcctNum" />
                </Columns>
            </telerik:GridTableView>
        </DetailTables>       
    </MasterTableView>
</telerik:RadGrid>


The Customer Object is basically
CustomerId   (key)
FName
LName
Accounts (collection of Account objects)
Account object is basically:
AccountId (key)
CustomerId (foreign key)
Type
AcctNum


Any guidance would be appreciated.

Thanks-
Kenneth
Princy
Top achievements
Rank 2
 answered on 01 Dec 2010
1 answer
50 views
I have a RADTreeView that has a context menu item. When the context menu item is clicked a RADWindow is called and made visible to the end user for input. After the user is finished inputting, the data is inserted into a database. This data then becomes a ndoe within the RADTreeView.

What I want is for the RADTreeview to reflect this change in after the RADWindow is closed. Is this possible?

Right now, the only way for the changes to be reflected is to refresh the whole page.

Any help would definitely be appreciated. Thank you.



PJ
Princy
Top achievements
Rank 2
 answered on 01 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?