Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
232 views
Hi

How does one stop a user from being able to type in the ComboBox header?

The ComboBox is using a custom skin and has its information pulled from DB.

<telerik:RadComboBox ID="ddnSubSegmentations" EnableEmbeddedSkins="false" Skin="CustomSkin" runat="server" Width="250" AutoPostBack="True" OnSelectedIndexChanged="ddnSubSegmentations_IndexChanged">
</telerik:RadComboBox>

We have tried AllowCustomText="False" and EnableTextSelection="false".

Any help would be appreciated.
Thanks
Atanas Korchev
Telerik team
 answered on 30 Jun 2009
1 answer
125 views
Hi All ,

1 . Is it possible to display the Tree Lines for the Hirerahical Grid display .

2.  How is the +(plus) in the Hirerahical Grid for expansion and Collapasing got .

Thanks In Advance

Regards
Vinodh
Pavlina
Telerik team
 answered on 30 Jun 2009
1 answer
206 views
Hi,
Is it possible to grey out the edit and delete images in the grid?
I have this code to disable one button:
ImageButton delButton = gridItem["DeleteColumn"].Controls[0] as ImageButton; 
delButton.Enabled = false; 

But the image is still bright so users tries to click on it!

The same should happen if the grid is completely disabled:
RadGrid1.Enabled = false; 

Then everything is grey out except for the images. 

/Mattias
Dimo
Telerik team
 answered on 30 Jun 2009
2 answers
106 views
I am evaluating Teletik controls for a new project.

The issue is that after Update button clicked, the popup window comes up again(expect the popup is closed). Appreciate any comments.

<

 

telerik:RadGrid ID="grdLeaseDetails" runat="server" GridLines="None" AllowMultiRowSelection="true"

 

 

AllowPaging="True" PageSize="20" AllowSorting="True" AutoGenerateColumns="False"

 

 

ShowStatusBar="true" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"

 

 

AllowAutomaticUpdates="True" HorizontalAlign="NotSet">

 

 

<mastertableview CommandItemDisplay="Top" GridLines="Horizontal" DataKeyNames="ID"

 

 

EditMode="PopUp">

 

 

<Columns>

 

 

<telerik:GridBoundColumn HeaderText="Co" DataField="Company" UniqueName="Company"

 

 

SortExpression="Company" HeaderStyle-Width="110px" FilterControlWidth="90px"

 

 

AutoPostBackOnFilter="true" CurrentFilterFunction="Contains" ShowFilterIcon="true" />

 

 

...
<
telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton" EditImageUrl="~/Images/open.gif">

 

 

</telerik:GridEditCommandColumn>

 

 

</Columns>

 

 

<EditFormSettings UserControlName="UserControl\EditLeaseDetailControl.ascx" EditFormType="WebUserControl"

 

 

FormStyle-BackColor="LightYellow" FormStyle-Width="100%" FormStyle-Height="100%"

 

 

CaptionFormatString="Edit Detail: {0}" CaptionDataField="ID" PopUpSettings-Modal="true" >

 

 

<EditColumn UniqueName="EditCommandColumn">

 

 

</EditColumn>

 

 

</EditFormSettings>

 

 

</mastertableview>

 

 

<ClientSettings>

 

 

<ClientEvents OnRowDblClick="RowDblClick" OnPopUpShowing="PopUpShowing" />

 

 

<Selecting AllowRowSelect="True" EnableDragToSelectRows="False" />

 

 

</ClientSettings>

 

hubert
Top achievements
Rank 1
 answered on 30 Jun 2009
1 answer
114 views
When using the GroupByExpression property of a GridColumn is it possible to expose the HeaderText value for the associated GridGroupByField?

As per the manual the syntax for GroupByExpression is "fieldname[ alias]/aggregate(fieldname)[ alias][, ...] Group By fieldname[ sort][, ...]", but setting the associated HeaderText of the GroupByField displayed on the GroupPanel is not exposed.
The only way I could change this was by handling the GroupsChanging Event, finding the corresponding GroupByField and setting the HeaderText value there.

Perhaps adding a property eg GroupByPanelHeaderText or changing syntax of GroupByExpression to be "fieldname[ alias]/aggregate(fieldname)[ alias][, ...] Group By fieldname[ sort][, ...] as HeaderText".

Tsvetoslav
Telerik team
 answered on 30 Jun 2009
1 answer
211 views
I've implemented a version of the javascript checking for the RadEditor that is found on this forum, but I am still having issues because if a person spellchecks the RadEditor they are able to bypass the checking.

For example if you want the max to be 100 charscters and they are at 100 characters, but in their text they have mispelled words that when fixed add characters it goes over the maximum length.  How would I tie into the spellcheck control to know the text has been changed and to recount it?
Rumen
Telerik team
 answered on 30 Jun 2009
5 answers
114 views
the buttons drawn by default are fat [top, bottom], below is a simple code.

 

<telerik:RadToolBar ID="lookup_button" runat="server" Skin="Default" OnClientButtonClicked="OnClientToolbarLookupButtonClicked" EnableViewState="false">

 

 

<Items>

 

 

<telerik:RadToolBarButton runat="server" PostBack="false" style="font-size: 8pt; font-weight: bolder;" Text="Lookup">

 

 

</telerik:RadToolBarButton>

 

 

</Items>

 

 

</telerik:RadToolBar>

we tried to play around with the padding but this distorted the button. How can can we make the buttons in the RadToolBar thinner. Thanks.

 

Martin
Top achievements
Rank 1
 answered on 30 Jun 2009
2 answers
117 views
hi all,
I have 6 Tabs in a radtabstrip control in a ASP .NET page and i want to make the second and the third tabs in visible = false
 This operation cause the next problem : my 4th tabs is not clickable.
Someone have an idea to resolve this problem?
Paul
Telerik team
 answered on 30 Jun 2009
1 answer
233 views
I am using a RadNumericTextBox that needs to support up 5 digits before the decimal point and up to 15 digits (which i am planning on enforcing with an asp RegularExpressionValidator) after the decimal point (for example, 12345.123456789012345).  If I enter this number it gets rounded off to 12345.123456789011 when the control loses focus.

If I enter 0.123456789012345 it stays as 0.123456789012345 when the control loses focus which is the desired behavior.

This is the markup for the RadNumericTextBox

<

 

telerik:RadNumericTextBox ID="radTXTValue" runat="server" Width="500px"><NumberFormat DecimalDigits="15" AllowRounding="false" /></telerik:RadNumericTextBox>

 



Any help in resolving this will be appreciated.

John

Dimo
Telerik team
 answered on 30 Jun 2009
1 answer
72 views
I've looked through the documentation and through a lot of the forum threads, and I haven't found an answer to a very basic question. I must be overlooking it though...

If I use the scheduler to schedule alerts or processing jobs that need to be created when the "appointment" fires, how do I know when the appointment is "now"? Is there not a way in the object model to iterate all the appointments every x minutes and determine that it should execute now without doing all of the time/date comparisons myself?

For example in VB.NET:

For Each appointment In appointments 
   If appointment.IsInRange( startTime, endTime ) Then 
      Execute( appointment ) 
   End If 
Next 


Thank you,
Terry

T. Tsonev
Telerik team
 answered on 30 Jun 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?