Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
756 views
I'd like to put a (in this case) very slim spacer between each line in my grid.
See attached image.

Any ideas?

Jeppe Jespersen
Denmark

Dimo
Telerik team
 answered on 12 Oct 2009
1 answer
105 views
Hi,
When i set the width of the toolbar button in percentage, firefox(v3.5.3) will not be able to display correctly. Any solution?
<CommandItemTemplate> 
                                <telerik:RadToolBar ID="RadToolBar1" runat="server" CausesValidation="False" Skin="Sunset" 
                                    OnClientButtonClicking="OnClientButtonClicking" AutoPostBack="True"  
                                   style="display:block; float: none"> 
                                    <Items> 
                                      <telerik:RadToolBarButton runat="server"  Text="Add New" 
                                            CommandName="AddNew" Width="20%"> 
                                        </telerik:RadToolBarButton> 
                                        
                                        <telerik:RadToolBarButton runat="server" Text="Delete" 
                                            CommandName="DeleteFile" Width="20%"> 
                                        
                                        </telerik:RadToolBarButton> 
                                        <telerik:RadToolBarButton runat="server"  Text="Refresh" 
                                            CommandName="Refresh" Width="20%" > 
                                        </telerik:RadToolBarButton> 
                                       
                                        <telerik:RadToolBarButton runat="server" Text="AutoRefresh OFF" 
                                            CommandName="Autorefresh" AllowSelfUnCheck="True" CheckOnClick="True" Width="20%"> 
                                        
                                        </telerik:RadToolBarButton> 
                                        <telerik:RadToolBarDropDown runat="server" Text="Filter Files" > 
                                            <Buttons> 
                                                <telerik:RadToolBarButton runat="server" Text="All Files" CommandName="FilterAllFile" Width="20%"> 
                                                </telerik:RadToolBarButton> 
                                                <telerik:RadToolBarButton runat="server" Text="Ready Files" CommandName="FilterReadyFile"> 
                                                </telerik:RadToolBarButton> 
                                                <telerik:RadToolBarButton runat="server" Text="Error Files" CommandName="FilterErrorFile"> 
                                                </telerik:RadToolBarButton> 
                                                <telerik:RadToolBarButton runat="server" Text="Processing Files" CommandName="FilterProcessingFile"> 
                                                </telerik:RadToolBarButton> 
                                            </Buttons> 
                                        </telerik:RadToolBarDropDown> 
                                    </Items> 
                                </telerik:RadToolBar> 
                            </CommandItemTemplate> 

Yana
Telerik team
 answered on 12 Oct 2009
3 answers
117 views
hi

How do i allow only update but not insert: Thanks

 

<telerik:GridTemplateColumn DataField="SellPrice"

 

DataType="System.Decimal" HeaderText="Sell Price"

 

SortExpression="SellPrice" UniqueName="SellPrice">

 

<EditItemTemplate>

 

 

<asp:TextBox ID="SellPriceTextBox" runat="server"

 

 

Text='<%# Bind("SellPrice") %>'></asp:TextBox>

 

 

 

</EditItemTemplate>

 

 

<ItemTemplate>

 

 

 

<asp:Label ID="SellPriceLabel" runat="server"

 

 

 

Text='<%# Eval("SellPrice") %>'></asp:Label>

 

 

 

</ItemTemplate>

 

 

 

</telerik:GridTemplateColumn>

 

 

 

 

 

L
Top achievements
Rank 1
 answered on 12 Oct 2009
2 answers
118 views
I was wondering if it was possible to drag items from a RadComboBox, prefferably with filtering and text selection on, into a rad listbox.  I didnt see anything in my searches of the forums, or the demos.  If this is possible would you point me in the direction of an example of some kind?

Thanks,
John
john
Top achievements
Rank 1
 answered on 12 Oct 2009
2 answers
128 views
Hi

I have a RadTreeView that initially loads some nodes (hierarchical) and then some of the nodes when expanded load more nodes through web service. What happens is that the nodes loaded through the WebService go below the nodes that were already loaded under that node, like this

- PreloadedNode
--- PreloadedNode
--- PreloadedNode
--- WebServiceNode
--- WebServiceNode

What I want is to display the WebService nodes above the Preloaded nodes like so

- PreloadedNode1
--- WebServiceNode
--- WebServiceNode
--- PreloadedNode
--- PreloadedNode

Is this possible?

Thanks a lot in advance! :)
John
Top achievements
Rank 2
 answered on 12 Oct 2009
2 answers
101 views
I need to query via javascript, what the CssClass is set to on a RadPane.  But, I can't find any exposed property to do so.  Is there a way to do this?  For now I'm using a value from a hidden input, but I'd rather be able to query the pane directly.
Doug Beard
Top achievements
Rank 1
 answered on 12 Oct 2009
1 answer
134 views
Based off the demo for calendar databinding, I'm using the radgrid to create a control which has a value specified for a specific date.  In the ascx I have instructed the radgrid and the mastertableview to show horizontal gridlines only.  However, vertical ones still appear.  Here is the radgrid definition in my ascx.  What am I missing?

            <telerik:RadGrid ID="objRadGrid" runat="server" AutoGenerateColumns="False" Skin="Web20" EnableViewState="false" 
                Width="300px" OnNeedDataSource="objRadGrid_NeedDataSource" OnUpdateCommand="objRadGrid_UpdateCommand" 
                GridLines="Horizontal"> 
                <MasterTableView Width="100%" ShowHeader="false" GridLines="Horizontal"> 
                    <Columns> 
                        <telerik:GridTemplateColumn HeaderText="Goal Value" UniqueName="TemplateColumn"> 
                            <ItemTemplate> 
                                <asp:Label runat="server" ID="date" Text='<%# Eval("Date", "{0:d}") %>'> 
                                </asp:Label> 
                                &nbsp; 
                            </ItemTemplate>                            
                            <EditItemTemplate> 
                                <asp:TextBox runat="server" ID="txtGoalValue" Text='<%# Eval("Goal") %>' Visible="true" /> 
                            </EditItemTemplate>   
                        </telerik:GridTemplateColumn> 
                        <telerik:GridEditCommandColumn ButtonType="ImageButton" /> 
                    </Columns> 
                </MasterTableView> 
            </telerik:RadGrid> 

Dimo
Telerik team
 answered on 12 Oct 2009
6 answers
149 views
Hello,
I am attempting to use SEOPagingQueryStringKey on the RadGrid but whenever I enable SEO Paging my grid says that there are no records whenever the SEOPagingQueryStringKey appears in the URL. If I use SEOPagingQueryStringKey on the MasterTableView it works. I don't get it? I am using this incorrectly?
I am using the latest version (Q3 2008) of the controls.
I am using the OnNeedDataSource event to populate the results of the grid through codebehind from an OracleDataReader.
Again it works fine if I set the SEOPagingQueryStringKey and EnableSEOPaging on the PagerStyle of the MasterTableView just not if I set it on the RadGrid.
The only reason I posted this is because I spent a few hours ripping my hair out trying to figure out what I was doing wrong.
Thanks
Nate
Nikolay Rusev
Telerik team
 answered on 12 Oct 2009
2 answers
199 views
Hi,

I have an XML file as Source file for Tree View control. How to load the data to tree view control. Is there any example for tree view control which accepts data as XML file?

I have visited http://demos.telerik.com/aspnet-ajax/treeview/examples/overview/defaultvb.aspx. In this I didnt get any sample for my requirement. Please help regarding the same.

Regards,
Medac
Medac
Top achievements
Rank 1
 answered on 12 Oct 2009
3 answers
128 views
Hi everyone,

I can't tell you how excited I got when I first saw the Visual StyleBuilder. Man, what a tool. At first.

But, what I've found, is that the VSB is behaving sorta funny. Suddenly when editing a grid skin, the view changes to display the grid in "data edit mode", and applied styles are often forgotten an just plain rendered wrong (or not at all).

Maybe I just don't get it. Is there - besides the two short introductory videos - a more comprehensive tutorial and/or documentation for the VSB?

I LOVE the IDEA behind this tool, but currently I'm not sure that it's that big of an advantage over editing stylesheets by hand.

But again... is it just me?

Jeppe Jespersen
Denmark

Alex Gyoshev
Telerik team
 answered on 12 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?