Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
301 views
Hello,

Is there a feasible way of determining what the new value will be of an input control inside of a OnKeyPress client-side handler?

- I've seen a lot of postings here showing sender.get_value() + args.get_keyCharacter() - but of course that assumes that the user is typing straight through and the cursor is at the end of the control. Not always the case! ;)
- The reason I'm looking to do this is to implement regex validation in real time (keydown or OnKeyPress), before the control loses focus. OnValueChanged and OnValueChanging occur on blur. (ASP.NET validation on post-back is clumsy and not appropriate for the circumstances we need this).

Ideally, though, Telerik could release a RegEx version of RadTextBox!

Thanks,

- Mike
Tsvetina
Telerik team
 answered on 26 May 2011
3 answers
94 views
hey everyone,

How can i bind the radgrid using Wcf workflow service application.I have a seperate project where i've created wcf service using workflow,
but m not able to get the data from my service to the UI.

Thanks
Amit
Genti
Telerik team
 answered on 26 May 2011
1 answer
33 views
I am getting the 'htmlfile:Unexpected call to method or property access'  error while I select a Treeview node and click on a button on the second attempt. i.e first I select a node and click on the button which opens a Radwindow pop up and then when I close the Radwindow , I make a Ajax request on the parent page to refrsh the Treeview control. Once that is done , when I select some other node and click on the button (to update the information opening a Radwindow) , I get the above error mentioned. I read in several of your threads that It is related to IE 8 and the latest version of RadControls for ASP.NET AJAX resolves this issue. But I have the latest 2011 1Q SP2 version, but still it's not resolved.

Thanks
Madhu
Kate
Telerik team
 answered on 26 May 2011
3 answers
121 views
Hi,

I have a need to plot movement against time from a number of different sensors (5-7)

I am holding the sensor type and time of activation in a SQL database.

Is it possible to have a multiple charts that share a common x axis(time in minutes) so that I can have one chart per sensor? Where the y axis shows a single sensor activation. Basically a series of bar charts.

Ideally I would like to be able to zoom on one chart and have all charts zoom to the same level and also be able to use the graph in a report.

Does any one have any idea if this is even remotely possible?

All and any help greatly appreciated.

Thanks

Chris
Giuseppe
Telerik team
 answered on 26 May 2011
5 answers
144 views
Hi

We've written a user control that has a RadComboBox using LoadOnDemand.  It works fine when placed directly on the page, however, we run into problems with it inside a RadGrid that uses Ajax.

Although it renders ok, the problem is it does not populate the RadComboBox with data.  Currently it displays 'Loading' and then fails.

I suspect the ajax in the RadGrid isn't playing nicely with the ajax in the RadComboBox.  The RadGrid's ajax is managed by a RadAjaxManager.  My thought was to include the RadComboBox as an AjaxUpdatedControl in the RadAjaxManager but I'm not sure how to do that.  Firstly the RadComboBox is inside a user control, secondly it is created dynamically by the RadGrid, of which multiple may be opened at the same time (seeing as a RadComboBox is on each RadGrid row).

I'm using RadControls_for_ASP.NET_AJAX_2010_1_415_dev_hotfix.zip.

An additional issue is that we want the RadComboBox to preload the first X items (i.e. fire OnItemsRequested) on page load or preferably when the RadComboBox is initialised.  The problem this causes is that it complicates when we can set the SelectedValue.  It would also irritate the user if they have to wait for this when he/she opens the ComboBox list.  Our work around is using OnClientLoad = "RadComboBoxLoad", and in the javascript we call: combo.requestItems('', false);.   Is there a better way to do this?

Thanks
Helen
Telerik team
 answered on 26 May 2011
7 answers
138 views
Hi,

Can you point me in the right direction on how to save state for rad grid. I have a grid in edit mode and when i create a new row because of the post back the values in edit mode are lost when row is created. I attached a screen of the grid in edit mode to give you an idea. 

Thanks,
Ron.
Ron
Top achievements
Rank 1
 answered on 26 May 2011
3 answers
204 views
Hi,
I am using a List of "RadComboBoxItemData" objects to load data into RadComboBox using the LoadOnDemand functionality. My Question is,
I have set few attributes on the server side and I want to access them on the client side. let me know how to do that.

For example:
ServerSide(Web Service):
List<RadComboBoxItemData> result = new List<RadComboBoxItemData>(context.NumberOfItems);
foreach(row in rows)
{
RadComboBoxItemData itemData = new RadComboBoxItemData();
itemData.Attributes.Add("HostName", row["HostName"].ToString());
itemData.Value = row["ID"].ToString();
result.Add(itemData);
}
return result;

ClientSide:
function onItemDataBound(sender, eventArgs) {//the combo item
 var item = eventArgs.get_item();
var dataItem = eventArgs.get_dataItem();
............AND THEN................??

Any Help will be appreciated. Secondly, I want to implement CheckBoxes so that I can add Multi-Select Functionality to it. Please suggest me a work around on this one.

Thanks in Advance. Appreciate your help.
Kalina
Telerik team
 answered on 26 May 2011
1 answer
240 views
Is there any way to control where the label is placed relative to the combo box?  It seems to always appear to the immediate left and I would like for it to be above it.

Kalina
Telerik team
 answered on 26 May 2011
1 answer
164 views
Hi,

I am currently creating timetable using Radscheduler.
I have the data where start date is "2011-01-24" and end date "2011-12-16". The timetable working as expected however, since within start date and end date the following dates that the data is not to be display.

  ("2011-04-04"),("2011-04-05"), 
            ("2011-04-06"),("2011-04-07"), 
            ("2011-04-08")

          ("2011-06-26"),("2011-06-27"), 
            ("2011-06-28"),("2011-06-29"), 
            ("2011-06-30"),("2011-07-01"),
            ("2011-07-04"),("2011-07-05"),
            ("2011-07-06"),("2011-07-07"),
            ("2011-07-08"),("2011-07-11"),
            ("2011-07-12"),("2011-07-13"),
            ("2011-07-14"),("2011-07-15"),
            ("2011-07-18"),("2011-07-19"),
            ("2011-07-20"),("2011-07-21"),
            ("2011-07-22"),("2011-07-25"),
            ("2011-07-26"),("2011-07-27")

How i can handle it using radscheduler. Please advise
Peter
Telerik team
 answered on 26 May 2011
1 answer
57 views
Can I use the Telerik.Web.UI.dll, to have it parse the RECURRENCE_RULES to find the occurrences ? Any constraints involved there?

Sanjeev
Peter
Telerik team
 answered on 26 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Anislav
Top achievements
Rank 6
Silver
Bronze
Bronze
Jianxian
Top achievements
Rank 1
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Jim
Top achievements
Rank 2
Iron
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?