Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
188 views
Have 2 RadNumericTextBox's for user to input a min year and max year. 
Have set MinValue as 1960 and MaxValue programmatically to current year (2014).
ShowSpinButtons is set to TRUE.

If a user chooses to use the spin buttons before entering a date, the text displays and starts at 1960. 
In most cases the date to be set in the application is more likely to be user input between 2000 and 2014, however there will be times where the year input may go as low as 1960.  Is there anyway to set a start date of say 2000 (as oppose to 1960) for when the user selects the spin button?
Obviously the MinValue would need to remain at 1960.

It may even be more helpful to have a start value for the UP spin button (could be set at 2000) and a separate value for the DOWN button (could be set at 2014).

Thanks

Glenn


Glenn
Top achievements
Rank 1
 answered on 13 May 2014
2 answers
159 views
Hi,

I am trying to fire the itemcommand server event on RowDoubleClick client event. 

Javascript
function RowDblClick(sender, eventArgs) {
      var dataKeyVal = eventArgs.getDataKeyValue("UserName")
      sender.get_masterTableView().fireCommand("EditUser", dataKeyVal);
}

Code Behind
if (e.CommandName == "EditUser")
{
    GridDataItem item = e.Item as GridDataItem;
    item.Selected = true;
    string uName = item.GetDataKeyValue("UserName").ToString();
}

This gets me the DataKeyValue no problem in Javascript and runs the ItemCommand, but when the ItemCommand fires in the code behind it is acting on the first row in the grid rather than the double clicked row.

How would I have the ItemCommand run on the row that was doubleclicked?

Thanks,
Marc
Marc
Top achievements
Rank 1
 answered on 13 May 2014
8 answers
243 views
I really like the tokens that are available with autocomplete.

Can I get tokens with the combobox when using checkboxes?

This seems like a logical feature to add. Can it be done already and I am not aware of it?

Thanks, Marty
Nencho
Telerik team
 answered on 13 May 2014
5 answers
279 views
I need to have a text box in my GridHyperLinkColumn inside a radgrid that says "search here" on page load but when a user clicks on the box to search, I want to test to disappear. How can I do that. Currently I am using a filter control to display search here but it doesn't disappear when I click on it.

Thanks,
Shinu
Top achievements
Rank 2
 answered on 13 May 2014
3 answers
130 views
I restructuring my application
i want to use scheduler 
can i  keep using hours on headers and days on rows
like this picture
Boyan Dimitrov
Telerik team
 answered on 13 May 2014
1 answer
154 views
How can I Update/Insert/Delete a record in a grid having a GroupByExpressions ?

My grid is a timesheet and is grouped by weekdays: sunday, monday, tuesday, wednesday, thursday, friday, saturday.
Thanks!
 
Princy
Top achievements
Rank 2
 answered on 13 May 2014
3 answers
229 views
Scenario:

I have a RadTabStrip with Multipage created during load.  Using ajax, I created the individual RadGrid for the tabs under ontabclick event.  I can't seem to export the grids once they are created.  Please help.
Shinu
Top achievements
Rank 2
 answered on 13 May 2014
2 answers
78 views
How hide notification context menu icon ?

<telerik:RadNotification ID="RadNotification1" Skin="Glow"    VisibleOnPageLoad="false" Animation="Fade" AutoCloseDelay="10000" runat="server" ContentScrolling="None" Height="260px" Position="Center" RenderMode="Auto"  TitleIcon="none"  ContentIcon="none" ShowTitleMenu="True" Title="DataBase NaN values report" TitleMenuToolTip="" Width="320px" EnableRoundedCorners="True" EnableShadow="True">
</telerik:RadNotification>
EanX
Top achievements
Rank 1
 answered on 13 May 2014
6 answers
1.8K+ views
Hi
I want to use jquery-ajax to populate a RadComboBox and I get a really strange behaviour.

I have a javascript that triggers on OnClientItemsRequesting

 

 

 

function onModelRequesting(sender, args) {
var text = args._text;
$.ajax({
type: "GET",
url: "/Release/GetModelProjects/",
data: { query: text },
dataType: "json",
success: function(xhr) { 
writeModelsData(xhr);}
});
}

function writeModelsData(data) {
 modelsCombo.clearItems();
 modelsCombo.trackChanges();
 for (var i = 0; i < data.length; i++) {
  var comboItem = new Telerik.Web.UI.RadComboBoxItem();
  comboItem.set_text(data[i].ProjectName + ' ' + data[i].ModelName);
  comboItem.set_value(data[i].ProjectName);
  modelsCombo.get_items().add(comboItem);
 }
 modelsCombo.commitChanges();
}

This seems to work except one thing, the items is not in my dropdown directly, I have to click the dropdown arrow in "ShowMoreResult". Ill se them flash quickly then they dissapear, and then I have to click the down arror at the bottom of the dropdown. What am I missing?

Regards

 

 

 

 

 

 

 

 

 

Pankaj
Top achievements
Rank 1
 answered on 13 May 2014
10 answers
335 views
Hi,

i want to save image in temporary folder and get preview on upload file

Regards
Yasin
Hristo Valyavicharski
Telerik team
 answered on 13 May 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?