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

If I select an image and set the border width to 5 and then the border color to something (let's say lime) in the editor I won't see the border in the editor. The generated HTML is this:

<img border="5" src="/demos/aspnet/Prometheus/Editor/Img/UserDir/Marketing/awards-page-2007-.jpg" style="border-color: lime;" /> 

If I change that to:

<img src="/demos/aspnet/Prometheus/Editor/Img/UserDir/Marketing/awards-page-2007-.jpg" style="border: solid 5px lime;" /> 

I get to see the border in the editor. Any reason why it works this way?

Also, selecting white from the color dropdown actually removes the color rather than changing it to white. If the function is to remove the color then I think having a white box with an "x" inside is more suggestive. But if this is the case, how can I change the border to white?

Thanks.
George
Telerik team
 answered on 20 May 2008
1 answer
144 views
Hi,

My question is, how do I refresh the pager controls.  Problem is, paging is working perfectly fine except when I do a search that returns like 20 results the first time, it will display say 2 pages(10/page), but when I do another keyword search which returns only 1 result, the number of pages still says 2 instead of just 1.  I cant seem to find any refresh functionality for the grid..plz advice.

here is a snippet of my code:  Search will call loadGrid everytime
loadGrid()
{
           // Database call etc here...cut
            grdResult.DataSource = newList;
            grdResult.DataBind();
}

ASPX:

<telerik:RadGrid ID="grdResult" runat="server" style="width:auto;"
                            GridLines="None" AutoGenerateColumns="false"
                            AllowSorting="true" AllowCustomPaging="true"
                            AllowMultiRowSelection="True"
                            AllowPaging="True" ShowHeader="true"
                            PagerStyle-AlwaysVisible="true"
                            OnItemCreated="grdResult_ItemCreated"
                            OnPageIndexChanged="grdResult_PageIndexChanged"
                            OnItemDataBound="grdResult_ItemDataBound" OnSortCommand="grdResult_SortCommand">
---//Columns here etc...MasterTableView etc...
 </telerik:RadGrid>
Princy
Top achievements
Rank 2
 answered on 20 May 2008
1 answer
169 views
I'm trying to populate a treeview in a combo box with data from a dataset.  The data is a heirical dataset and binding outside of the webcombo works fine.  But when I put the tree into the item template  I can no longer access the treecontrol - so when I load the page I thought I cold just do webcombo.findcontrol("treename") - cast that to a tree control and bind - but keep getting null object... This is my first attempt at using a Telerik control - can someone point me in the right direction?  Need to know how to bind to a tree nested in a webcombo?  Do I bind to the combo and let it propigated to the tree?

Veselin Vasilev
Telerik team
 answered on 20 May 2008
1 answer
71 views
Hi I am having a radgrid and in a column i have binded a radtreeview.

when i click edit, the grid row becomes editable and i will be selecting one or more node's checkboxes and select a value from a dropdown in the next column.

on click of update i need to read the selected nodes id values and the value in the dropdown and pass it to a server method to save the changes to the DB.

after clicking update, the grid is still showing update,cancel links which should be reset to edit link.

how to do this kind of operation in radgrid. any idea? my columns in grid looks something like this.

Edit  ID          Tree                      Dropdown
================================
 Edit  1          1. Fruits                  Dropdowncontrol
                        2. Apple
                        3. Banana
            
Thanks,
Arun.K.S
Shinu
Top achievements
Rank 2
 answered on 20 May 2008
3 answers
106 views
When I close any documentation web-page on the telerik website, (i.e. the ones with a black background, for RadControls for ASP.NET AJAX), it crashes my running instance of I.E. 7. Has anyone else noticed this?

It only seems to happen when they're closed, rather than navigating away to another screen.

Any other pages, e.g. forums, don't cause this issue.

Paul H
Nikolay Dobrev
Telerik team
 answered on 20 May 2008
1 answer
74 views
Hi I am having a radgrid and in a column i have binded a radtreeview.

when i click edit, the grid row becomes editable and i will be selecting one or more node's checkboxes and select a value from a dropdown in the next column.

on click of update i need to read the selected nodes id values and the value in the dropdown and pass it to a server method to save the changes to the DB.

after clicking update, the grid is still showing update,cancel links which should be reset to edit link.

how to do this kind of operation in radgrid. any idea? my columns in grid looks something like this.

Edit  ID          Tree                      Dropdown
================================
 Edit  1          1. Fruits                  Dropdowncontrol
                        2. Apple
                        3. Banana
            
Thanks,
Arun.K.S
Shinu
Top achievements
Rank 2
 answered on 20 May 2008
1 answer
152 views
Hi,

I have a RAD Grid which has insert option in it. I am using 

AllowAutomaticInserts="true". When user clicks on the insert link it insert record. But it adds another empty row after insertion is done.

Please let me know how i can change the mode insert mode after inserting the record.

Regards,
Prasanna

Shinu
Top achievements
Rank 2
 answered on 20 May 2008
3 answers
456 views
I would like to add a radtooltip to a RadGrid row and/or to a column on the row.  The column would have a details icon that when hovered over will display all the details for the row.  Is this possible?

S~
Svetlina Anati
Telerik team
 answered on 20 May 2008
4 answers
268 views
Is is possible to disable rad Editing of an apointment and use a custom Form for Editing? But I still want to be able to drag and edit duration of an appointment.

Ok there are two type of editing an appointment by setting the following property
1. EnableAdvancedForm = True (Redirects to rad Advanced form editing)
2. EnableAdvancedForm = False (Allows to edit the subject of the App on the schedular)

I have used the Second option and now on the client side double click event, I pop up  my custom aspx page.The pop up works but the focus sets back to the base form and the selected appointment goes in the edit mode.

Is there a work around ?



santosh
Top achievements
Rank 1
 answered on 20 May 2008
1 answer
118 views
Hello!

I need to localize the expand collapse column of the rad grid. I use a RadGrid with one Detailtable.

I cannot find the Property that holds the information about the tooltip of the "+" and "-" symbol.

thx in Advance
Markus
Shinu
Top achievements
Rank 2
 answered on 20 May 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?