Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
325 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
81 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
82 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.4K+ 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
209 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
565 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
1 answer
107 views
Hi,
I have used Telerik Rad Context menu on to a image button and on right click of it I am displaying the context menu.
Till here everything works fine. (Refer Image: RadContextmenu.jpg)

I have the image button and RadContextmenu inside a div and its has scrolling enabled.
Now the problem is RadContext Menu detaching from the image button and open in different places when you scroll inside the div.(Refer the image Context Menu Detached.jpg)

Please suggest me a solution for this.
Shinu
Top achievements
Rank 2
 answered on 02 Apr 2014
3 answers
863 views
Hi,
    Am new to this Thread. And we are using Telerik DLL for past 4 years. Need suggestion to create Column groups using Telerik Old DLL 2007 version. 

   If my Grid contains 6 columns and three Groups (2 Columns). Need to Bind the Grid with Group header and Columns. 

  GROUP1      GROUP2      GROUP3
COL1 COL2 COL3 COL4 COL5 COL6

With this Sorting must be functioned for All Groups and Columns. 


Regards,
Kalaiselvan

Princy
Top achievements
Rank 2
 answered on 02 Apr 2014
1 answer
68 views
Hello.

Hopefully this is quite simple and something I've overlooked.

I'm using the SiteMap as a bread crumb and would like the text aligned to the left margin.
At the moment it is indented within the yellow node. I would like it hard up against the left margin.

Is that possible using CSS or other means?
Princy
Top achievements
Rank 2
 answered on 02 Apr 2014
7 answers
451 views
Are there any quick JS examples of how I can get the filename values through these functions so I can process them further in my C# code?  I need to be able to retrieve them and add them to a SQL repository of associated data.  Pretty elementary, but I'm still learning JS.  Thank you.

Shinu
Top achievements
Rank 2
 answered on 02 Apr 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?