Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
274 views
Hi guys,

I am trying to do some logic when a new value is selected from the combobox.

I hooked up a callback function to the OnClientSelectedIndexChanged event. When I select a new element the event fires and when I click anywhere else ( the Combobox will lose focus) the event will fire again.

How can I overcome this?
Kalina
Telerik team
 answered on 16 Aug 2010
1 answer
80 views
I'm having this problem: 

http://www.technullogy.net/index.php/2010/03/05/internet-explorer-limits-css-and-script-resources-to-30/

To duplicate it, try adding one of each Telerik control to a page, then open the page in IE and see if all them appear correctly.  I have a page that has several different Telerik controls (RadAjax, RadTooltip, RadTabStrip, RadDate and Time Pickers, RadEditor, etc).  If I count all of the WebResource.axd references that IE 8 is making, it's over 30.  If I remove a couple Telerik controls, then the remaining controls get their style back.

They all appear perfect in Firefox 3.6.8, Chrome and Safari, so I know it's an IE 8 issue.  Is Telerik aware of this?  Is there any way around this?
Kamen Bundev
Telerik team
 answered on 16 Aug 2010
1 answer
105 views
Hi,

I have a self-referencing hierachical radGrid.  I am loading data thru the NeedDataSource event handler.  When I have 3 levels of hierarchy, the gridInstance.MasterTableView.DetailTables.count shows 1 , MasterTableViewDetailTables[0].DetaitTables.count is 1, so far so good. Now when I look at the last (the lowest level) GridTableView, its DetaitTables.Count is also 1 whereas this GridTableView does not have any children.  What am I missing? Is the DetailTables count always 1 when using Sel-Referencing Hierarcy? even for the GridTableView which has no chidren? Using RadControls for Ajax 2010_1_519 and Framework 3.5.

Thanks in advance for your help.

Veli
Telerik team
 answered on 16 Aug 2010
5 answers
179 views
Hi

how I can Hide Expand/Collpase button in code behind for some selected nodes?

Kiran
Nikolay Tsenkov
Telerik team
 answered on 16 Aug 2010
1 answer
269 views
I have a scenario where I use NH.Linq to access data, returning and IQuerable which I then bind to the Telerik Grid and it handles paging and sorting and filtering and all of that.  A situation arose where I'm going to need to integrate another data type in to the grid and the solution there would be a common view model between the two grid types.

What I'd like to do is convert my entities to a view model prior to it getting to the aspx page -- so it would only pull down the records that I need by virtue of the DataSource/IQueryable, but then I could shape the data as needed by converting it to a view model prior to populating the grid in the aspx page.

Is there anything I can hook in to so as to accomplish this?

Thanks
Don
Rosen
Telerik team
 answered on 16 Aug 2010
3 answers
261 views
Hi
I am creating my grid (with nested view) fully in code-behind & it all works fine when I set 'NestedViewTemplate' to my custom template class. What I was wondering is whether I could use an ascx instead of a ITemplate class?

Out of interest I took a long shot and tried this but it doesn't work:

 

 

public class ChildTable :ITemplate

 

{

 

 

    public void InstantiateIn(System.Web.UI.Control container)

 

    {

 

 

        Table tb = new Table();

 

 

 

        TableRow tr = new TableRow();

 

 

 

        TableCell td = new TableCell();

 

 

 

        TextBox txt = new TextBox();

 

 

 

        MyUserControl uc = new MyUserControl();

 

        td.Controls.Add(uc);

        tr.Cells.Add(td);

        tb.Rows.Add(tr);

        container.Controls.Add(tb);

    }

}

Al
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 16 Aug 2010
2 answers
155 views
I have several RadWindows and each of them ignore the height value, the width is OK.

What could be causing this.

Andy
Georgi Tunev
Telerik team
 answered on 16 Aug 2010
1 answer
139 views

I use GridBinaryImageColumn in RadGrid. Some rows don't have images so that cell should be empty or have default image. How to do this?

I tried but it does not work.

1.protected void RadGrid_databound(object sender, GridItemEventArgs e)
2.       {
3.           if (e.Item is GridDataItem)
4.           {
5.               GridDataItem item = e.Item as GridDataItem;
6.               (item["LogoColumn"].Controls[0] as Image).ImageUrl = "~/App_Themes/Theme1/Images/default.gif";
7.           }
8.       }

Setting item.Visible = false show empty image icon in IE

Rosen
Telerik team
 answered on 16 Aug 2010
2 answers
69 views
Hi,

I have  a flash in content page.
On a link button click I open a rad window thru script.
But the flash is overlapping the radwindow.

How to avoid this?.
Georgi Tunev
Telerik team
 answered on 16 Aug 2010
1 answer
160 views
simple little page here, but every time I select I get the javascript error $f is not defined.  All I'm trying to do is set the selected date of the calendar.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="crud.aspx.cs" Inherits="Grid_crud" %>
 
<%@ Register Assembly="RadCalendar.Net2" Namespace="Telerik.WebControls" TagPrefix="radCln" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
    <title></title>
</head>
<body>
 
    <script language="javascript" type="text/javascript">
        function dummy() {
            var calendar = $find("<%= gridCalendar.ClientID %>");
            calendar.selectDate("05/10/2010", true);
        }
    </script>
 
    <form id="form1" runat="server">
    <div>
        <radCln:RadCalendar ID="gridCalendar" runat="server">
        </radCln:RadCalendar>
        <button type="button" id="Select" style="margin-top: 10px; margin-right: 2px;" onclick="dummy();">
            Select</button>
    </div>
    </form>
</body>
</html>
Shinu
Top achievements
Rank 2
 answered on 16 Aug 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?