Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
172 views
Hi,

Our users want to use the decimal separator key on the numeric keypad, which is a point on the Belgian keyboard, to be used as a comma in the telerik numeric texbox. However, the numeric textbox doesn't allow this key to be used.

I understand that behaviour, as the culture is set to use a comma as separator. But, as our users pointed out it does works in Excel. This is true, Excel seems to intercept the point when entered from from the keypad and replace it with a comma.

So, in order to mimic this I tried a similar thing, with some javascript attached to the onkeydown event of the numeric textboxes:
 

 

function replaceSeparator(e, numerictextbox) {
    if (e.keyCode == 110) {
        numerictextbox.value = numerictextbox.value + ",";  
        return false;  
    }
}

This works, the point from the keypad is replaced with a comma. However you still see the warning triangle flashing inside the textbox. Any way I can get that triangle warning out? Or perhaps there's a better way to get the numeric textbox to play nice?

Thanks,
Frank.



 

Frank
Top achievements
Rank 1
 asked on 28 Apr 2011
1 answer
64 views
Hi there,

Does anybody know how to open a RadWindow from clicking a custom button in RadEditor toolbar?

Anyone has code to share?

Felix
Dobromir
Telerik team
 answered on 28 Apr 2011
2 answers
246 views
Hi

I am having a customized object. It has data like below

Fleet     Month   Actual     TargetLiability
A320     5           75%          61%
A330     5           78%          61%
A340     5           40%          61%
A320     6           75%          70%
A330     6           78%          70%
A340     6           40%          70%
A320     7           75%          71%
A330     7           78%          71%
A340     7           40%          71%

I have bound data to radchart. Have applied Month as the x axis column and Actual is the Yaxis. Also i have set DataGroupcolumn = Fleet. My question is, i have to display TargetLiability value  for each month  (below the xaxis label appearance). Please see the image for refference. In addition, i would like to make the xaxis position to 100%. Can you please anyone guide me to achieve.

Regards
Arima
Arima
Top achievements
Rank 1
 answered on 28 Apr 2011
8 answers
103 views
Hi,

How would I keep track of Action Trails in RADEditor control. I need to display a comparison form of edits, additions and deletes of the content. How can this be achieved with RADEditor?

Thanks in advance for your help.
Dobromir
Telerik team
 answered on 28 Apr 2011
1 answer
159 views

hi

Each file within the bin directory are for what?

Telerik.Web.Design.dll

Telerik.Web.UI.dll

Telerik.Web.UI.xml

and which file or files are needed for my uploaded web site?

Sebastian
Telerik team
 answered on 28 Apr 2011
1 answer
150 views
I have a RadGrid set as the AjaxUpdatedControl in the RadAjaxManager so that the filtering happens using ajax. There is a select command column with a select button that when it's clicked i want it to post back so that i can set a bunch of values for other controls on the page. Right now when the select button is clicked and I debug (step through in VS) on the server-side it looks like the controls are being set but the page isn't actually updated. I think this is because the select button is using a callback instead of postback.

Is there a way i can make the select button in the column cause a post back but still have the filtering use ajax?

in case it helps here's the code below.
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" EnableViewState="true" OnCommand="Ajax_Command">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="AccountGrid">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="AccountGrid" LoadingPanelID="RadAjaxLoadingPanel1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

<telerik:RadGrid ID="AccountGrid" runat="server" DataSourceID="AccountSqlDataSource" OnItemCommand="AccountGrid_ItemCommand"
    AutoGenerateColumns="false" AllowFilteringByColumn="True" AllowSorting="true" AllowPaging="True" PageSize="15" ShowFooter="True">
    <GroupingSettings CaseSensitive="false" />
    <MasterTableView>
        <Columns>
            <telerik:GridButtonColumn Text="Select" CommandName="Select" UniqueName="SelectColumn" ButtonType="LinkButton" AutoPostBackOnFilter="true"></telerik:GridButtonColumn>
            <telerik:GridNumericColumn  
                DataField="AccountID" UniqueName="AccountNumberColumn" HeaderText="Account #"
                FilterDelay="1000" AutoPostBackOnFilter="true" FilterControlWidth="60" ShowFilterIcon="false">
         </Columns>
    </MasterTableView>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 28 Apr 2011
3 answers
537 views
hi there...
can someone help me? am trying to find a way to hide one whole row  data field from a radgrid of aspecific Id inside  C#  programming code?

I don't want the user to see the row once he click on (delete) button , but in real the data still there in the database but the (active) field has been updated to = 0....

thanx..
Shinu
Top achievements
Rank 2
 answered on 28 Apr 2011
2 answers
54 views
Hi,

please find below url
http://demos.telerik.com/aspnet-ajax/grid/examples/programming/webmail/defaultcs.aspx

I am able to select multiple rows by selecting check box. But if i click on any row of the gird, that row will be selected and previously selected rows are unselected automatically.

Is their any way to prevent this, if user clicks on any row accidentally, his complete efforts ( already selected rows) will becomes waste.

Thanks,
Sumanth 
Sumanth
Top achievements
Rank 1
 answered on 28 Apr 2011
1 answer
47 views
I have a treeview (see attach file )
I want to save four nodes like circle.
I only save success node: Community. I cann't save three nodes: Development, Product, Operation.
Here is code to save:
List<RadTreeNode> checkedNodes = this.trvHierarchy.CheckedNodes.ToList<RadTreeNode>();
                 
List<string> lstJobNode = new List<string>();
 foreach (RadTreeNode node in checkedNodes)
 {
       if (string.IsNullOrEmpty(node.Value) == false
       && node.CheckState == TreeNodeCheckState.Checked)
        {
                 RadTreeNode parentNode = node.ParentNode;
//Only save parent. Don not save child if parent is checked.
                 if (parentNode == null || parentNode.CheckState != TreeNodeCheckState.Checked)
                                lstJobNode.Add(node.Value);
        }
}
Kate
Telerik team
 answered on 28 Apr 2011
8 answers
180 views
Hi there,

I am trying the SPRadListView Web part. I can bind a SP List without problems but for some reason I can't create a detail binding. I have the "+" button always gray out so I can't bind a child list.

What is the condition for enabling the button?



Marin
Telerik team
 answered on 28 Apr 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?