Hello,
I have an Issue when I viewing a large chart using the RadOrgChart control, some plus signs appear in the chart as in the attachment screenshot.
Do you guys have any idea on what might be causing this issue? Any help would be much appreciated!
Best Regards
Hello,
I have radcombobox inside radwindow. When postback occurs, Radcombobox itemsrequested event is called and it would insert the items. I would select the item and display the data. It works up to this point. Now, if I click the radcombobox arrow to select again, it freeze. I have to click outside and select again then it works. also, after item is selected, I can't close the radwindow. I need to click outside again, and the radwindow close button works fine. Why is this happening? Could you provide a fix for this problem? thanks. below is sample code.
//client side
function RadComboBox1_OnClientSelectedIndexChanged(arg) {
if (arg) {
__doPostBack("<%=RadComboBox1.UniqueID%>", "OnSelectIndexChange");
}
}
<telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="RadComboBox1">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="pnlBox" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server"></telerik:RadWindowManager>
<telerik:RadWindow ID="RadWindow1" runat="server" >
<asp:Panel ID="pnlBox" runat="server">
<telerik:RadComboBox ID="RadComboBox1" runat="server" EmptyMessage="Select" OnClientSelectedIndexChanged="RadComboBox1_OnClientSelectedIndexChanged"
OnSelectedIndexChanged="RadComboBox1_SelectedIndexChanged" OnItemsRequested="RadComboBox1_ItemsRequested" EnableScreenBoundaryDetection="false" AutoPostBack="false" >
</telerik:RadComboBox>
</asp:Panel>
</telerik:RadWindow>
// server side
protected void RadComboBox1_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e)
{
//get items and bind to RadComboBox1;
}
protected void RadComboBox1_SelectedIndexChanged(object sender, RadComboBoxSelectedIndexChangedEventArgs e)
{
//display data;
}
Hello,
I was wondering how to limit <asp:DropDownList ... />, that its height would be limited to displayed element count, for example, if there are two elements, list will end after them, if there are three, four and so on. Now, as i understand, list is generated by default for 18 lines, if there are one result, list is still 18 lines long, but almost empty.
Thank you for help.
Milgerdas.
Hi,
In my solution i have created Master page with dynamically loaded RadPanel binding with datatable in Codebehind . And used this as Master page to my Child Pages.I have binded the RadPanelItems and assigned the items with Redirection using NavigateUrl Property .
After Navigation from ChildItem of menu click ,i cannot find the Selected item of menu control in the loaded child pages.
In my scenario i have to get the selected item value in child pages and need to select particular parent item of the child and expand the parent item by code behind.
I have set PersistStateInCookie = true .But i want to select the RadpanelItem and their child item for my application scenarios. Please give me the solution asap.
Thanks.
Hi
I would like to integrate the navigation menu into a site that does not have telerik dlls. I looked to see if there is a Kendo version of this control but without that I'm back to this one.
In my main site I have it working just fine so that as the page reduces in width items drop into the hamburger (or sandwich) menu.
I'd like to know what css & js files I would need to use. I am happy to create this from the client side as this site doesn't have much in the way of .net server side stuff.
Regards
Jon
Hi, I have a situation like this (see the attach image), and I have some dilemma.
I have in my page several radgrids, populated with the Advanced Databinding. I use OnNeedDataSource correctly for taking data from my database.
In my scenario the user can press on the "Add row" button and, through a EditForm, create a new row for the grid. The user can see this row, but this row is not saved immediatly on the database. I want to save this new row (and other changes and informations in the page) only after pressing the Save button.
But I have encountered many problems to do this. For example I have some difficulties with managing rebinds and postback... So, I'm here to ask you if exist some "Best practice" to do this kind of stuff.
Thank you for your attention.
i have Radgrid with 4 level, in level1 and 2 i have using SqlDatasource (drop drop)
Even RadGrid1_DetailTableDataBind i want to bingding data source of level 3 and 4.
<telerik:RadGrid ID="RadGrid1" OnDetailTableDataBind="RadGrid1_DetailTableDataBind" runat="server" DataSourceID="SqlDataSource1" CellSpacing="0" GridLines="None">
<MasterTableView DataSourceID="SqlDataSource1" DataKeyNames="id">
<DetailTables>
<telerik:GridTableView runat="server" DataKeyNames="id2" DataSourceID="SqlDataSource2">
<DetailTables>
<telerik:GridTableView runat="server">
<DetailTables>
<telerik:GridTableView runat="server"></telerik:GridTableView>
</DetailTables>
</telerik:GridTableView>
</DetailTables>
<ParentTableRelation>
<telerik:GridRelationFields MasterKeyField="id" DetailKeyField="id_cha2"></telerik:GridRelationFields>
</ParentTableRelation>
</telerik:GridTableView>
</DetailTables>
</MasterTableView>
</telerik:RadGrid>
<asp:SqlDataSource runat="server" ID="SqlDataSource1" ConnectionString='<%$ ConnectionStrings:default %>' SelectCommand="sp_getproduct" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:SessionParameter SessionField="month" DefaultValue="9" Name="thang" Type="Int32"></asp:SessionParameter>
<asp:QueryStringParameter QueryStringField="nsd" DefaultValue="cuongcp" Name="nsd" Type="String"></asp:QueryStringParameter>
<asp:Parameter DefaultValue="1" Name="action" Type="Int32"></asp:Parameter>
</SelectParameters>
</asp:SqlDataSource>
<asp:SqlDataSource runat="server" ID="SqlDataSource2" ConnectionString='<%$ ConnectionStrings:default %>' SelectCommand="sp_getproduct" SelectCommandType="StoredProcedure">
<SelectParameters>
<asp:SessionParameter SessionField="month" DefaultValue="9" Name="thang" Type="Int32"></asp:SessionParameter>
<asp:QueryStringParameter QueryStringField="nsd" DefaultValue="cuongcp" Name="nsd" Type="String"></asp:QueryStringParameter>
<asp:Parameter DefaultValue="2" Name="action" Type="Int32"></asp:Parameter>
</SelectParameters>
</asp:SqlDataSource>
and code behind
protected void RadGrid1_DetailTableDataBind(object sender, Telerik.Web.UI.GridDetailTableDataBindEventArgs e)
{
if (e.DetailTableView.DataSourceID == "")
{
GridDataItem dataItem = (GridDataItem)e.DetailTableView.ParentItem;
string OrderID = dataItem.GetDataKeyValue("id2").ToString();
e.DetailTableView.DataSource = GetDataTable(OrderID);
}
if (e.DetailTableView.DataSourceID == "")
{
GridDataItem dataItem = (GridDataItem)e.DetailTableView.ParentItem;
string id = dataItem.GetDataKeyValue("id3").ToString();
e.DetailTableView.DataSource = GetDataTable_detailt(id);
}
}
but at level 4 error. plz help me, thanks in advance
Hello,
I have a rad grid where grouping is being used. The first column is a linkbutton which after 1 layer of being clicked into is then replaced with text to both disable and remove the link.
When I collapse and then re-expand the group the column values are now all gone.
Prior to collapsing my markup looks like
<td class="GrdBtn">
<span style="cursor:default;">Sept 2016</span>
</td>
After clicking the collapse and then expanding the markup is
<td class="GrdBtn">
<a href="javascript:__doPostBack('ReportGrid$ctl00$ctl05$ctl00','')"></a>
</td>
I cannot identify an event to which this occurs. The column is defined in the apsx as
<telerik:GridButtonColumn ButtonType="LinkButton" ImageUrl="" HeaderText="Region" DataTextField="RegionName" ItemStyle-CssClass="GrdBtn" CommandName="Select" UniqueName="btnSelect" SortExpression="RegionName" HeaderStyle-Width="150px" />
The event to which changes the linkbutton to a span is within the RadGrid_DataBound event and looks like
btn = CType(CType(Page.Form.FindControl("ReportGrid"), RadGrid).MasterTableView.Items(i).Cells(3).Controls(0), LinkButton)
CType(Page.Form.FindControl("ReportGrid"), RadGrid).MasterTableView.Items(i).Cells(3).Controls.Remove(btn)
Dim finalTxt As String = String.Format("<span style='cursor:default;'>{0}</span> ", btn.Text)
Dim litControl As New LiteralControl(finalTxt)
What event could be causing this? Or how can i prevent this behavior from happening?
Hi,
I am creating tabs dynamically through AddTab, AddPageView approach (http://demos.telerik.com/aspnet-ajax/tabstrip/examples/multipage/dynamic-pageview-creation/defaultcs.aspx). I have 8 tabs in which last tab is just a image.. I want disable the Click event on last tab.
Could you please tell me how to approach?
Thanks and Regards,
Puru