Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
151 views
Hi,

In my grid I have set ShowGroupPanel to true and under ClientSetting AllowDragToGroup is also set to true. In my grid I have simple templete which contains Hyperlink. I want to disable AllowDragToGroup for this column. Is that possible?

Thanks
MP
Shinu
Top achievements
Rank 2
 answered on 04 Mar 2010
2 answers
129 views
Hello

I have to open inbuilt insert template of scheduler on "New" button click.

Can anyone please help me how to open it on button click event ? [I am using asp.net ajax scheduler not silverlight or WPF]
chirag shah
Top achievements
Rank 1
 answered on 04 Mar 2010
1 answer
110 views
I am trying to hide or display different controls in edit mode depending on the value of another item
Protected Sub RadGrid1_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles RadGrid1.ItemCreated  
        If e.Item.IsInEditMode AndAlso Not (TypeOf e.Item Is IGridInsertItem) Then 
            Dim formItem As GridEditFormItem = CType(e.Item, GridEditFormItem)  
            Dim mydd As DropDownList = TryCast(e.Item.FindControl("DropDownList1"), DropDownList)  
            Dim mytb As TextBox = TryCast(e.Item.FindControl("TextBox1"), TextBox)  
            If formItem("DataType").Text = "List-Text" Then 
                mydd.Visible = True 
                mytb.Visible = False 
            End If 
        End If 
    End Sub 
This code is not working the textbox is visible no matter what value is in DataType
Shinu
Top achievements
Rank 2
 answered on 04 Mar 2010
1 answer
100 views
I have radgrid con detailtables, I would like to open the grid and have all rows espanded. How do I do it?

Thanks
Shinu
Top achievements
Rank 2
 answered on 04 Mar 2010
0 answers
75 views
Now I got a problem that I didn't know how to change another page's control property.
I tried below, but it didn't work.

Label label = (Label)Page.FindControl("chkSpecial"); // I want to change a  label control's Enabled propety,but this control is 
lable.Enabled = true;                                                   //  in another page,I don't know how to find the control in another page.

Thank your kind help!
liu qingshui
Top achievements
Rank 1
 asked on 04 Mar 2010
5 answers
191 views
Hello,

I have a pie chart where sometimes several values it contains are so small will cause the labels to overlap.  I have tried using the IntelligentLabels, but this does not work out very well in most instances.  What I would like to do is hide the labels of those items that are below a certain percentage.  I am having problems trying to figure out how I would go about that.  Does anyone have an samples of how I can hide the label of an item when it is below 2%.  I assume this is the the ItemDataBound event of the chart, but some of the sample I have tried have not really worked yet.

Thanks,
Ron
Ron
Top achievements
Rank 2
 answered on 03 Mar 2010
1 answer
122 views
Hello,

Is there a way I can prevent the hover CSS from applying to the links in the sitemappath?

Thanks,
Ron
Ron
Top achievements
Rank 2
 answered on 03 Mar 2010
5 answers
389 views

Folks,

Environment: RadControls for ASP.NET AJAX Q3 2009 / VS 2008 SP1/IE7/WINXP SP 2. 

I have a simple grid with 3 columns. I would like to remove the vertical line after the GridEditCommandColumn  (UniqueName="EditCommandColumn") and right align that column to next column (GridBoundColumn, UniqueName="ProductName") in this example.  


Possible to make just 1 space between UniqueName="EditCommandColumn" and UniqueName="ProductName"?


Below is my RadGrid and attached is the Print screen from the browser.


Thanks

GC_0620

<telerik:RadGrid ID="RadGrid1" GridLines="None" runat="server" AllowAutomaticDeletes="True" Skin = "Office2007" 
AllowAutomaticInserts="True" PageSize="10" AllowAutomaticUpdates="True" AllowPaging="True" 
AutoGenerateColumns="False" DataSourceID="SessionDataSource1" OnItemUpdated="RadGrid1_ItemUpdated" 
OnItemDeleted="RadGrid1_ItemDeleted" OnItemInserted="RadGrid1_ItemInserted" OnDataBound="RadGrid1_DataBound">  
<PagerStyle Mode="NextPrevAndNumeric" /> 
<MasterTableView Width="100%" CommandItemDisplay="TopAndBottom" DataKeyNames="ProductID" 
DataSourceID="SessionDataSource1" HorizontalAlign="NotSet" AutoGenerateColumns="False">  
<Columns> 
 
<telerik:GridEditCommandColumn ButtonType="ImageButton" UniqueName="EditCommandColumn">  
<ItemStyle CssClass="MyImageButton" /> 
</telerik:GridEditCommandColumn> 
 
<telerik:GridBoundColumn DataField="ProductName" HeaderText="ProductName" SortExpression="ProductName" 
UniqueName="ProductName" ColumnEditorID="GridTextBoxColumnEditor1">  
</telerik:GridBoundColumn> 
<telerik:GridDropDownColumn DataField="CategoryID" DataSourceID="SqlDataSource1" 
HeaderText="Category" ListTextField="CategoryName" ListValueField="CategoryID" 
UniqueName="CategoryID" ColumnEditorID="GridDropDownColumnEditor1">  
</telerik:GridDropDownColumn> 
 
</Columns> 
<EditFormSettings ColumnNumber="2" CaptionDataField="ProductName" CaptionFormatString="Edit properties of Product {0}">  
<FormTableItemStyle Wrap="False"></FormTableItemStyle> 
<FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle> 
<FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" BackColor="White" 
Width="100%" /> 
<FormTableStyle CellSpacing="0" CellPadding="2" Height="110px" BackColor="White" /> 
<FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle> 
<EditColumn ButtonType="ImageButton" InsertText="Insert Order" UpdateText="Update record" 
UniqueName="EditCommandColumn1" CancelText="Cancel edit">  
</EditColumn> 
<FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle> 
</EditFormSettings> 
</MasterTableView> 
<ClientSettings> 
<ClientEvents OnRowDblClick="RowDblClick" /> 
</ClientSettings> 
</telerik:RadGrid> 
 

 

                

 

 

 

 

 

gc_0620
Top achievements
Rank 1
 answered on 03 Mar 2010
3 answers
116 views
Hello there,

I have a tree view with MultipleSelect set to "true". When I drop multiple nodes on to another tree, they are getting dropped in the order I selected the nodes, how can i have these dropped in the same order as they appear in the source tree instead of in the order in which they are selected?

Thank you,
Phani
Phani Alla
Top achievements
Rank 1
 answered on 03 Mar 2010
7 answers
219 views

I'm using FileExplorer control for file upload. I should perform some specific file checks on server-side and alarm user. How I can do it?

Atlas
Top achievements
Rank 1
 answered on 03 Mar 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?