Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
116 views
Hi,
        I am having an issue in Hide/Unhide columns after sorting. The problem comes only after i hided any of the column then do the action of sorting the result becomes grid column width collapse. The columns width not looking good when compare it is before sorting the column and hinding it. 

I used FixedTableLayout  at all to my Grid. But still i am not able to find out the solution.

-Thanks
Pavlina
Telerik team
 answered on 25 Feb 2010
1 answer
100 views
1. when setting tabstrip to vertical left orientation, multipage pageview will show at  the bottom of tab,this is fixed with CSS float:left property.However, this doesnt wok for pageview that contain a radgrid.The ragrid will still appear on the bottom of the tab.. how to fix this issue?

2.when rendering the page that contain tabstrip vertical left orientation (with CSS float left fix) in IE 7, the pageview still display on the bottom of the tab. However it display properly on both firefox 3 and chrome..Is this a common problem with IE?
Yana
Telerik team
 answered on 25 Feb 2010
7 answers
227 views
Hi,

I have 3 radsliders inside an update panel. The asp panel that contains the sliders is initially hidden and is show thru an update of the update panel. On showing the sliders they do not display properly and they do not function as intended. Se my screendump for more info.

I use a custom skin for the sliders but the same problem occurs even if I run the default embeded skin.

I have tried to run the repaint method that you need to use when the sliders are in an hidden html element.

Thanks!

/Christofer
Tsvetie
Telerik team
 answered on 25 Feb 2010
1 answer
169 views
Hello,

With IIS compression turned on in IIS 6, the port 80 web site reports that the site has compression turned on.  However, with it turned off and your RadCompression enabled (including ViewState compression), it reports the app as uncompressed.  I think I know why this is happening, but I was wondering if this is a valid way to determine if a site is enabled, and how to figure out that it is working.

http://www.port80software.com/tools/compresscheck.asp?url=https%3A%2F%2Fwww.qispbctraining.com&Submit1=Check+Compression

Thanks.
Daniel
Telerik team
 answered on 25 Feb 2010
4 answers
111 views
Hello,

I'm having an issue with showing/hiding columns on the client-side.  When i hide a column, the grouping row is not resizing.  Looking at the source, it appears that the grouping column colspan is not changing when columns are shown or hidden.  Is there an easy (or any) way to correct this?

Thanks,
Matt

        function chkChange(chk) {  
            var grid = $find("<%= grid.ClientID %>");  
 
            if (chk.checked) {  
                kgDataSeries.get_masterTableView().showColumn(5);  
            }  
 
            else {  
                kgDataSeries.get_masterTableView().hideColumn(5);  
            }  
 
            kgDataSeries.repaint();           
        } 
Matt
Top achievements
Rank 1
 answered on 25 Feb 2010
4 answers
239 views
I'm looking for a way to only auto-size the height of a window (I need a fixed width) to its contents. The windows are created in Page_Init() and the content comes from a database which is also loaded in Page_Init(). The auto-sizing seems to be acting a little strange - the height of the window is too large and the values I set for the top and left properties seem to get ignored. It looks like the width is sizing to the image width... which is what you would expect, but I want to use a fixed width anyway. Enabling autosize seems to ignore any width values explicitly set. Any suggestions?

Thanks,
Chad

Georgi Tunev
Telerik team
 answered on 25 Feb 2010
2 answers
157 views
hello

in a Radpane how can i remove the dock and collapse icons?

thanks
Luis
Top achievements
Rank 1
 answered on 25 Feb 2010
2 answers
135 views
Hi
I have build a RadGrid with dynamic Colums. When i push the Add or Edit Button i get an Error

Code example
Aspx:
    <form id="form1" runat="server">  
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
    </telerik:RadScriptManager> 
    <div> 
        <telerik:RadGrid ID="RadGridDataList" runat="server" AutoGenerateColumns="False" 
            GridLines="None" > 
            <MasterTableView EditMode="PopUp" CommandItemDisplay="Top" > 
            </MasterTableView> 
        </telerik:RadGrid> 
        <asp:SqlDataSource ID="SqlDataSource1" runat="server"   
            ConnectionString="<%$ ConnectionStrings:MT_LDHORep_NewTestConnectionString %>"   
            SelectCommand="SELECT [ROADMAP_PART_NAME], [ROADMAP_PART_DESC], [ROADMAP_PART_ID] FROM [DHO_ROADMAP_PART]">  
        </asp:SqlDataSource> 
    </div> 
    </form> 
 

Code behinde:
        protected void Page_Load(object sender, EventArgs e)  
        {  
            if (!IsPostBack)  
            {  
                RadGridDataList.DataSourceID = "SqlDataSource1";  
                RadGridDataList.MasterTableView.DataKeyNames = new string[] { "ROADMAP_PART_ID" };  
 
                RadGridDataList.MasterTableView.Columns.Clear();  
 
                GridEditCommandColumn editColl = new GridEditCommandColumn();  
                //editColl.UniqueName = "EditButton";  
                editColl.ButtonType = GridButtonColumnType.ImageButton;  
                editColl.ItemStyle.Width = new Unit(1, UnitType.Percentage);  
                RadGridDataList.MasterTableView.Columns.Add(editColl);  
 
 
                GridBoundColumn boundColumn;  
                boundColumn = new GridBoundColumn();  
                RadGridDataList.MasterTableView.Columns.Add(boundColumn);  
                boundColumn.DataField = "ROADMAP_PART_NAME";  
                boundColumn.HeaderText = "Name";  
                boundColumn = new GridBoundColumn();  
                RadGridDataList.MasterTableView.Columns.Add(boundColumn);  
                boundColumn.DataField = "ROADMAP_PART_DESC";  
                boundColumn.HeaderText = "Description";  
 
            }  
        }  
 

What is wrong

Regards
Markus
macy
Top achievements
Rank 1
 answered on 25 Feb 2010
5 answers
159 views
I'm trying to use this example, but cannot get it to work:
http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/selfreferencing/defaultcs.aspx

I'm thinking it's related to the filter in the page load. I'm using a list rather than a database table, and it check for dbnull. I tried using an empty string, but the grid doesn't come up at all when I do.

My list structure is like this:
        class fooMetrics
        {
            public string Metric { get; set; }
            public string CurrentValue { get; set; }
            public string PreviousValue { get; set; }
            public string Change { get; set; }
            public string Category { get; set; }
        }

Here is the page load reference I am referring to:
        protected void Page_Load(object sender, EventArgs e)
        {
            ScriptManager.RegisterClientScriptInclude(this, this.GetType(), "script1", ResolveUrl("~/js/KeyPerformanceIndicators.js"));

            if (Assembly.GetAssembly(typeof(ScriptManager)).FullName.IndexOf("3.5") != -1)
            {
                gridConversion.MasterTableView.FilterExpression = @"it[""Category""] = Convert.DBNull";
            }
            else
            {
                gridConversion.MasterTableView.FilterExpression = "Category IS NULL";
            }
        }

This line is what causes the grid to disappear:
  gridConversion.MasterTableView.FilterExpression = @"it[""Category""] = Convert.DBNull";

Any ideas? My category field would be an empty string if there is no parent.















Veli
Telerik team
 answered on 25 Feb 2010
1 answer
172 views
Hey,

I having trouble showing a custom image as background-image for ".rtPlus" and ".rtMinus". The image is show when the treenode is not expanded, but on hover and when the menu is expanded the image disappear.

Link to my page

I added this in my css file:
.RadTreeView .rtPlus  {background-image: url('../images/treeview/plus.png') !important; height: 10px !important; width: 12px !important; }
.RadTreeView .rtPlus:hover { background-image: url('../images/treeview/plus.png') !important; height: 10px !important; width: 12px !important; }
.RadTreeView .rtMinus {background-image: url('../images/treeview/minus.png') !important; height: 10px !important; width: 12px !important;}
.RadTreeView .rtMinus:hover {background-image: url('../images/treeview/minus.png') !important; height: 10px !important; width: 12px !important;}

Could anyone help me please?


Yana
Telerik team
 answered on 25 Feb 2010
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?