Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
225 views
i want to create custom time slot in kendo day scheduler. For example i want to create the time slot of 15 min duration from 9:00 am to 1:00 pm and after that i want to create time slot of 30 minutes duration from 1:00 pm to 5:00 pm. i am getting time slots from DB and i want to create slots as it is as its coming from DB.how can i Override the default slot creation functionality of kendo calendar.By defining "majorTick" i am getting all slots with same time duration but i want to customize this duration according to the time coming from DB with each row. Any suggestion/idea to achieve this functionality.
Zia
Top achievements
Rank 1
 answered on 17 Jul 2017
1 answer
133 views

Hi,

the link below is not found.

I have this on a page with a radgrid skin Telerik.

http://aspnet-skins.telerikstatic.com/ajaxz/2017.2.711/Telerik/Grid/sprite.png

 

Ivan Zhekov
Telerik team
 answered on 17 Jul 2017
0 answers
188 views

I have a ASP.NET webform project and want to add bootstrap. But I meet a problem for the RadTabStrip's RadTab with col-xs-6(bootstrap). The RadTabStrip's RadTabs are dynamically created by code. I also set the "col-xs-6 btn btn-primary" to RadTab's attriibute of "class".  I wish I can see two columns RadTab per row in the size of xs(col-xs-6). But I still failed in the RadTab's color and arrange. Does somebody know how to solve this problem?

 

<telerik:RadTabStrip RenderMode="Lightweight" runat="server" ID="RadTabStripMenu" MultiPageID="RadMultiPageMenu" SelectedIndex="0" OnTabClick="RadTabStripMenu_TabClick">

 

for (int index = 0; index < dt.Rows.Count; index++)
{
    string intOrderNo = dt.Rows[index]["intOrderNo"].ToString().Trim();
    string chMenuItem = dt.Rows[index]["chMenuItem"].ToString().Trim();
    string chDescritp = dt.Rows[index]["chMenuName"].ToString().Trim();
 
    short tabIndex = Convert.ToInt16(chMenuItem.Substring(2, 3));
 
    RadTab radTabItem = new RadTab();
    radTabItem.Text = chDescritp;
    radTabItem.Value = tabIndex.ToString();
    radTabItem.PageViewID = "RadPageViewMenu" + tabIndex.ToString();
    radTabItem.Font.Size = new FontUnit(FontSize.Large);
    radTabItem.CssClass = "TabItem";
    radTabItem.Attributes.Add("class", "col-xs-6 btn btn-primary");
 
    RadTabStripMenu.Tabs.Add(radTabItem);
    RadTabStripMenu.DataBind();//add 20170504
}

 

章民
Top achievements
Rank 1
 asked on 17 Jul 2017
3 answers
160 views
The vertical titles appear to be a fixed height after the upgrade to the latest version of the controls.  This behavior is on IE. FF. and chrome.  See attached images of before and after.
Vessy
Telerik team
 answered on 17 Jul 2017
0 answers
209 views

I need help making skins work. I want to use the skin black on radbuttons and radgrid. Every time I set skin to black I get a run time error."Telerik.Web.UI.RadWindow with ID='confirmWindow' was unable to find embedded skin with name 'Black'. Please, make sure that you spelled teh skin name correctly, or if you want to use a custom skin, set EnableEmbeddedSkins=false"

 

I have added the reference to the bin folder. I have tried a lot of different things to make this work and still not accomplishing it. Please help.

 

Jacob
Top achievements
Rank 1
 asked on 17 Jul 2017
13 answers
580 views

I am binding a radgrid to a dataset using NeedDataSource with AutoGenerateColumns set to true. I am using the following code to get Multi-Column Headers. On first load the code executes fine, but on post back it gives an error(pasted below).


The error is happening in RadGrid_ColumnCreated. When I try to access column, it is null.

In Page Load:
if (!IsPostBack)
               {
                   GridColumnGroup columnGroup = new GridColumnGroup();
                   columnGroup.HeaderText = "Parent Header";
                   columnGroup.Name = "ParentHeader";
                   RadGridControl.MasterTableView.ColumnGroups.Add(columnGroup);
               }

  
In RadGrid_ColumnCreated:  
GridBoundColumn column = e.Column as GridBoundColumn;
      string columnName = column.HeaderText;    //--------------> Error happens here on postback.
 
   if (columnName.Contains("Name"))
              {
                  GridBoundColumn boundColumn = e.Column as GridBoundColumn;
                  boundColumn.ColumnGroupName = "ParentHeader";
               }

Error:
Invalid column name: 
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Exception: Invalid column name: 

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  

Stack Trace: 

[Exception: Invalid column name: ]
   Telerik.Web.UI.GridTableView.CreateMultiColumnHeaders(Boolean useDataSource, GridColumn[] copiedColumnSet, GridTHead thead) +359
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +1183
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +640
   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +182
   System.Web.UI.Control.EnsureChildControls() +146
   Telerik.Web.UI.GridTableViewBase.get_Controls() +20
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +34
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +232
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +232
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +232
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Control.LoadChildViewStateByID(ArrayList childState) +180
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +379
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +232
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +232
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +232
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Control.LoadChildViewStateByIndex(ArrayList childState) +232
   System.Web.UI.Control.LoadViewStateRecursive(Object savedState) +395
   System.Web.UI.Page.LoadAllState() +564
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1864
Asim
Top achievements
Rank 1
 answered on 15 Jul 2017
0 answers
132 views
Is the Update Grid Command just the new version of the UpdateEdited Command?  I just noticed that updating one of our grids was sending "Update" as the command, instead of "UpdateEdited"...  I just saw "Update" mentioned in the current documentation, so I thought I should ask here.
Korn1699
Top achievements
Rank 1
 asked on 14 Jul 2017
1 answer
390 views
I would like to have a single textbox outside the grid, and if the user types for example "ABC" all rows that on a column they have a value ABC would be displayed.
Peter Milchev
Telerik team
 answered on 14 Jul 2017
1 answer
618 views

I have a RadGrid displaying data from a SQL DB in which the datetime is UTC.

I would like for the RadGrid to automatically change this datetime so it matches the client's timezone.

How can that be achieved?

Peter Milchev
Telerik team
 answered on 14 Jul 2017
5 answers
162 views
Hello,
One of the outputs for our RadEditor generated content is html reports. We need the ability to convert Symbols to html markup. Please see the example below for copyright symbol. Is there a conversion chart for RadEditor supported symbols and their html markup anywhere?

® = &reg;

 

Pieranna
Top achievements
Rank 1
 answered on 14 Jul 2017
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?