Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
63 views
Based on this example:
http://www.telerik.com/help/aspnet-ajax/grid-api-for-controlling-net2.html

What would the asp.net code look like for the <EditItemTemplate> tag.

Im trying to add a few custom items on the click event, but the combo box is not being populated.



Luke
Top achievements
Rank 1
 asked on 27 Jul 2011
3 answers
219 views
I need to validate radNumericTextbox, which in Currency type in my application.
I need to validate it for max length 15, with 12 digit + . + 2 decimals.

I don't want to display $ inside the textbox, i want that outside of the textbox.

Please, suggest me the solution ASAP
Divya
Top achievements
Rank 1
 answered on 27 Jul 2011
1 answer
94 views
I understand why it's empty, and we retrieve our original row using lookup of the ID which we can store in the Value prop..
..I just cannot undertand why this is even a property of the Node at all.. Surely if it is only ever available in one event, it should be an argument to the event handler, NOT a property of the Node?
Plamen
Telerik team
 answered on 27 Jul 2011
1 answer
97 views
This is my first time trying out a radrating control.
I add it to my form and set the itemcount to 5 as so:
 <telerik:RadRating ID="RadRating1" runat="server" ItemCount="5"></telerik:RadRating>

No matter what I seem to try, I only ever see one star. What am I missing here?
Slav
Telerik team
 answered on 27 Jul 2011
1 answer
100 views
This is a very general question so i'm sure it could be answered, but i do tend to get myself confused when using the radajaxmanager. 

Basically, my question is,  If i have a radcombobox for example, which say performs some functions on some other controls on the page. 

Can I : Wrap everything in a RadAjaxPanel then simply state that the RadAjaxPanel updates itself and is also the Ajax Control. 

Or is the RadAjaxPanel ONLY for ajaxifying standard .NET controls, and i have to reference each telerik control in the RadAjaxManager.

I guess an example would help

<telerik:RadComboBox ID=combo1... >
<telerik:RadComboBox ID=combo2 .. >
<asp:label id=label1 ...> 

Say these 2 update each other / the label. Would i therefore need to add both combo1 & 2 into my radajaxmanager or could i wrap the entire lot in a radajaxpanel e.g. the top 2, or the bottom 1
  <telerik:AjaxSetting AjaxControlID="combo1">
<UpdatedControls>
  <telerik:AjaxUpdatedControl ControlID="combo2" />
</UpdatedControls>
</telerik:AjaxSetting>
  
  <telerik:AjaxSetting AjaxControlID="combo2">
<UpdatedControls>
  <telerik:AjaxUpdatedControl ControlID="combo1" />
</UpdatedControls>
</telerik:AjaxSetting>
  
  
  <telerik:AjaxSetting AjaxControlID="RadAjaxPanel1">
<UpdatedControls>
  <telerik:AjaxUpdatedControl ControlID="RadAjaxPanel1" />
</UpdatedControls>
</telerik:AjaxSetting>


Alan T
Top achievements
Rank 1
 answered on 27 Jul 2011
1 answer
106 views
Hi;
We are using Telerik RadGrid and are using paging in numeric style. by default the paging is on left handside .Can we have any mechanism were we can shift paging to right hand side
Princy
Top achievements
Rank 2
 answered on 27 Jul 2011
3 answers
170 views
What am I doing wrong. I have a grid with several columns. One column is text OCRed from a page and can be up to 2k alpha numeric character. Obviously I only want to show the first 50 or so. I'ved tried many suggestions but nothing seems to work. Here is the code for the one column:

 

 

GridBoundColumn gridColumn = new GridBoundColumn();

 

RadGrid1.MasterTableView.Columns.Add(gridColumn);

gridColumn.DataFormatString =

 

"<nobr>{0}</nobr>";

 

gridColumn.DataField = dataColumn.ColumnName;

gridColumn.HeaderText = dataColumn.ColumnName;

gridColumn.HeaderStyle.Width =

 

Unit.Pixel(125);

 

gridColumn.ItemStyle.Width =

 

Unit.Pixel(125);

 

gridColumn.FooterStyle.Width =

 

Unit.Pixel(125);

 


Fred
Top achievements
Rank 1
 answered on 27 Jul 2011
2 answers
82 views
Hi,

I have the below itemcommand event of radgrid for copying a record based on ID.

if (e.CommandName == "Copy")
{
SHTemplateUI copyTemplate = new SHTemplateUI();
copyTemplate.CopyTemplateByIdUI(Convert.ToInt32(e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["StudentHistoryTemplateID"]));
this.LoadTemplateList();
}
This copies the record with the same name.

Now i want to make some changes.when i click on copy it should popup a radwindow and ask for the new file name.Once i enter the file name it should check whether the file name already exists.If not copy record with the new file name.

Can anybody help please? 
Arjun
Top achievements
Rank 1
 answered on 27 Jul 2011
1 answer
130 views
I have a drop down that holds around 6000 items. 

If EnableAutomaticLoadOnDemand is set to "True" OnSelectedIndexChanged for RadComboBox1.SelectedItem is NULL.
This is not the case if EnableAutomaticLoadOnDemand is set to "False"

Because I have so many items in my dropdown I have EnableAutomaticLoadOnDemand set to "True". Is this expected behavior? and if so how can I workaround this?

Thanks


Here are the properties I have set on the Combo-box.

<telerik:RadComboBox runat="server" ID="RadComboBox1" Height="400px"
                           Width="750px" MarkFirstMatch="true" DataSourceID="SessionDataSource1"
                           EnableLoadOnDemand="true" OnItemDataBound="RadComboBox1_ItemDataBound"
                           ShowMoreResultsBox="true" EnableVirtualScrolling="true" ItemsPerRequest="20"
                           EnableAutomaticLoadOnDemand="True" DataTextField="AssetDescription"
                           DataValueField="AssetDescription"
          style="margin-bottom: 0px" AutoPostBack="true" OnSelectedIndexChanged="RadComboBox1_IndexChanged"
          HighlightTemplatedItems="true"
          >
Dimitar Terziev
Telerik team
 answered on 27 Jul 2011
0 answers
95 views
Hi, I would like to ask your advice on the following question:

Which technology do you advice me to use Telerik or Silverlight for the web business applications where the number of web forms exceed 500? Thank you. Z.
Zura Chikhladze
Top achievements
Rank 1
 asked on 27 Jul 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?