Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
509 views
Hi,

We have created a server web control by inheriting from the RADContextMenu. It works well with all the required style sheets and features until we do a LoadContentFile(). The application crashes with the error:
System.InvalidOperationException: <Menu xmlns=''> was not expected

The same xml when used with RADContextMenu (without any inheritance) works fine and the menu is displayed as required.
Can you please suggest something that we might be missing here while inheriting from the menu?
We currently have almost nothing defined for our own menu, it uses everything exposed by the RADContextMenu.

Looking forward for your response.

Thanks.
T. Tsonev
Telerik team
 answered on 12 Sep 2008
1 answer
137 views
I am having an issue (IE and FireFox) that when you print (or print preview), if there is a scroll bar on the grid, the column headers are spaced differently from the columns. 

If there is no scrollbar, it works just fine.

Any ideas?

Thanks,
Amit
Nikita Gourme
Top achievements
Rank 1
 answered on 12 Sep 2008
2 answers
101 views
Hi,

I have a grid with some templatecolumns all created codebehind.
Two of those columns also use a headertemplate that contains a menu.

My problem is that when I scroll the grid (vertically or horizontally) the menus stay in the same absolute position on the screen while the rest of the headers scroll correctly.

The grid in question is actually the first detail-table under the mastergridview,
When the mastergridview-row is collapsed, the menus are still visible.

I have tried things like setting the menus z-index and position, but that didn't work.

Any ideas?
Zsolt
Top achievements
Rank 1
 answered on 12 Sep 2008
1 answer
128 views
Hi,
Does  RadComboBox has this feature already? the dropdownlist show a list of checkbox and user can check to select multiple items.

thanks
-phelix
Veselin Vasilev
Telerik team
 answered on 12 Sep 2008
3 answers
361 views
Hi,

I have a Grid configured with about 12 columns with resizing active. I can resize the columns and reorder them with no problems.  Four of the columns are text fields of about 20 chars, one is State (TX, etc)  and the remainder are numeric and hold small numbers of 2 to 4 digits each.  I can size each of the columns to be large enough to hold their data.

The problem I'm having is when I switch on filtering, each column expands to have a filter box containing 11 chars plus the filter image etc etc.

So. I have two problems.

1. I cannot size the columns small enough anymore. Is there a way of reducing the size of a filtered column?

2. With filtering on, the grid expands wider than the screen size without giving me a scroll bar! The Grid is in a Div set to 100% and most things I put in there wider than the screen cause the horizontal scroll bars to appear. If I put a border on the div, I can see the right edge at the right of the screen with the grid extending out beyond it. Any ideas?

Thanks, Steve
Dimo
Telerik team
 answered on 12 Sep 2008
5 answers
427 views
I have read through the documentation concerning the ability to use Custom Attributes from both the client side and the server side. While this is working beautifully when a custom attribute is added at the server side, modified client side, and then re-evaluted at server side. Where I am running into an issue is when I am adding a custom attribute client side, it is not being sent back to the server. Is this a bug, am I missing something, or is it just not designed to do this?

Thanks!

======================================
Code Sample: Click on Node to add Custom Attribute
  Client Side. Click Submit button to see attribute not
  accessible.
======================================
<%@ Page Language="C#" %>
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
<script runat="server">
    protected void Page_Load(object sender, EventArgs e){
        lblClientAttribute.Text = "--";
        if (!Page.IsPostBack)
            RadTreeView1.Nodes[0].Attributes.Add("ServerAttribute", "This is my Server Setting");
        else
            lblClientAttribute.Text = RadTreeView1.Nodes[0].Attributes["ClientAttribute"];    }
</script>
<script type="text/javascript">
    function OnClientNodeClicked(sender, args){
        var node = args.get_node(); alert(node.get_attributes().getAttribute("ServerAttribute"));
        node.get_attributes().setAttribute("ClientAttribute", "This is my Client Attribute");
        alert("Client Attribute Added: " + node.get_attributes().getAttribute("ClientAttribute"));}
</script>
<head runat="server"></head>
<body><form id="form" runat="server">
    <telerik:RadScriptManager runat="server" OutputCompression="AutoDetect"></telerik:RadScriptManager>
    <telerik:RadTreeView ID="RadTreeView1" runat="server" OnClientNodeClicked="OnClientNodeClicked">
        <Nodes><telerik:RadTreeNode runat="server" id="node1" Text="Sample Node"></telerik:RadTreeNode></Nodes>
    </telerik:RadTreeView>
    <br /><br />
    <asp:Label runat="server" ID="lblClientAttribute"></asp:Label>
    <br /><br />
    <asp:Button runat="server" ID="btnTest" Text="Submit" />
</form></body></html>

Veselin Vasilev
Telerik team
 answered on 12 Sep 2008
4 answers
159 views
Hi all

I have a tooltip which appears when I mouseover appointments in the scheduler, it displays and then as soon as it has finished loading it disappears. I cant figure this out at all. I've copied the code from the demo site so it should work.

Any ideas?

Cheers
Jon
Svetlina Anati
Telerik team
 answered on 12 Sep 2008
4 answers
127 views
Hi,
I am using the Inox Skin on a menu, and the problem I am seeing is that if I have a submenu that is off of the first menu item in a submenu, all the submenu items use the same style as the first menu item...

In the case of the Inox Skin, it seems that the first menu item has a slightly different look to it, which gives the whole menu a nice rounded look. 
When all the items use this same style, it makes the menu look "bumpy".. I am generating the submenu items from a webservice, is there a way to force all but the first item to use the "first item" style?
Below I attached 2 screenshots demonstrating the problem...

Thanks

Problem Screenshot

Correct Screenshot
Veselin Vasilev
Telerik team
 answered on 12 Sep 2008
1 answer
59 views
Hey I use RadToolTip in my application I Use dinamic contol binding to bind the contorls to the tooltip  its work fine in local machine but.. when I host in the my production server its give a error saying.....

Compiler Error Message: CS0117: 'Telerik.Web.UI.ToolTipUpdateEventArgs' does not contain a definition for 'Value'
   I put all the dll files in my local machine to the sever.......

Can Any one Help me..... Please...

thank you...
Tervel
Telerik team
 answered on 12 Sep 2008
1 answer
125 views
I just installed RadControls for ASP.NET when I open my SharePoint site I get the following error:

Parser Error Message: Could not load file or assembly 'Telerik.Web.UI, Version=2008.1.512.20, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) 

Daniel
Telerik team
 answered on 12 Sep 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?