Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
249 views
Is there any demo for an autocomplete textbox without database  but with the possibility to add a list of  selected items and save those added by the users?
i would like to add this in a radgrid template form with a list of countries.

thanks,
Felice
Nencho
Telerik team
 answered on 02 Apr 2014
1 answer
374 views
Hi,

I have a Telerik Radgrid and I have a button. On click of the button, I try to export the content in the grid to an Excel file. PFB the code I have used for that.

​string alternateText = "ExcelML";
RadGrid1.ExportSettings.Excel.Format = (GridExcelExportFormat)Enum.Parse(typeof(GridExcelExportFormat), alternateText);
RadGrid1.ExportSettings.ExportOnlyData = true;
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.ExportSettings.OpenInNewWindow = true;
RadGrid1.MasterTableView.ExportToExcel();


I have debugged the code and it enters the loop, accesses every line of code and exits the loop with no exception. But the content is not exported to any excel. Please help ASAP
Princy
Top achievements
Rank 2
 answered on 02 Apr 2014
1 answer
366 views
Hi!

I´m building my grids (and its columns) dynamically using data from a database. This data includes information about the formatting and validation. To configure a grid easily I wrote some razor-extension-methods for the kendoUI-grid but now encounter some problems concerning configuration of kendoUI-grid.

1) To display a checkbox for bool-values I have to defined a clienttemplate like this:
boundColumn.ClientTemplate("<input .... />");
This is always shown independent of edit-mode or display-mode. To make it only visible I added the disabled-attribute. But how can I realize a switch to an editable checkbox for InCell/InLine-editing? 

2) Validation should be also configured by data from the database. E.g. the numeric-input: The grid creates automatically the numericTextBox - but how can I modify attributes like min, max or interval?

For both topics it is important to do these settings on the server-side!

Best Regards!
Vladimir Iliev
Telerik team
 answered on 02 Apr 2014
3 answers
261 views
I am using radsearchbox against a database of town or city names, and that works great.

I have an additional field in my database of 'alternative spellings' of these town names  (anglicised versions, ones without special accent characters, etc)

Is it possible to get my searchbox to match against not just the field specified in my datatextfield but against both fields?

Should I be using the DataSourceSelect server side event to modify the query?

Thanks
Plamen
Telerik team
 answered on 02 Apr 2014
1 answer
361 views
Hi,

I have used a Telerik Radgrid and I have a button to export the content from radgrid to excel. PFB the code I have used on click of the button

string alternateText = "ExcelML";
​RadGrid1.ExportSettings.Excel.Format = (GridExcelExportFormat)Enum.Parse(typeof(GridExcelExportFormat), alternateText);
RadGrid1.ExportSettings.ExportOnlyData = true;
RadGrid1.ExportSettings.IgnorePaging = true;
RadGrid1.ExportSettings.OpenInNewWindow = true;
RadGrid1.MasterTableView.ExportToExcel();


While Debugging, it enters the loop and exits successfully without any exception. But still, it doesn't export to an excel. Please help ASAP!
Shinu
Top achievements
Rank 2
 answered on 02 Apr 2014
3 answers
103 views
Hi,

In  my case i am selecting a row then apply filter on grid after filter selected row focus are loss. i want to show this selected row after filter. Please Provide Solutions.

Thanks,
Rahul
rahul
Top achievements
Rank 1
 answered on 02 Apr 2014
1 answer
116 views
Is there any possibility to get the same font size for the same weight in 2 clouds? (Both clouds have the same height and with)

example
GIVEN Cloud 1:
bacons - weight 100
ribs - weight 10

GIVEN Cloud 2:
ribs - weight 10
doner - weight 5

THEN
ribs in both clouds should have the same font size
Marin Bratanov
Telerik team
 answered on 02 Apr 2014
4 answers
1.5K+ views
I have a RadComboBox which is setup to populate the RadComboBoxItems as the user types in characters using a webservice.

Let's say the page was just loaded and the user hasn't clicked on the combobox yet. Meaning there are no values in the list yet.

How could I set the selected value of the combobox from a button click event?

I've seen code for the client side:

<telerik:RadScriptBlock runat=

 

"server"

>​​​

 

 

 

 

var

secCombo = $find(

"<%= rcbCombo.ClientID %>"

);

 

</telerik:RadScriptBlock>

secCombo.set_text(selectedName

 

 

);​​​​​​​​

 

secCombo.set_value(selectedValue);

I've also seen server side code like:

​​​​​​​​​​

 

 

 

 

RadComboBoxItem

item = rcb_securities_list.FindItemByText(selectedName);

 

item.Selected =

 

 

true

;

 

But I think neither is working because either EnableAutomaticLoadOnDemand is enabled or due to the control has no values loaded yet.

How can I set the value?

 

 

​​​
Shinu
Top achievements
Rank 2
 answered on 02 Apr 2014
6 answers
248 views
How do i iterate only the "Master" or lnly the Detail Table SelectedItems when a itemCommand event is fired?

foreach (GridDataItem item in RadGrid1.SelectedItems){// do something}


This iterates all selected items which is not what i want ... btw i was not even able to iterate e.Item.OwnerTableView.SelectedItems as it's not supported. 

Thank you
Eyup
Telerik team
 answered on 02 Apr 2014
4 answers
637 views
I need to create a blank RadGrid  so that a user can add or remove their information in a sql server table. I don't want to bind the RadGrid to the table to display the content of the table inside the Radgird but also I want to use RadGrid to manipulate the data in sql server like insert or delete the information. Would you please help me how to do this?
Princy
Top achievements
Rank 2
 answered on 02 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?