Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
119 views
Hello: 

I have a Gridview with a ToolTip in an ItemTemplate Column Type, loading information
through an  user control. At the top I have a DropDownList that filters the information
displayed when loading the page. The problem occurs when, in the first load of the page and,
according to the DropDownList filter value, there is no results; when I change
the filter value, and data is displayed in the gridview, the OnAjaxUpdate event does
not fire, which does not happen if i got results in the first page loading, so I think that
there is some kind of detail I'm forgetting, on the ItemDataBound event.
Any suggestions?
  
Thanks.
Marin Bratanov
Telerik team
 answered on 17 Jun 2013
1 answer
168 views
Hi,

I am trying to use dynamic rad-menu in our application. I am following the code mentioned in telerik.com mentioned in the link below:
http://www.telerik.com/help/aspnet-ajax/panelbar-dynamically-created-radmenu.html
The problem is that the submenu side is not expanding instead it is showing at the rightmost part of parent nodes.
For reference I post my code below.
.aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="mymenu3.aspx.cs" Inherits="Presentationlayer_mymenu3" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>MyMenu</title>
</head>
<body>
     <form id="form2" runat="server">
   <asp:ScriptManager ID="ScriptManager1" runat="server">
   </asp:ScriptManager>
   <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Web20" Width="190px">
       <Items>
           <telerik:RadPanelItem runat="server" Text="Root Panel Item" Expanded="true" Selected="true">
               <Items>
                   <telerik:RadPanelItem runat="server" Value="templateHolder">
                   </telerik:RadPanelItem>
               </Items>
           </telerik:RadPanelItem>
       </Items>
       
       <CollapseAnimation Duration="100" Type="None" />
       <ExpandAnimation Duration="100" Type="None" />
   </telerik:RadPanelBar>
</form>
</body>
</html>

.aspx.cs
using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Web.Configuration;
using System.Data.SqlClient;
using System.Globalization;
using Telerik.Web.UI;


public partial class Presentationlayer_mymenu3 : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            //SqlConnection connec = new SqlConnection(@"Data Source=sharedmssql.znetindia.net,1235;Initial Catalog=abatech_primus;User ID=abatechadmin;Password=abatechweb123");
            //connec.Open();
            SqlDataAdapter adapter = new SqlDataAdapter("SELECT * FROM myMenuLinks", ConfigurationManager.ConnectionStrings["abatech_primusConnectionString"].ConnectionString);
            DataSet links = new DataSet();
            adapter.Fill(links);
            DataTable dt = new DataTable();
            dt = links.Tables[0];
            RadPanelItem panelItem = (RadPanelItem)RadPanelBar1.FindItemByValue("templateHolder");
            RadMenu myMenu = new RadMenu();
            myMenu.Width = Unit.Percentage(100);
            myMenu.Skin = "Web20";
            myMenu.Flow = ItemFlow.Vertical;
            myMenu.DataTextField = "Title";
            myMenu.DataFieldID = "CategoryId";
            myMenu.DataFieldParentID = "ParentId";
            myMenu.DataSource = dt;
            myMenu.DataBind();
            panelItem.Controls.Add(myMenu);

            foreach (RadMenuItem myItems in myMenu.GetAllItems())
            {
                myItems.Width = Unit.Percentage(100);
            }
        }
       
    }
}

Attaching the screen shot also for reference.

Thanks & Regards
Purojit
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Jun 2013
1 answer
58 views
When using the MetroTouch skin (or BlackMetroTouch or Silk) the drag/drop "dropClue" is not displayed. This is the small arrow and line between the list items.

You can see this problem behavior in this Telerik Listbox Demo. Does anyone have a work-around for this?

Magdalena
Telerik team
 answered on 17 Jun 2013
1 answer
133 views
Hi,

I have a really simple test page for RadSearchbox as following.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Sample.aspx.cs" Inherits="Sample" %>
 
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
 
<!DOCTYPE html>
 
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager2" runat="server">
            <Scripts>
                <asp:ScriptReference Assembly="Telerik.Web.UI"
                    Name="Telerik.Web.UI.Common.Core.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI"
                    Name="Telerik.Web.UI.Common.jQuery.js">
                </asp:ScriptReference>
                <asp:ScriptReference Assembly="Telerik.Web.UI"
                    Name="Telerik.Web.UI.Common.jQueryInclude.js">
                </asp:ScriptReference>
            </Scripts>
        </telerik:RadScriptManager>
        <div>
           
            <br />
            <telerik:RadSearchBox ID="RadSearchBox1" runat="server"
                DataKeyNames="CONTACT,ID" DataSourceID="SqlDataSource1" DataTextField="CONTACT"
                DataValueField="CONTACT" EmptyMessage="test" >
            </telerik:RadSearchBox>
            <asp:SqlDataSource ID="SqlDataSource1" runat="server"
                ConnectionString="<%$ ConnectionStrings:Example_ConnectionString %>"
                SelectCommand="SELECT [ID], [CONTACT] FROM [CONTACTS]"></asp:SqlDataSource>
            
        </div>
    </form>
</body>
</html>
As you can see it is nothing more than bind search box with a sql datasource.

when I try to search I could get all the result back as I am expecting, but when I click on any result item, the Radsearchbox text is not filled in as item's text. 

Could you help here?

Telerik ASP.NET Ajax control ver. v.2013.1.417.40
Thank you so much.
Support
Top achievements
Rank 1
 answered on 17 Jun 2013
4 answers
131 views
It seems there is a problem with the RadGrid and the MetroTouch skin. The "Add new record" button (and other command item buttons) no longer have an icon. But in the previous version it was there. Now its just an empty circle with no "plus" sign.

I have attached a screen shot of what it looks like

Thanks
Maria Ilieva
Telerik team
 answered on 17 Jun 2013
3 answers
106 views
Hi,

In the attached screen shot, I have some, but not all of the gridlines turned off. What I want is an ultra-clean presentation with no background grid at all and no x or y axis labels. Here is what I am doing right now but it results in the chart shown in the screen shot. Any help greatly appreciated.

Dim rc As New RadChart

rc.AutoLayout = True

rc.AutoTextWrap = True

rc.ChartTitle.Visible = False

rc.Legend.Visible = False

rc.PlotArea.XAxis.Appearance.LabelAppearance.Visible = False

rc.PlotArea.YAxis.Appearance.LabelAppearance.Visible = False

rc.PlotArea.XAxis.Appearance.MajorGridLines.Visible = False

rc.PlotArea.YAxis.Appearance.MajorGridLines.Visible = False

rc.PlotArea.XAxis.Appearance.MinorGridLines.Visible = False

rc.PlotArea.XAxis.Appearance.MinorGridLines.Visible = False

rc.PlotArea.YAxis.Appearance.LabelAppearance.Visible = False

rc.PlotArea.XAxis.Appearance.LabelAppearance.Visible = False

            rc.PlotArea.XAxis.Appearance.MajorTick.Visible = False

            rc.PlotArea.XAxis.Appearance.MinorTick.Visible = False

            rc.PlotArea.YAxis.Appearance.MajorTick.Visible = False

            rc.PlotArea.YAxis.Appearance.MinorTick.Visible = False

Rosko
Telerik team
 answered on 17 Jun 2013
7 answers
227 views
Hi..
I added the following to my master page  (same code from your samples). But it doesn't work.. the screen flashes and but doesn't change. I have a ref to Telerik.Web.Ui.Skins... what am i doing wrong or missing?   thx again!!


                <div class="skin-chooser">
                    <label for="ctl00_SkinChooser_Input" class="skinLabel">Skin:</label>
                    
                     <telerik:RadSkinManager runat="server" ID="RadSkinManager1" Skin="Sunset" ShowChooser="true"
                        PersistenceKey="Skin" PersistenceMode="Session" OnPreRender="RadSkinManager1_PreRender"/>
                                 
                </div>


and

   protected void RadSkinManager1_PreRender(object sender, EventArgs e)
        {
            RadComboBox skinChooser = RadSkinManager1.FindControl("SkinChooser") as RadComboBox;
            foreach (RadComboBoxItem item in skinChooser.Items)
            {
                if (item.Text == "Silk" || item.Text == "Glow" || item.Text == "BlackMetroTouch" || item.Text == "MetroTouch")
                {
                    item.Visible = false;
                }
            }
        }





David
Top achievements
Rank 1
 answered on 17 Jun 2013
1 answer
103 views
Is there any method, straightforward or otherwise, for inserting blank space in a grid/pivotgrid? The catch is that I don't want it to be blank cells. It's along the lines of, here's a table, every 10 lines we want a blank row (or space) for readability that has no effect on the data itself. Is there anyway to do that without inserting blank cells?

I'm erring on the side of their isn't. Blank cells will throw issues with some of myuses of the grid. 
Angel Petrov
Telerik team
 answered on 17 Jun 2013
1 answer
84 views
We would like to purchase the total toolkit for Asp.Net Ajax. What is the total process starting from purchase to receiving of the toolkit
Jayesh Goyani
Top achievements
Rank 2
 answered on 17 Jun 2013
1 answer
91 views
http://demos.telerik.com/aspnet-ajax/calendar/examples/functionality/rendermode/defaultcs.aspx

In chrome when I toggle to lightweight and click "next month" it's like a 3-4 second wait between click and nav

Just me?
Milena
Telerik team
 answered on 17 Jun 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?