Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
135 views
Hi,

I deploy the new RadEditor version 4.4.1.0 insteadof 4.3.2.0.
I found 2 error from the event viewer application as below :

- (Event ID: 6611) Error: Failure in loading assembly: RadEditorSharePoint, Version=4.3.2.0, Culture=neutral, PublicKeyToken=1f131a624888eeed
- Error: Failure in loading assembly: RadSpell.Net2, Version=3.1.2.0, Culture=neutral, PublicKeyToken=b5dad7bf2bf594c2

I checked web.config and  all files in RadEditorSharepoint folder (C:\Program Files\Common Files\Microsoft Shared\web server extensions\wpresources\RadEditorSharePoint) . They correctly point to new version. Could you please investigate it.

The server is window 2003.

Regards,
lee

Stanimir
Telerik team
 answered on 07 Sep 2011
1 answer
257 views
Hi,

   I have a combo box in the edit Form in a radgrid. Im using Entity Framework and a business layer class to return an IEnumerable List
<Employees> to bind to the grid. When the edit form comes up I want the titles and names of the employees to be shown in the combo box. like as the  DataTextField like :

"{Title}:" + {FirstName}  + " " + {LastName}

and I want to bind another property in the Employee class employee_Id as the DataValueField.

Can someone show me how to do this, I am doing something similar in a GridCalculatedColumn where I am able to combine these multiple fields and show them in an expression like shown above. Please see Grid calculated column below. How can I bind the combo box like this so i can see the title: FirstName  Lastname  in the text field. Please note that I dont want a multi column grid as shown in this example here
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx  

I want to show them all together. and be able to bind the employee_id property as the DataValueField so when i submit the form I can read that, can someone please show me how to do this in code, thanks.   Please see below for the CalculatedGridColumn where i am showing same information.

<telerik:GridCalculatedColumn SortExpression="Employee.FirstName" HeaderText="Employees" AutoPostBackOnFilter="true"
 DataFields="Employee.Title,Employee.FirstName, Employee.LastName" Expression='{0}  + ":" + {1} + " " + {2}' >                        
 <HeaderStyle HorizontalAlign="Left" Width="30%" />
                         <ItemStyle HorizontalAlign="Left" />
                    </telerik:GridCalculatedColumn>
Jayesh Goyani
Top achievements
Rank 2
 answered on 07 Sep 2011
3 answers
158 views
Hi,

I'm making an application, where one of the wanted features is to have the ability to move fields around and save their position(the app is mostly made up of data fields, lots of labels and textboxes) and I have been using RadDock to achieve this. It works great, I've removed the styling for the docks so by default they can't be seen, and clicking a button to enter an 'edit mode' reveals the grip drag handle to move them around. When the user is done, you can exit edit mode and the form has been re-arranged with no problems.

What I'm wondering is if there is way to set the drag handle of a RadDock to the RadDock itself, so instead of having the grip appear above the field (it makes the entire form double in height), clicking on anything inside of the dock would allow you to drag it. Obviously the controls inside the dock would not be usable, as for example clicking on a button would just enable the dock for dragging.

I thought I could use the same method as used in the demo for creating a custom drag handle, but it doesn't seem to be working in this situation.

Anyone attempted this before?

Thanks,
Veli
Telerik team
 answered on 07 Sep 2011
0 answers
37 views
Hi,

Can any one explain how to print only RadGrid HeaderRow ?

Thanks in advance...
Guruvu
Top achievements
Rank 1
 asked on 07 Sep 2011
7 answers
237 views
I have a RadGrid, displays strings and ints, and lets you edit them easily.

When I insert, i require a drop down box to be able to select a product, and another drop down box which will let you select units (count, box of 12, case of 4 boxes) etc.  Each Unit is dependent on the Product selected.

Currently the first drop down box has an SelectedIndexChanged Event, which will update the ObjectDataSource and requery.

Now I need to be able to grab the second (unit) Combobox, and do a rebind.

It seems since it's in an insert row, it's difficult to find the control in the grid.

Any Suggestions?
Jayesh Goyani
Top achievements
Rank 2
 answered on 07 Sep 2011
0 answers
32 views

Hi,

Now i am able to print RadGrid selected row with the help of following article:
http://www.telerik.com/community/forums/aspnet-ajax/grid/how-to-print-selected-radgrid-row-and-add-new-link-button-in-command-item-template.aspx

I need to print Header Row along with selected row.

How can i achieve this requirement.

Thanks in advance...

Guruvu
Top achievements
Rank 1
 asked on 07 Sep 2011
1 answer
135 views
Hello!

I used a radwindow to show detail and use wnd.Center() to center the popup radwindow.
The problem is that when I choose 50 rows and scroll the grid the popup window (position fixed to the grid) also move with the grid to the top.

I checked all the answers telerik master posted. one is using

 

 

.RadWindow

 {  

 

height:200px;

position: fixed !important;

}

The solution works only for a few top records. when bottom record is clicked the window won't be shown ( I think it maybe shown somewhere which I can't see) and the whole grid page is grayed out.

I don't know how to solve the problem. please help.
My code is code for reference. Thanks again.

        function ShowDetail(sender, args) {
            var id = args.getDataKeyValue("RowID");
            var wnd = window.radopen("CommLogDetail.aspx?RowID=" + id, "RecordDetailWindow");
            wnd.Center();
}
    <script type="text/javascript">
        .RadWindow
        
            height:200px;
            position: fixed !important;
            
        }
    </script>
  
// and I also try to merge these codes into it ( another solution)  which doesn't work.
        function ShowDetail(sender, args) {
            var id = args.getDataKeyValue("RowID");
            var wnd = window.radopen("Detail.aspx?RowID=" + id, "RecordDetailWindow");
            //wnd.Center();
            GetSelectedWindow();
            PositionWindow();
        }
        function GetSelectedWindow() {
            var oManager = GetRadWindowManager();
            return oManager.getActiveWindow();
        }
  
        function PositionWindow() {
  
            var oWindow = GetSelectedWindow();
            if (!oWindow) {
                return;
            }
////
            <telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
                <Windows>
                    <telerik:RadWindow ID="RecordDetailWindow" runat="server" Title="Record Detail" Height="700px"
                        Width="900px" ReloadOnShow="true" ShowContentDuringLoad="false" Modal="true"
                        CssClass="RadWindow" />
                </Windows>
            </telerik:RadWindowManager>

Shinu
Top achievements
Rank 2
 answered on 07 Sep 2011
1 answer
693 views
Hi,

   I have a combo box in the edit Form in a radgrid. Im using Entity Framework and a business layer class to return an IEnumerable List
<Employees> to bind to the grid. When the edit form comes up I want the titles and names of the employees to be shown in the combo box. like as the  DataTextField like :

"{Title}:" + {FirstName}  + " " + {LastName}

and I want to bind another property in the Employee class employee_Id as the DataValueField.

Can someone show me how to do this, I am doing something similar in a GridCalculatedColumn where I am able to combine these multiple fields and show them in an expression like shown above. Please see Grid calculated column below. How can I bind the combo box like this so i can see the title: FirstName  Lastname  in the text field. Please note that I dont want a multi column grid as shown in this example here
http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multicolumncombo/defaultcs.aspx  

I want to show them all together. and be able to bind the employee_id property as the DataValueField so when i submit the form I can read that, can someone please show me how to do this in code, thanks.   Please see below for the CalculatedGridColumn where i am showing same information.

<telerik:GridCalculatedColumn SortExpression="Employee.FirstName" HeaderText="Employees" AutoPostBackOnFilter="true"
 DataFields="Employee.Title,Employee.FirstName, Employee.LastName" Expression='{0}  + ":" + {1} + " " + {2}' >                        
 <HeaderStyle HorizontalAlign="Left" Width="30%" />
                         <ItemStyle HorizontalAlign="Left" />
                    </telerik:GridCalculatedColumn>
Shinu
Top achievements
Rank 2
 answered on 07 Sep 2011
1 answer
207 views
I've got a fairly generic radgrid that uses "EditForms" for the edit mode.

I have the edit column set to:

<

 

 

EditColumn CancelText="Cancel" UpdateText="Update" ButtonType="PushButton"></EditColumn>

 


and as expected the buttons appear at the bottom of the form which is fairly long with 40+ items. I'd also like to put the two buttons at the top of the edit form so the user doesn't have to scroll so far to update or cancel. Is there an easy way to do this? Thanks.

-Tim
Princy
Top achievements
Rank 2
 answered on 07 Sep 2011
10 answers
413 views
Hi,

I have a DateTime column on the RadGrid. I would like to add a time picker to the column. Please send directions and/or sample codes.

thanks,
Minh Bui
Minh
Top achievements
Rank 1
 answered on 07 Sep 2011
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?