Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
120 views
I have a little problem, I have a Grid that is populated with some of the columns from the Customer table, because if all the columns were displayed in the Grid it would continue off the page.  So I've removed un-important columns in the grid to make it fit on the page.

But I want to be able to edit inline using the EditForm mode and display ALL the entity fields.

Is there a built-in way of doing this?  I've looked in the documentation and I can't tell if it's answered there.  Do I need to write some code to make this work?

Any help would be appreciated.

Thanks,

King Wilder
King Wilder
Top achievements
Rank 2
 answered on 13 Aug 2009
1 answer
129 views
Would it be possible to modify or post an update to this article with the LinqDataSource as the provider?
Or just point us in the right direction for the DeleteCommand syntax.

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


Thanks




Veli
Telerik team
 answered on 13 Aug 2009
4 answers
247 views
Hello, I searched your forum, and this post seems to reference my issue, but the solution given does not apply to me:
http://www.telerik.com/community/forums/aspnet-ajax/calendar/disable-hover-css-class.aspx

Some weird things are happening to my page when the autopostback property is set to true.  The reason I need to use this is because I want to give certain days a special class, which is determined by hitting a database on the DayRender event.  The main issue is that once the month is changed, if you hover over one of these special days, it loses its special class even after its not being hovered anymore.  The only way to get the class back is to change the month again.  Again this only happens after a postback, the first displayed month works fine pre-postback.

Another minor issue I'm having is that after performing a post back on the calendar, an IE only style sheet is loaded which messes up the display of the page.  The way I'm making this style sheet IE only is the following block:
    <!--[if lte IE 6]>
      <link media="screen, projection" type="text/css" href="css/ieStyles.css" rel="stylesheet"/>
    <![endif]-->

If this is not stated clear enough, I'll be more than happy to try to give a more repeatable example.
Zach
Top achievements
Rank 1
 answered on 13 Aug 2009
1 answer
117 views
I am using the default Rad-menu skin on my navbar and trying to modify it to my liking using Css. Everything is correct except I cannot remove the gray box selector that appears when I hover over any sub menu items. I've also tried removing the background images in menu.default.css file with no luck. Where is this gray box coming from?


Atanas Korchev
Telerik team
 answered on 13 Aug 2009
1 answer
162 views
I'm having trouble on the client side trying to grab a radeditor object so I can test to see if anything has been entered.

I can't just do a $find("RadEditor1.ClientID") because the editor is actually nested within a radsplitter, in a radpane, and in a radajaxpanel within that.  What's the correct way to grab a handle to this puppy?!

Nesting is shown below.  How do I access that RadEditor1?

Thx

    <telerik:RadSplitter id="RadSplitter1" runat="server" height="455" width="960" > 
        <telerik:RadPane id="settingsPane" runat="server" width="200" Scrolling="None">  
            <telerik:RadSplitter id="RadSplitter2" runat="server" orientation="Horizontal" > 
                <telerik:RadPane id="topPane" runat="server" Scrolling="None" Height="300" MinWidth="200" MaxWidth="250">  
...content here...  
                </telerik:RadPane> 
                <telerik:RadSplitBar id="RadSplitbar2" runat="server" CollapseMode="Backward"></telerik:RadSplitBar> 
                <telerik:RadPane id="bottomPane" runat="server" Scrolling="None" MinWidth="200" MaxWidth="250">  
...content here...  
                </telerik:RadPane> 
            </telerik:RadSplitter> 
        </telerik:RadPane> 
        <telerik:RadSplitBar id="RadSplitbar1" runat="server" CollapseMode="Backward" ></telerik:RadSplitBar> 
        <telerik:RadPane id="editorPane" runat="server" scrolling="none" Width="730" MinWidth="460" MaxWidth="730">  
            <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" height="455"   
                HorizontalAlign="NotSet" LoadingPanelID="RadAjaxLoadingPanel1" width="960">  
                <telerik:RadEditor ID="RadEditor1" Runat="server" Width="730" Height="455" ToolsFile="~/Misc/Toolbars/Deploy.xml">  
                </telerik:RadEditor> 
            </telerik:RadAjaxPanel> 
        </telerik:RadPane> 
    </telerik:RadSplitter> 
 
Kevin
Top achievements
Rank 2
 answered on 13 Aug 2009
4 answers
199 views
I have a RadTreeView on a MasterPage inside 2 nested splitters. I am using LoadOnDemand, but need to be able to expand nodes from serverside code. I am attempting to do this by calling the method I have written to expand the node to the ResponseScripts. This method is in a RadCodeBlock as follows:

<telerik:RadCodeBlock ID="RadCodeBlock2" runat="server"> 
<script type="text/javascript"> 
    function expandNode(nodeid) { 
        var treeView = $find("<%= NavigationTreeView.ClientID %>"); 
        var node = treeView.findNodeByValue(nodeid); 
        if (node) { 
            node.expand(); 
            return true; 
        } 
        return false; 
    }    
</script> 
</telerik:RadCodeBlock> 

My problem is that I am not able to access the RadTreeView to expand the nodes.  Please give me some guidance on how to access the RadTreeView.

Thanks!

Lauren Kirschner


Lauren
Top achievements
Rank 1
 answered on 13 Aug 2009
1 answer
68 views
Hi all,

I want to create a grid table with columns from multiple linq data source (like from booking table and user table). How can I do that?

In case there is one way to do that, can I use grideditcolumn for each row of the grid?

Thank you,
Georgi Krustev
Telerik team
 answered on 13 Aug 2009
1 answer
119 views
Hi

I have a treeview control inside a radcombobox.

When I try to databind to the treeview Iam getting error "These columns don't currently have unique values"
It works fine if I comment  " .DataFieldParentID = "ParentId", but parentId column cannot have unique values.
I am confused can any one help me in this regard.

radTree = DirectCast(RadComboBoxCategoryLevels.Items(0).FindControl("RadTreeView"), RadTreeView)
        radTree.Nodes.Add(New RadTreeNode("Any Category", ""))
        If Not IsNothing(dtCategoryLevels) Then
            With radTree
                .DataTextField = "Name"
                .DataValueField = "FriendlyURL"
                .DataFieldID = "id"
                .DataFieldParentID = "ParentId"
                .DataSource = dtCategoryLevels
                .DataBind()
            End With
        End If

venm
Top achievements
Rank 1
 answered on 13 Aug 2009
6 answers
305 views
Hi,

I want to disable the rcbReadOnly css class so that all combo boxes look the same - what's the best way of approaching that?

I'm finding the problem on a combo box with a tree shown inside it - theme I'm using is Web20.

Regards,

Jon
Jon
Top achievements
Rank 1
 answered on 13 Aug 2009
4 answers
150 views
Hi,

I am using RadGrid with Checkbox that i use to allow the user to select multi rows by checking the check box.

What i am facing is when i check the checkbox in the grid from top of the grid going down it works fine with me, i can later read all the selected rows nicely. But if i check the checkbox randomly top then button and then to, the reading will be incorrect. that means i can not get the selected rows correctly. So if i select 3 rows from button to up direction and try to read the selected rows, it return the
button row 3 times instead the value of the 3 row.

I hope i am making sense ....

I am using the following code.

Note Multi selection Server Side.

To Read the selected rows:

 

Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button3.Click

 

 

        For Each dataItem As GridDataItem In RadGrid1.MasterTableView.Items

 

 

 

 

            If CType(dataItem.FindControl("CheckBox1"), CheckBox).Checked = True Then

 

     

 

              ListBox1.Items.Add(CType(RadGrid1.SelectedItems(0), GridDataItem)("ID").Text)

 

 

                  dataItem.Selected =

 

False

 

 

 

 

            End If

 

 

 

 

        Next

 

 

 

 

        For Each dataItem As GridDataItem In RadGrid1.MasterTableView.Items

 

 

 

 

            CType(dataItem.FindControl("CheckBox1"), CheckBox).Checked = False

 

 

 

 

        Next

 

 

 

 

End Sub

 

 

 

 

 




Protected

 

Sub RadGrid1_PreRender(ByVal sender As Object, ByVal e As System.EventArgs) Handles RadGrid1.PreRender

 

 

 

 

        For Each dataItem As GridDataItem In RadGrid1.MasterTableView.Items

 

 

 

 

           If CType(dataItem.FindControl("CheckBox1"), CheckBox).Checked = True Then

 

     

 

               dataItem.Selected = True

 

 

 

 

            End If    

 

 

 

 

       Next

 

 

 

 

End Sub

 

 

 

 

 

Hope some one will direct me to the right way of doing it.

Many Thanks
Omar
o
Top achievements
Rank 2
 answered on 13 Aug 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?