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
}
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.
if (!IsPostBack)
{
GridColumnGroup columnGroup = new GridColumnGroup();
columnGroup.HeaderText = "Parent Header";
columnGroup.Name = "ParentHeader";
RadGridControl.MasterTableView.ColumnGroups.Add(columnGroup);
}
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";
}
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?
® = ®
Hello,
I am working with a RadSearchBox and I would be interested in displaying a list with suggestions triggered from server side, just like when user types in RadSearchBox, but triggered from server instead. The idea is user search triggers a process that populates my database and when process is done, I would like to display the list of suggestions that would match the original search with actual data. Is there any way?
Thank you in advance.