Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
129 views
We are using a Tree View control with a context menu, and it doesn't seem to be working on OS 10.4/Safari 3.

I couldn't seem to find much information pertaining current versions of the Tree View control. Does anyone have any information on this subject?

To be specific, doing a Ctrl-Click doesn't trigger a menu to pop up. It just highlights the word(s).

Thanks,
Seth
Atanas Korchev
Telerik team
 answered on 27 Aug 2008
1 answer
111 views
hi telerik,

I have some questions with the radgrid. I am using the grid with the AllowFilteringByColumn and paging properties enabled. It works as expected. My question is how can I get all the filtered rows if the grid has more than one page. I trie radGrid.Items, it shows only the items of the curent page.

i am looking forward to hear from you guys.



Thomas

Princy
Top achievements
Rank 2
 answered on 27 Aug 2008
2 answers
119 views
Hello Telerik :

I have a problem with a image button and a radcolorpicker.

The scenario is as follows :

The page has a radcombobox  and a radcolorpicker and below it has a  table with a label and an image button.

When I open the combobox works fine. But when  I open the the radcolopicker the image button overlap the radcolorpicker. 

I have been playing with z-index and with absolute position , but I don't get anything. 

Any ideas ?
Sophy
Telerik team
 answered on 27 Aug 2008
4 answers
117 views
I was looking at ideas for a project I'm currently working on - and I was trying out some stuff on your demo site.  Specifically, the demo which shows how to edit on double-click.  While doing so, I found a possible issue.

Here are the steps to recreate the issue:

1) Goto: http://www.telerik.com/DEMOS/ASPNET/Prometheus/Grid/Examples/DataEditing/EditOnDblClick/DefaultCS.aspx
2)  Double click on a row to edit it.
3) Make a change to the data
4) Click on the pager to navigate to page 2
5) Click on the pager to navigate back to page 1
6) Double click on the same row to edit it - you will get a popup which asks Update Changes?
7) Click OK
8) Site error message displays.

I'm just guessing here, but it seems like using the pager to navigate doesnt trigger a check to see if the data has changed - but when you come back to the page and double-click - it knows the data was changed but that data is now inaccessible and the update fails.
Konstantin Petkov
Telerik team
 answered on 27 Aug 2008
1 answer
137 views

Hi all

I have a Databasetable with images in it.
Now I want to show those images in a GridTemplateColumn.
I want to show them directly from database, without first storing the pics on disk.
Is this possible? And how?

The code so far looks like this:

<telerik:GridTemplateColumn UniqueName="ImageColumn">  
    <ItemTemplate> 
        <img id="PlantImage" src='<%# Eval("Image") %>.jpg' alt=""/>  
    </ItemTemplate> 
    <HeaderStyle Width="100px" /> 
    <ItemStyle Width="240px" /> 
</telerik:GridTemplateColumn> 

But the images wont show up in the Grid.
I'm just stuck.

Thanks for your help.
Joffrey


FYI, this is the code I use to upload the images into the database. They are uploaded with  radUpload. Code is mostly from a Telerik KB article.

protected void btnUpload_Click(object sender, EventArgs e)  
    {  
        mediaTypeTable = mediaType.GetAllMediaTypes();  
 
        foreach (UploadedFile file in ruplMedia.UploadedFiles)  
        {  
            string extension = file.GetExtension().Remove(0,1);  
            string imageType = file.ContentType;  
            string name = file.GetNameWithoutExtension();  
 
            //Set the mediaTypeId  
            int mediaTypeId = 0;  
            foreach (DataRow row in mediaTypeTable.Rows)  
            {  
                if (extension.Equals(row["Extension"].ToString()))  
                {  
                    mediaTypeId = Convert.ToInt32(row["MediaTypeId"]);  
                    break;  
                }  
            }  
 
            //ImageData  
            byte[] binaryImageData = new byte[file.InputStream.Length];  
            file.InputStream.Read(binaryImageData, 0, Convert.ToInt32(file.InputStream.Length));  
 
            media.Insert(Convert.ToInt32(rcbPlant.SelectedValue), mediaTypeId, name, name, binaryImageData);  
        }  
    } 
Yavor
Telerik team
 answered on 27 Aug 2008
1 answer
54 views
Hi
I want to know how to get a node's childnode.

please help me
Yana
Telerik team
 answered on 27 Aug 2008
1 answer
110 views
Hi All,

I have a two level hiearchary RadGrid and in the MastertableView there is a column which is a sum of a column in the DetailsTable. When I update a row in the DetailsTable how can I force the parent MasterTableView row to update as well to reflect the new sum?

Thanks
Veli
Telerik team
 answered on 27 Aug 2008
1 answer
111 views
i have problem with radwindow positioning, i am using properties Top and Left but not getting it
i am confusing  with properties OffsetElementID. which ID can  provide here, i  have on radgird ID.  and i am opening radWindow from grid image column.
 
Please!
Georgi Tunev
Telerik team
 answered on 27 Aug 2008
3 answers
214 views
Hi,

I've a control that contain a radcombobox in wich I've put a radmenu to make the selection. It's works great but now I want to add the "load on demand" option to my control to update de radmenu (the menu is filled with a SqlDataSource in the ascx).

When I try to use the "load on demand"  I got this error :
"Script control 'mnu_test' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Nom du parametre;: scriptControl"

My code looks like :
protected void list2_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) 
        { 
            (list2.Items[0].FindControl("mnu_test"as RadMenu).Items.Clear(); 
            list2.Items[0].FindControl("mnu_test").DataBind(); 
        } 

The update works in the code but the page does'nt update and the error is raised. Where's my error ?

Thx a lot !


Veselin Vasilev
Telerik team
 answered on 27 Aug 2008
13 answers
721 views
Hi, All:

I have a question.  I wish to hide the checkbox for the GridClientSelectColumn, but still I can select and un-select a row in RadGrid.

Please give some details.  Thanks.

here is my code:

<rad:GridClientSelectColumn Text="Select" Display="false"></rad:GridClientSelectColumn>


Stanley Huang
Princy
Top achievements
Rank 2
 answered on 27 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?