Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
632 views
I think a nice feature of the RadNumericTextbox would be to have an additional property for removing trailing zeros.

Currently,

If DecimalDigits=4, lets say

User Enters : 1.2, control looses focus and 1.2000 is displayed. Would prefer to see: 1.2 (Ironically, when control has focus trailing zero are removed).

I can think of a couple ways to accomplish this feature.

1) Add a new property RemoveTrailingZeros to the Formatting object. If true then remove trailing zeros.

2) Even better, would be to enhance format strings (Positive and Negative) and for each different style (Focused, ReadOnly, Enabled etc...)  This would provide more flexibility and allow the developer to improve the user experience by having much better control over formatting.

For example, PositivePattern="0.0000" (display trailing zeros) PositivePattern = "0.####" (remove trailing zeros).

I have worked around the issue via some script, but would prefer the control to handle this by default or via format strings.

Thanks for considering this feature request,
Mark.


Steve Napurano
Top achievements
Rank 1
 answered on 23 Sep 2011
2 answers
118 views
Hello,

i have two datatables and i need to draw line chart dynamically (Codebehind) with those data.
2 seires line chart i want.

below is my datatable data.

1st Datatable having data as below
Q1 08 150453000
Q2 08 158688000
Q4 08 1515
Q1 09 1000

2nd Datatable having data as below .
Q4 08 2525
Q1 09 2000

above are 2 series data . Please help me how to draw 2 series line chart for above data .
Mugdha Aditya
Top achievements
Rank 1
 answered on 23 Sep 2011
1 answer
199 views
Hi,

I'm looking for the setting to add an underline on my column headings. I've tried all that I can find and nothing seems to work. the following is a sample for one of my column.

 

 

<telerik:GridTemplateColumn UniqueName="AreaName" HeaderText="Area"  

SortExpression="_AreaName" ItemStyle-Width="150px" DataField="_AreaName"  

AndCurrentFilterFunction="Contains" FilterControlWidth="125px">  

 

<FooterTemplate>  

Template footer 

</FooterTemplate>  

 

<FooterStyle VerticalAlign="Middle" HorizontalAlign="Center" />  

 

<ItemTemplate

<%

#DataBinder.Eval(Container.DataItem, "_AreaName")%>  

</ItemTemplate>  

 

<EditItemTemplate>  

 

<telerik:RadComboBox runat="server" ID="RadComboBoxArea"  

OnItemsRequested="RadComboBoxArea_ItemsRequested"  

 

EnableLoadOnDemand="True" DataTextField="AreaName"  

 

DataValueField="ID" AutoPostBack="true"  

 

HighlightTemplatedItems="true" Height="140px" Width="175px" DropDownWidth="200px"  

 

OnSelectedIndexChanged="ComboBox1_OnSelectedIndexChangedHandler" 

onclientdropdownopening="OnClientDropDownOpening">  

<ItemTemplate> 

<%# DataBinder.Eval(Container, "Text")%>  

</ItemTemplate>  

 

</telerik:RadComboBox>  

 

</EditItemTemplate>  

 

<HeaderStyle Width="150px" HorizontalAlign="Center" VerticalAlign="Bottom"  

Font-Underline="True" />  

 

<ItemStyle Width="150px" HorizontalAlign="Center" VerticalAlign="Middle"></ItemStyle>  

 

</telerik:GridTemplateColumn>

thanks,

Minh bui 

Shinu
Top achievements
Rank 2
 answered on 23 Sep 2011
2 answers
161 views
How can I make it so the fields I have set as read only display on the edit form (popup)? The way it is now they are invisible, I'd like them to still be displayed on the form but read only, or disabled.

Thanks
Shinu
Top achievements
Rank 2
 answered on 23 Sep 2011
0 answers
67 views
hi,
 I need to display submenu in the same starting position of the parent menu. I can achive this using offsetX. But can anyone help to achive this using javascript. So that it till dynamically set the left side its parent
Akhil Raj
Top achievements
Rank 1
 asked on 23 Sep 2011
1 answer
81 views
Hi all.

I have a radgrid on my page and it has an ascx edit form inside when the edit link is clicked.

The radgrid also has a loading panel. My problem is that whenever I click a button inside the edit form, there is a javascript popup alert that I want to show but I guess it's not showing because of the radajaxloadingpanel.

This is what I use for the javascript inside the ascx form:

Page.ClientScript.RegisterClientScriptBlock([GetType](), "javascript", "<script>radalert('Data inputted would not be saved.');window.location='SimMaster.aspx'</script>")

Any help would be appreciated. TIA.
Shinu
Top achievements
Rank 2
 answered on 23 Sep 2011
6 answers
174 views

EditFormSettings inside Radtextbox How to find in one Private Function

private void Checknull()
        {
}
Thanks,
Mohamed.
mohamed
Top achievements
Rank 1
 answered on 23 Sep 2011
0 answers
62 views
Hi,

I have a radsceduler and a rad combo inside a radstrip, which works fine in my local development environment.
When deployed in the live server, the scheduler nor the rad combo works. I used a asp combo and it works fine in the live. (the first combo in the below live url)

Any idea what is causing this? 
  
Thanks in advance.

NB
Nimesha
Top achievements
Rank 1
 asked on 23 Sep 2011
2 answers
182 views
Hi,
I am using RadComboBox.
It has server SelectedIndexCHangedEvent and is in RadAjaxSetting.
Inside the event, based on the value selected, i will do some valildations and if validation is passed will update some other controls in the page
If the validation fails, i should return and throw a confirm message.
The problem here is , If the Combo is not inside AjaxManager the alert message is shown properly, but if it is inside AjaxManager, then it is not throwing alert message.
I observed one thing, if I use RadAjaxManager.Alert("Validation failed") it works correctly.
But we are using customized window for throwing alert and confirm messages.
RadAjaxManager.Alert() is throwing with the default alert window style.
Could u pls suggest a way to throw alert messages with our customized window and return from the event if the validation fails.

Thanks
AV
Pams
Top achievements
Rank 1
 answered on 23 Sep 2011
0 answers
45 views
Hi

In my grid I have two text box controls and 2 radio buttons

text boxes have text Changed events.
Whenver text change event is performing whole grid is moving.

here I am attaching ui.
 whenever text change even is hapeening textboxes and ratio buttons are moving.

Could some one please help me how to resolve this.

Thanks in adavance!!

Thanks
Usha
prathyusha
Top achievements
Rank 1
 asked on 23 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?