Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
219 views

Hi,

  I want to bind image to radcombobox and iits composite control and in attribute i am binding image but its no displaying image please help!!

 

  private static RadComboBoxItemData ConvertData(IAutoCompleteItem item)
        {
            var data = new RadComboBoxItemData();
             
            foreach (KeyValuePair<string, object> itm in item.Attributes)
            {
              //  data.Attributes[itm.Key] = itm.Value;
                //string imageURL = string.Format(null, "<div class=\"bed_priority_field\"><img src=\"../img/assignment_{0}.png\" /></div>", "priority");
                
                //    data.Attributes["style"] = "background: url(" + imageURL + ");background-repeat:no-repeat;";
              
                //  _radItem.Attributes["imgpath"] = "../img/assignment_priority.png";
                data.Attributes[itm.Key] = "<html>< head></head><body><img src=\"../img/assignment_priority.png\" /></body></html>";
                  
            }

            data.Text = item.Text;
            data.Enabled = item.Enabled;
            data.Value = item.Value;
            return data;
        }

Nencho
Telerik team
 answered on 03 Dec 2015
3 answers
172 views
Exploring the new spreadsheet component and it sounds very promised to one of my upcoming project. The customer has an excel data sheet with many scientific formulas built-in. I want to build an excel template based on its original formula (locking the formula column) and bind the data with a table in the SQL database. Can you advise if this new component is better than Grid component for this purpose? Do you have any example to follow? Thanks
Bozhidar
Telerik team
 answered on 03 Dec 2015
3 answers
166 views

 HI Community

 

I have a radcombobox with checkboxes. i like check all items bases on an ; delemited string. 

i'm looping an array and if i find the value i set the checked option to true. 

when i debug the code im getting to the part where i the checked = true ..... but when i open the box the value is not checked

 

any suggestions why it happens ? 

thanks 

Dennis 

 

                foreach (string Fund in aFunds)
                {


                    if (cbFunds.FindItemIndexByText(Fund) != -1)
                    {

                        cbFunds.FindItemByText(Fund).Checked = true;

                    }


                }

Eyup
Telerik team
 answered on 03 Dec 2015
1 answer
151 views

Hi

We're using the SQL DB adaptor approach to store images for use in your RadEditor / ImageManager.  Our CMS platform enables us to load thumbnail size versions of those images, however I can only see a way to supply ONE image url through when loading the image list, and no way to modify that URL when a user clicks to load the full size image up in the right hand preview panel.  There doesn't seem to be any onLoad type event I can hook to which would allow me to alter that preview image url.  

To be clear, the intention here would be to use a thumbnail url for the thumbnail listings of all images, but then to use the full size image version in the right hand side preview panel when they click on an individual image.

 Is this possible?

 Thanks

 

Vessy
Telerik team
 answered on 02 Dec 2015
1 answer
52 views

Hi,

 i kept RadTreeView inside Div where that div is having runat=server 

Collapse/Expand is not functioning

 <div class="divPanels" id="divTenants" runat="server">

 <telerik:radtreeview id="TreeView1" width="350px" runat="server" checkboxes="True" skin="TreeViewSkin" enableembeddedskins="False" onclientnodechecked="clientNodeChecked" height="240px"/>

</div >

Please help me.

Veselin Tsvetanov
Telerik team
 answered on 02 Dec 2015
1 answer
254 views

Dear Telerik Team,

 I am having the table with parent child details in the same table.

  1. id - 11 , parent - 1, name - aaa
  2. id - 12, parent - 11, name - aab
  3. id - 13, parent - 11, name --aac
  4. id - 14, parent - 13, name -aad
  5. id - 15, parent - 14, name - aae , and so on...

Now I want to create the hierarchy grid using this parent child relation. Any my table can have multiple levels,

Is there any chance to use only the parent-child id's, with out defining the details tables for every level??

 

Thanks 

Alex

 

Viktor Tachev
Telerik team
 answered on 02 Dec 2015
1 answer
141 views

Hello,

I have a RadFileExplorer which is set to Thumbnailsmode.

I can't seem to figure out where the localization texts for the pager originates from when the RadFileExplorer is in Thumbnailsmode. The other parts of the RadFileExplorer is translated through the RadEditor.Dialogs.resx file which works fine.

I've searched all the other .resx files included in the release I'm using (2015.1.401) without any luck.

Can you pinpoint me to where this is translated?

I have also tried to translate it manually through the grid but that doesn't work at all. Something tells me that the pager is part of the filelist.listview.

radFileExplorer.Grid.MasterTableView.PagerStyle.PagerTextFormat = "{4} " & pageText & " {0} " & ofText & " {1}, " & itemsText & " {2}-{3} " & ofText & " {5}"

Vessy
Telerik team
 answered on 02 Dec 2015
6 answers
116 views

I have this issue, the items of the radcombo box always display somewhere else, not down the combo box

i have attached some examples.

Thanks in advance.

Veselin Tsvetanov
Telerik team
 answered on 02 Dec 2015
1 answer
141 views

Hi,

I have an ASP.NET page with a RadScheduler with server-side binding.

My users created a new record in the database table that scheduler resources are taken from. This new resource still is not visible to them in the related dropdown list in the advanced form.

I was able to reproduce this issue in my local environment and saw that the new resource became visible only after restarting Visual Studio. So I think the problem is related to resource caching.

My question is as follows: is there a way to force the refresh of the cached resources? Maybe application pool recycle would do the job, but I am searching for something softer, as I don't want to create problems to those working on the application.

Thanks

Regards

Mike

 

Plamen
Telerik team
 answered on 02 Dec 2015
1 answer
49 views

hi, i am having issues with radgrid, while editing particular column i want the format as ####.### , but it is not working i set Dataformatsting also but still not working. Expected thing is it will not accept more than 7 digits and also it need to be format as 4.3 digits .

 

TIA.

Eyup
Telerik team
 answered on 02 Dec 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?