Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
384 views
Hello,
I have a problem on the edit form.
My rule is to perform calculations in the edit form with special use.
I have a radcombobox (Billing % or Amount) to select 2 status. The first status (Amount) set the field of the percentage in readonly in the form and editable the field "Amount Value to be invoiced". When I switch to set "Percentage", the field percentage change to be editable and set the field "Amount Value to be invoiced" to ReadOnly.
But I haven't solution to do this action in the edit form.
Can you help me? Do you have a exemple?

When the user input data in the field automatically there is complex calcul in code behind. Actualy I have GridNumericColumn linked to GridNumericColumnEditor with this code :
<telerik:GridNumericColumnEditor runat="server" ID="GridColumnEditor_Percentage">
    <NumericTextBox Culture="en-US" DisplayText="" LabelCssClass="" LabelWidth="64px"
        AutoPostBack="true" MinValue="0" OnTextChanged="RadNumericTextBoxGrid_TextChanged">
        <NumberFormat ZeroPattern="n" DecimalDigits="0" />
    </NumericTextBox>
</telerik:GridNumericColumnEditor>
It's the good solution to manage my GridNumericColumn to do my calcul? I can't use the GridCalculatedColumn because I have a lot of parameters.
Thanks you for your help.
Best Regards
Laurent
Laurent
Top achievements
Rank 2
 answered on 09 Nov 2012
2 answers
174 views
I have a data entry form with lots of textboxes and Radcombo boxes on it. The user changes the values for the textboxes and uses tab button or mouse to move to other controls, randomly. There is no 'Save' functionality on the page, so with each update, I send an ajax request to update the server and save the values. The problem is with each ajax call back, there is a slight refresh of the page, and the focus is lost. I know I can use FocusControl() function to set the focus, but, for example, I am using onblur event for textboxes, and by the time the event is raised, the focus is on some other control, which can be anywhere on the form, and I have no clue where to put the focus on. And even if I knew, imagine the user has already opened a combobox, and is half way scrolling down the items when the focus is lost, and he has to open it again. So it gets really bumpy.

Basically, I am looking for a way to send ajax calls back to server without interrupting the user at all, like a second thread. I have allocated a separate AjaxPanel to it without any controls in it, just to make the call, but it still interrupts the user.

Thanks for your help.
Safa
Top achievements
Rank 1
 answered on 09 Nov 2012
3 answers
87 views
recently I install the latest telerik control.
After that I got the problem with the radgrid paging alignment.
Please see the attached file to understand the problem.

telerik Version : RadControls for ASP.NET AJAX Q3 2012
Browser : IE7
VS:2010
Framework : 4.0



Pavlina
Telerik team
 answered on 09 Nov 2012
1 answer
172 views
Hi all,

Is that possible to import data Excel to Rad Grid.. if yes. please give the instructions .

Regards,

Prassin
wnl
Top achievements
Rank 1
 answered on 09 Nov 2012
4 answers
149 views
Hi,

im using a RadSplitter. One of its pane loads another page (it is that page that contains the RadNotification). That page use a wrapper div in order to style its borders. When the Notification appears (and if I use any animation other than "none"), the Notification is quickly moved to another position (close to where it originally showed up) after an short moment of time. The wrapper div in question is using padding, margin and borders in its CSS. If I clear out the values for those properties, the Notification appears without being "moved". Looks like the CSS is applied after the Notification is generated and shown. This behavior seems not to occur if Notification conjtrol is moved outside the RadSplitter. Is it a normal behavior of the control? Any workaround?

TIA
Martin Roussel
Top achievements
Rank 1
 answered on 09 Nov 2012
3 answers
276 views
i have a radgrid that needs to show some dynamic values appended to a database value.

in other words the grid will display several columns whereby the display is 30 (15)
where 30 is a value retrieved from the database but (15) is updated on the fly depending on records added to a grid....

how would i achieve this?
Eyup
Telerik team
 answered on 09 Nov 2012
3 answers
536 views
Hi, is there a way to achieve the above? try to get answer but no avail.any advice welcomed. thks!

regards
cwk
cwk
Top achievements
Rank 2
 answered on 09 Nov 2012
4 answers
343 views
HI,
I placed rad window control in asp.net user control page and trying to load a url in that radwindow
As Technically its difficult to have javascript in user control i placed in a JS file and loaded that file with Master Page load event.
But Now my problem I'm unable to find the radwindo and also unable to open the url in the window.
Please help me in this regards. Plz find my code snipplet.
Below is my Button click event code in Asp.Net User Control

protected void lnkGenearateFull_Click(object sender, EventArgs e)
       {
           string url = "~/AppUI/Payments/ReportExport.aspx";
           Page pg = (Page)System.Web.HttpContext.Current.Handler;
           ScriptManager.RegisterStartupScript(pg,typeof(Page), "openWindow", "openWindow('" + url + "','"+ radWindow.ClientID +"');", true);
           ScriptManager.RegisterStartupScript(pg, typeof(Page), "CloseWindow", "CloseWindow();", true);
 
       }
and My below is my JS Code
function openWindow(url, radwinId) {
    alert(url);
    alert(radwinId);
    var window = $find(radwinId);alert(window);
    window.setUrl(url);
    window.show();
}
function CloseWindow() {
    var window = $find('<%= radWindow.ClientID %>');
    if (window != null) {
        window.close();
    }
}

Regards
Phaneendra Varanasi
Phaneendra
Top achievements
Rank 1
 answered on 09 Nov 2012
2 answers
81 views
Hi All,

we are using telerik version 2010.3.1317.35 and it's Scheduler component! The way it's used it's with ajax webservice binding and grouping it by Persons. The users sees a list of Person and can select/unselect the ones he will like to see. As the Scheduler is not able to repaint himself based on the grouped resource what I do is reload the whole component by an Ajax request! 

Everything was working really well as expected until we moved to Azure or IIS8 on Windows8. On both cases the request comes back apparently succesfull (with all the resources beeing pooled from the server through the ScripResource.axd but the component stop to work. Not a single button | event or anything is binded at all. It doesn't throw any javascript error, it's just that nothing is binded and none for the events from the Scheduler are called.

Investigating I saw that doing that: $find('<%=RadScheduler1.ClientID %>'); returns null 

I'm quite sure it has to be related to the config of the server but can't figure out what! We have that application running on two IIS7 working totally fine but it's just when working over the mentioned servers that problems occurs. We are using MVC.net 2 and ASP.NET 3.5.

Any ideas? Apparently the config on the IIS7's are identical :S 

Any help would be much appreciated!

regards and thanks in advance :)
Plamen
Telerik team
 answered on 09 Nov 2012
4 answers
171 views
Hi ,
I've a radgrid with many text data (ex. tommy, motomb). Now I also have fiter option for that grid.
Now in the filter text-box of the grid, if I type "tom" and select the filter as "Contains", the grid give the filter results as "tommy" only. Not both "tommy and "motumb".
Why this un-expected behaviour. Even when I have setup the required correctly??

Please guide.

Thanks

Edit: Corrected the word "mutumb" to "mutomb".
Radoslav
Telerik team
 answered on 09 Nov 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?