Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
144 views
I currently have a RadGrid control, with a GridDropDownColumn as one of the columns referring to another table in my database structure. See here:
 <telerik:GridDropDownColumn DataField="OptionCategoryID" DataType="System.Int32" HeaderText="Option Category"   
UniqueName="OptionCategoryID" DataSourceID="getOptionCategories" ListTextField="Name" ListValueField="OptionCategoryID">  
</telerik:GridDropDownColumn> 
It's working great, but I wanted to know if there was a way to concatenate the ListTextField using two fields from the datasource? Using the OptionCategoryId and Name to display something similar to the following in the dropdown:

123 - Option1
234 - Option2

Any assistance would be appreciated.
By the way, I'm using OpenAccess as my DAL.
Shinu
Top achievements
Rank 2
 answered on 21 Oct 2009
8 answers
337 views
We have a RadEditor inside a custom control that is being placed on an ASP:Panel that is being controlled by a ModalPopupExtender.

The idea is that when the user clicks on "Edit", the ModalPopupExtender displays the RadEditor. So far, this works fine.

The problem is that when the user clicks on the "Image Manager" button in the editor, the Image Manager form appears behind the RadEditor, where it cannot be accessed.  It seems as if it is being drawn with a lower z-index that the RadEditor itself.

Three months ago, when we were coding this project, we did not see this behavior.  Now, as we're trying to install it, it's shown up.

I need a fast fix, even if it's an ugly one.  Is there some way I can set the z-index for the Image Manager and it's siblings?

Rumen
Telerik team
 answered on 21 Oct 2009
1 answer
105 views
Dear Telerik
                       I need to display in first row of radgrid(asp.net ajax radgrid) controls like combobox,textbox,raddatepicker,radtimepicker
These controls should be displayed after the header column.only the first row should contain these controls.the other rows in radgrid will be filled using database records at runtime.Please let me know whether it is possible to display controls in first row of asp.net ajax radgrid.It is urgent.Hope u will let us know.

Thanks and Regards
sri
Princy
Top achievements
Rank 2
 answered on 21 Oct 2009
1 answer
132 views
Hi Folks,

I'm in need to create an inline editable grid, where the user double clicks over the field and it opens the edit mode, on exit the field(onblur) the  value must be recorded in the database via ajax.

just like that:
http://www.extjs.com/deploy/dev/examples/grid/edit-grid.html

I tried some examples I've found here, but none solved these needs


--
[ sorry for my poor english]
Shinu
Top achievements
Rank 2
 answered on 21 Oct 2009
2 answers
106 views
Hi All, is there some way i can explicitly tell the grid to return to normal read only mode after an insert?

 

Princy
Top achievements
Rank 2
 answered on 21 Oct 2009
1 answer
139 views
I am having a problem with the AfterClientCallBackError. I expect my function to get executed after a callback error was raised but my function was not called, and a default javascript error message was shown instead. (I am seeing something like "UnAuthorized[]_$$_") in the javascript alert. Are there any other event(s) that I can subscribe to to handle the callback error?

I am using Telerik.Web.UI (2008.1.619.20). The AfterClientCallBackError function was defined like this:

function AfterClientCallBackError(node) 
   alert("The error occured when you tried to expand the " + node.Text + " node"); 

The nodes' ExpandMode were set to ServerSideCallBack and I already tried putting the function before and after the treeview markup but both had the same problem.

<telerik:RadTreeView ID="_uscRadTrvtAuthority" runat="server" AfterClientCallBackError ="AfterClientCallBackError" OnClientContextMenuShowing="ClientContextMenuShowing" EnableDragAndDrop="true" AllowNodeEditing="true" OnNodeEdit="_uscRadTrvtAuthority_NodeEdit" Skin="Web20" ShowLineImages="False" CssClass="RadTreeView" OnClientNodeEditing="OnClientNodeEditing_uscRadTrvtAuthority" OnClientContextMenuItemClicking='OnClientContextMenuItemClicking'
                            <ContextMenus> 
                                <telerik:RadTreeViewContextMenu ID="ContextMenu1"
                                    <Items/> 
                                </telerik:RadTreeViewContextMenu> 
                            </ContextMenus> 
                            <CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation> 
                            <ExpandAnimation Duration="100"></ExpandAnimation> 
                        </telerik:RadTreeView> 

Please help.
randz
Top achievements
Rank 1
 answered on 21 Oct 2009
0 answers
69 views
In times past I've successfully implemented drag & drop capability with the RadTreeView.  But now I have a specialized situation for which I don't know if there's a solution:

Imagine you have a tree with 4 distinct types of nodes:

A
  B
    C
      D

In this tree there are 4 levels of nodes.  A B-node can only be a child of an A-node, a C-node can only be a child of a B-node, and a D-node can only be a child of a C-node.

What I'd like to be able to do is once a drag operation has been commenced by the user, restrict which nodes the dragged one can be dropped on.  Thus for example if the user starts dragging a D-node then it can only be dropped on a C-node.

If this is possible, how would one accomplish it?

Robert
Robert
Top achievements
Rank 1
 asked on 20 Oct 2009
1 answer
96 views

Hi! how you doing?

I gonna lost my mind with this error:

(Follow the link to image)

Error image

What am I doing wrong??

Schlurk
Top achievements
Rank 2
 answered on 20 Oct 2009
2 answers
182 views
I'm having the same issue described in this thread:  http://www.telerik.com/community/forums/aspnet-ajax/spell/no-line-break-after-spell-button.aspx

I'm using RadControls for ASP.NET AJAX Q2 2009 SP1.  I followed the instructions in the documentation under Controls > RadSpell > Getting Started to put a simple Spell Check button on my web page.  The issue I have is that I have other buttons on my web site (Save, Cancel, etc.) that I want to be inline with the Spell Check button.  However, there is a line break after the Spell Check button.

My code is below.  The "Spell Check" button appears on its own line.  My "Save" and "Cancel" buttons appear next to each other on the next line.

<telerik:RadSpell ID="RadSpell1" runat="server" SupportedLanguages="en-US,English" 
ControlsToCheck="tbHCMLanguage,tbConsumerLanguage,tbCustomRecommendationComments" AllowAddCustom="false" /> 
&nbsp;  
<asp:Button ID="btnSaveCustomRecommendation" runat="server" Text="Save" OnClick="btnSaveCustomRecommendation_Click" /> 
&nbsp;  
<asp:Button ID="btnCancelAddCustomRecommendation" runat="server" Text="Cancel" CausesValidation="false" OnClick="btnCancelAddCustomRecommendation_Click" /> 
 


How can I remove this line break after the "Spell Check" button?

Thanks for your help!
Kevin
Top achievements
Rank 1
 answered on 20 Oct 2009
3 answers
308 views
To reproduce:

1. Go to html view in editor.
2. Enter one or more "&nbsp;"
3. Switch to edit view.
4. Switch back to html view.

Any explicitly entered "&nbsp;" will have been converted to spaces.

Worse, these do not appear to be normal spaces (#32). They seem to be some funky unicode character that, when written to an html file on disk and viewed in a browser, appears as a "?".

This is VERY ANNOYING. The editor should NEVER change explicitly entered html entities!!!

And it should handle spaces properly (whether entered via the spacebar in edit view or as an entity in html view).
apb
Top achievements
Rank 1
 answered on 20 Oct 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?