Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
88 views
Hi friends,

I have a special case in which I have a RadSplitter in my master page and inside the splitter, I have to put a ContentPlaceHolder NOT a RadPane directly. So in my content page which using my master page, I will fill out the ContentPlaceHolder  with my user control which contains a RadPane and some simple .net controls inside the RadPane. I think this should work but actually after the page loading, the HTML Table rendered by the RadSplitter is empty (no JavaScript error occurred).

can someone help me with this? or having a workaround?
very appreciate!

thanks,
Roger
roger
Top achievements
Rank 1
 answered on 24 Jan 2014
7 answers
190 views
Is there a way to change the behavior of the drag and drop feature so that when you grab a row, the mouse does not align to the upper left hand corner of the drag piece?

I would MUCH prefer it if the mouse stayed in the location it was originally clicked so that the drag experience is much cleaner.

Thanks in advance.
Konstantin Dikov
Telerik team
 answered on 24 Jan 2014
3 answers
115 views
Can anyone show a code sample of how I can retrieve content from a RadEditor as markdown on the server (not on the client)?

I have read this demo page and it says to use OnExportContent but I'm not sure how to do that. 
Marin Bratanov
Telerik team
 answered on 24 Jan 2014
1 answer
75 views

I'm using the Telerik RadCalendar control and when I try to navigate through a day (click in day in calendar) or to next or previos month in the calendar i can't in IE. In Chrome and Firefox works ok but not in IE.

In IE the URL changes and add a anchor (#) at the last of URL.


Any suggestions? Thank you.

Viktor Tachev
Telerik team
 answered on 24 Jan 2014
23 answers
272 views
Hello,

I have a radgrid inside a RadTabStrip/Multipage/Pageview, this grid uses OnNeedDataSource to bing to a small table with 3 columns: a Guid, a string, another Guid.
I display normally 2 columns+ an edit column, the first Guid column is marked as display=false, the 3rd uses a lookup table to set its value.
My problem is that any column I set after the non displayed column is also hidden.

I have dozen other radgrid in my site working quite ok, but I can't solve the problem with this one:
Here is my code
<div style='float:left;width:100%;'>  
                            <telerik:RadGrid ID="RadGrid1" GridLines="None" AutoGenerateColumns="False" AllowPaging="True" PageSize="50" runat="server">  
                                <PagerStyle Mode="NextPrevAndNumeric" /> 
                                <ClientSettings AllowColumnsReorder="false"  Resizing-AllowColumnResize="false"/>  
                                <MasterTableView CommandItemDisplay='None'  TableLayout="Fixed" DataKeyNames="SourceUserId" > 
                                    <Columns> 
                                        <telerik:GridBoundColumn DataField="SourceUserId" UniqueName="SourceUserId" DataType='System.Guid' Display="false" ReadOnly="true" HeaderStyle-Width='5px' /> 
                                        <telerik:GridBoundColumn DataField="LastName" HeaderText="Name" UniqueName="LastName" ReadOnly="true" HeaderStyle-Width='80px'/>  
                                        <telerik:GridBoundColumn DataField="SourceDomainName" HeaderText="Source Domain" UniqueName="SourceDomainName" ReadOnly="true" HeaderStyle-Width='200px'/>  
                                        <telerik:GridDropDownColumn DataField="TargetDomainName" HeaderText="Target Domain" ListTextField="TargetDomainName" ListValueField="DestId"   
                                            DropDownControlType="RadComboBox" UniqueName="TargetDomainName"  EditFormColumnIndex='0' HeaderStyle-Width='200px' /> 
                                        <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" ButtonType="ImageButton"   > 
                                            <HeaderStyle Width="50px" /> 
                                        </telerik:GridEditCommandColumn> 
                                    </Columns> 
                                    <EditFormSettings ColumnNumber='1'>  
                                        <FormTableItemStyle Wrap="False" /> 
                                        <FormMainTableStyle GridLines="None" CellSpacing="0" CellPadding="3" Width="100%" /> 
                                        <FormTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="2" Height="110px" Width="100%" /> 
                                        <FormTableAlternatingItemStyle Wrap="False" /> 
                                        <FormStyle Width="100%" /> 
                                        <EditColumn  ButtonType="ImageButton"  > 
                                        </EditColumn> 
                                        <FormTableButtonRowStyle HorizontalAlign="Left" /> 
                                    </EditFormSettings> 
                                </MasterTableView> 
                            </telerik:RadGrid> 
                            </div> 

The LastName column is not displayed, I added it to have the SourceDomainName column displayed.

I have used a small test project and I ma unable to reproduce the problem....

When I look in IE8 to the generated code, everything seems to be ok, especially the init for columns, and don't understand what is the side effect driving to have the column not displayed when it should be.

Here is the source code from IE8
Sys.Application.add_init(function() {  
$create(Telerik.Web.UI.RadGrid,  
    { "ClientID": "WebHeaderButton_TPans_M_Migra_651_RadGrid1",   
    "ClientSettings": { "AllowAutoScrollOnDragDrop": true, "ShouldCreateRows": true, "DataBinding": {}, "Selecting": {}, "Scrolling": {}, "Resizing": {}, "ClientMessages": {}, "KeyboardNavigationSettings": { "AllowActiveRowCycle": false, "EnableKeyboardShortcuts": true, "FocusKey": 89, "InitInsertKey": 73, "RebindKey": 82, "ExitEditInsertModeKey": 27, "UpdateInsertItemKey": 13, "DeleteActiveRow": 127} }, "Skin": "Web20", "UniqueID": "WebHeaderButton$TPans$M_Migra_651$RadGrid1", "_activeRowIndex": "", "_controlToFocus": "", "_currentPageIndex": 0, "_editIndexes": "[]", "_embeddedSkin": true, "_gridTableViewsData": "[{\"ClientID\":null,\"UniqueID\":null,\"PageSize\":50,\"PageCount\":1,\"EditMode\":\"EditForms\",\"CurrentPageIndex\":0,\"VirtualItemCount\":0,\"AllowMultiColumnSorting\":false,\"IsItemInserted\":false,\"clientDataKeyNames\":[],\"_dataBindTemplates\":false,\"_selectedItemStyle\":\"\",\"_selectedItemStyleClass\":\"rgSelectedRow\",\"_columnsData\":[{\"UniqueName\":\"SourceUserId\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"ColumnType\":\"GridBoundColumn\",\"Display\":false},{\"UniqueName\":\"LastName\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"ColumnType\":\"GridBoundColumn\",\"Display\":true},{\"UniqueName\":\"SourceDomainName\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"ColumnType\":\"GridBoundColumn\",\"Display\":true},{\"UniqueName\":\"TargetDomainName\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":true,\"ColumnType\":\"GridDropDownColumn\",\"Display\":true},{\"UniqueName\":\"EditCommandColumn\",\"Resizable\":true,\"Reorderable\":true,\"Groupable\":false,\"ColumnType\":\"GridEditCommandColumn\",\"Display\":true}]}]", "_masterClientID": null, "allowMultiRowSelection": false, "clientStateFieldID": "WebHeaderButton_TPans_M_Migra_651_RadGrid1_ClientState" }, null, null, $get("WebHeaderButton_TPans_M_Migra_651_RadGrid1"));  
});  
 

My turn around is Ok, but it is certainly hiding something ...suspect.

Any idea welcome, especially if successful.

CS
Venelin
Telerik team
 answered on 24 Jan 2014
3 answers
98 views
Hi,

I am using radgrid's Add new record feature.

I am saving the grid from an external button. I had invoked batcheditcommand to get the changed columns.

I have a column in my grid, for which i am calling a client function and changing only the image.
I want to make this column as editted. I am able to change the class of the column as rgBatchChanged, but it is not getting in batcheditcommand.


Please help me.... since i am stuck with this radgrid.
Angel Petrov
Telerik team
 answered on 24 Jan 2014
2 answers
981 views
I need to add a default item to all my dropdown lists, but I dont want to have to put it in the database where I load the dropdownlist from.  how can I add a default item at the top of the list for them to Pick an Item from List, itstead of showing first thing from the dtabase.


How I load the DropDownList then I call the void from within another load statement
 protected void FillDDl()
    {
        sql = "select intPlanId, strFuturePlan from ESGRFuturePlan where bitActive = 1 Order by strFuturePlan";
 
        ddlFuturePlan.DataTextField = "strFuturePlan";
        ddlFuturePlan.DataValueField = "intPlanId";
        ddlFuturePlan.DataSource = c.GetReader(sql);
        ddlFuturePlan.DataBind();
    }
 
To that list that Loads I need to add an Item such as
"Pick and Item from List" and give it a value of zero so that I can validate agianst it.

I then call FillDll() in my Load Person statement.





















Kevin
Top achievements
Rank 1
 answered on 24 Jan 2014
1 answer
129 views
I have an app with some legacy aspx files, and you know, controls like DateTimePickers or ComboBoxes doesn't look alike (not even close) if you use aspx (ASP:NET Ajax controls) and mvc pages (Kendo UI controls).

So I was wondering if there is some skin (either in Kendo or in ASP.NET Ajax side) that makes them look, at least, quite similar.

Regards
Dario
Ivan Zhekov
Telerik team
 answered on 24 Jan 2014
1 answer
79 views
Hi
how to set the expand collapse image for a grid?
Jayesh Goyani
Top achievements
Rank 2
 answered on 24 Jan 2014
1 answer
68 views
i am using some validations which are on server side and Whenever this validations are called an post backed my
rad upload control looses its css.

file selected get hidden,and text box becomes big
vab
Top achievements
Rank 1
 answered on 24 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?