Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
64 views
Hello,

I have a RadGrid, this RadGrid uses an Edit Form Template containing multiple controls for user input. In particular, I am interested in how I can add existing values to a RadComboBox which has multiple checkbox options when the edit form is opened.

Currently, I have methods to get all the values I need to check from my database. I also have all other elements in the grid initialized on edit mode because they are bound in my markup. Below is the code I am trying to use to check some items in the RadComboBox (OnEditOrInsertMode handles RadGrid.OnItemCreated, getFormFactorIds is a function that returns a list of ids to be checked.):

01.protected void OnEditOrInsertMode(object sender, GridItemEventArgs e)
02.{
03.    // Initalizes the RadComboBoxFormFactor combobox like all the other controls in the form.
04.    if (e.Item is GridEditableItem && e.Item.IsInEditMode)
05.    {
06.        GridEditableItem item = (GridEditableItem) e.Item;
07.        RadComboBox formFactorComboBox = (RadComboBox) e.Item.FindControl("RadComboBoxFormFactor");
08.        List<int> formFactorIds = (List<int>) getFormFactorIds((int) ((GridEditableItem)e.Item).GetDataKeyValue("CID"));
09. 
10.        formFactorComboBox.DataBind();
11.        foreach (RadComboBoxItem rcbItem in formFactorComboBox.Items)
12.        {
13.            rcbItem.Checked = formFactorIds.Contains(int.Parse(rcbItem.Value));
14.        }
15.        formFactorComboBox.DataBind();
16.    }
17.}


But, this seems to have no effect when I verify that a particular item has values marked in the multiple select combobox, and step through the code in the debugger and watch the 'Checked' values be set to 'true'.

What is causing the 'Checked' values to be set back to false?
Am I setting the 'Checked' values in the correct handler?

Thanks
Eyup
Telerik team
 answered on 24 Feb 2015
2 answers
94 views
Hi,

I want to hide the text under control (check the attached image file).

And I want to get "SaveSettings" values like json/xml format. Is it possible?
If possible I want take them from javascript, but if it is impossible I want to know how to get this settings from code behind in xml or json format
Eyup
Telerik team
 answered on 24 Feb 2015
1 answer
47 views
Hi,
I need to find a list of filtered rows/columns value on server side. Is it possible?
As you can see on the attached file I found the value but they are a not public member

Thanks
Angel Petrov
Telerik team
 answered on 24 Feb 2015
11 answers
567 views

I have a rad grid inside a update panel.
Add a trigger in update panel on a button.
this works fine but when we click on header of grid fro sorting then it throws a error column name is not find.

Please suggest me what i will do to remove this problem. Its vary urgent
Kostadin
Telerik team
 answered on 24 Feb 2015
3 answers
386 views
Hi all,

I am trying to get value of certain column from datagrid and then use it in URL for hyperlink control. I am using  onitemdatabound  event and  using the code like this


 

 

Hashtable t1 = new Hashtable();

 

 

dataItem.ExtractValues(t1);


but it is not extracting all the values from dataitem and only showing few values.
Any advice ?

Pavlina
Telerik team
 answered on 24 Feb 2015
1 answer
119 views
I have a rad tab strip on a page in my project. When I try to set the orientation value of the tabstrip to HorizontalTop nothing happens. When i try to use any setting at all, the same occurs. I have attached two pictures of the issue. the first is the observed result and the second is the preferred result/Design view. 

The affected code is:
<div>
                                                   <telerik:RadTabStrip ID="rtsCharts" runat="server" Skin="Office2007" MultiPageID="rmpCharts" Width="575px"
                                                       SelectedIndex="0">
                                                       <Tabs>
                                                           <telerik:RadTab runat="server" Text="Pie Charts" PageViewID="rpvPie" />
                                                           <telerik:RadTab runat="server" Text="Bar Charts" PageViewID="rpvBar" TabIndex="1" />
                                                       </Tabs>
                                                   </telerik:RadTabStrip>
                                                   <telerik:RadMultiPage ID="rmpCharts" SelectedIndex="0" runat="server">

I have a RadGrid and several RadHtmlChart controls on the page as well. I have several other pages with the tabstrip/MultiPage setup without any issues. I can't for the life of me figure out what I did wrong.
Magdalena
Telerik team
 answered on 24 Feb 2015
1 answer
848 views
Hi,

I am using the RadAsyncUpload control on an asp.net ajax C# web page. I want to customize the look and feel of the control. How could I increase the size of the "Select" button and the textbox. I tried to do it by setting the height and width of the control, but it didn't have any effect on the button or the textbox size!

<telerik:RadAsyncUpload ID="radAsynFileUploader" runat="server" Skin="Windows7"
AllowedFileExtensions=".pdf, .doc, .docx, .txt, .zip"
EnableTheming="true"
HideFileInput="false" Width="400px" Height="200px" >
</telerik:RadAsyncUpload>

Since the page contains a couple of Bootstarp 3 buttons, I want the button from this control also to be of the same size as the Bootstrap buttons. Also, the font of the displayed file name and "Remove" link after a file is selected are too tiny and want to increase their size also.

Thanks
Magdalena
Telerik team
 answered on 24 Feb 2015
1 answer
118 views
Hello,

I have implemented a page loading a pivotgrid from an xml file using Persistence Framework and it works fine.
my pivotgrid use OLAP datasource.

I would like to get the filter set for a specific dimension in the pivotgrid and display in a textbox the selected value for the filter, programmatically server side.

I looked for documentation in the online documentation and in threads in this forum but didn't found anything about how to do this.

is it possible to do this and how can I implement a solution?

thanks in advance.

regards
Jérome
Top achievements
Rank 1
 answered on 24 Feb 2015
13 answers
457 views
Hi all

I have issue with Radgrid 2010 version 3.5 with SharePoint 2010. When Radgrid show filter , this page show error page.
Please see attachment file and help me.

Thanks
Nguyen
Adiga
Top achievements
Rank 2
 answered on 24 Feb 2015
13 answers
738 views
Hello, I'm having a little bit of a problem, I'm binding my data source using the event "NeedDataSource"
However, in the case of no records available, if I hit the add new record button. I get the loading circle appears but then my "EditItemTemplate" Items don't. I tried adding a record directly though an SQL query, and then it worked. 
What could be the reason for this? and how can I solve it? Thank.
Eyup
Telerik team
 answered on 24 Feb 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?