Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
263 views
Hello Telerik,
I have a created a radGrid which has 3 columns, I need to add a new row under each row item
this row will span the 3 columns to display description

what I have now:
| cell11 | cell12 | cell13 |
| cell21 | cell22 | cell23 |
| cell31 | cell32 | cell33 |

what I need:
| cell11 | cell12 | cell13 |
| new line with colspan=3|
| cell21 | cell22 | cell23 |
| new line with colspan=3|
| cell31 | cell32 | cell33 |
| new line with colspan=3|

thanks,
Taraman
 
Taraman
Top achievements
Rank 1
 answered on 12 Dec 2011
2 answers
109 views
Hi,

I'm aware that all skins is now in another dll (http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/separate-skin-assembly-in-radcontrols-for-asp-net-ajax-with-q3-2011.aspx) and i can make it work fine with any "Asp.Net Web" project.

The problem is when I tryed to use with a "Sharepoint Empty Project" in VS2010. I already tryed to insert a reference, copyed Skins.dll in the bin (and bin/debug) directory and always get a error if I type a Skin name and only Default is available to use.

To reproduce the problem/envinroment just create a new "Empty Sharepoint Project", add an "Visual Web Part", add an Radgrid, copy Telerik.Web.UI.Skins.dll to the bin folder and nothing happens (tryed to reload the project as well).

Am I doing something wrong?

TIA.


Miguel
Top achievements
Rank 1
 answered on 12 Dec 2011
1 answer
125 views
Hello,
      I'm having an issue with the fileExplorer in IE. I have the fileExplorer in an iframe, and when I click on the upload, delete, create new folder buttons, the dialog doesn't show up....works fine in Firefox and Chrome. The page gets the modal overlay, but the dialog just doesn't show. I had the same issue with the radEditor and fixed it like this:
<script type="text/javascript">
    function OnClientLoad(editor) {
        if (navigator.appName == 'Microsoft Internet Explorer')
        { editor.set_useClassicDialogs(true); }
    }  
</script>

per this article: http://www.telerik.com/support/kb/aspnet-ajax/editor/using-browser-modal-dialog-instead-of-radwindow.aspx .

Does the fileExplorer have a similar setting/functionality?

Thanks!
Dobromir
Telerik team
 answered on 12 Dec 2011
4 answers
347 views
Hello All,

I get the following error when I click on my RadButton: "Microsoft JScript runtime error: '$telerik' is undefined." Here is how my RadButton is setup:

<telerik:RadButton ID="rbtnCancel" runat="server" Text="Return to Forms Central" OnClientClicked="btnCloseWin" Font-Names="Arial" Font-Size="Medium" AutoPostBack="false">
</telerik:RadButton>

Here are the Javascript functions:
function GetRadWindow() {
        var oWindow = null;
        if (window.radWindow) oWindow = window.radWindow; //Will work in Moz in all cases, including clasic dialog
        else if (window.frameElement.radWindow) oWindow = window.frameElement.radWindow; //IE (and Moz as well)
        return oWindow;
    }
 
function btnCloseWin(sender, eventArgs) {
        var oWindow = GetRadWindow();
        oWindow.Close();
    }


The following code is where the error is shown: var e=$telerik.isMouseOverElementEx(this.get_element(),i);

When I continue with debugging the program, the RadWindow is closed, but I'm not sure why I am getting this error at all. I am able to close the RadWindow using the Javascript function just fine from an asp:Button.

I'd greatly appreciate any insight into why this is happening.

Thanks!
Casey
Casey
Top achievements
Rank 1
 answered on 12 Dec 2011
1 answer
174 views
Hi there,

Right now I am trying to use Telerik.Web.UI.Appointment.ToolTip.
I assigned a string to Telerik.Web.UI.Appointment.ToolTip and I hope after the Appointment bound with Scheduler control, then once mouse hover the Appointment control, the ToolTip will show out automatically.

But it doesn't work.  The popup Tooltip(looks like Tooltip, but not sure)  is always same as the subject of Appointment control.

Is there anybody can help me?

Thanks a lot,

Alex
Peter
Telerik team
 answered on 12 Dec 2011
3 answers
333 views
I am trying to achieve Grouping through RadGrid's Hierarchical Grid Functionality (Unlike the RadGrid's default grouping functionality - I'm trying to show the parent row or master table row containing one of the records from the group intact while expanding). In order to achieve this,  I've hidden the detail table's header and aligned the widths of each column of the detail table to that of the parent row/table (while merging all the common/grouped columns into one and displaying it blank). Now I'm facing two problems -
1. If resizing is enabled - resizing master table column does not automatically resize the detail table column. Is there any way to do such resizing from the client side.
2. I am using a custom Expand/Collapse column and I am unable to hide the default Expand/Collapse column. Is there a way to hide the default Expand/Collapse column of RadGrid?
3. If reorder is enabled - how to trigger column reorder of detail table when master table reorder occurs (in the client side)
Attached please find grid that demonstrates the functionality that I'm trying to achieve (I have masked party of the data due to privacy reasons)
Can you please help?
Veli
Telerik team
 answered on 12 Dec 2011
1 answer
123 views
Is is possible to have each tab on the tabstrip a different color?  Not just and "on" and "off" color.  I'd like to be able to use a nice fade using sprites if possible and even have there be a slight color variation on the hover for the muti-colored tabs.  It would also be great to have the mutipage pageview have a differnt background also.  Could you show me how you might do that?  thanks very much

Jonathan.
Kate
Telerik team
 answered on 12 Dec 2011
1 answer
119 views
Hi,

How to load imageurl from database field for tree view?
as my data for tree view is comming from database table where in i m having imageurl as well

Regards!

Bozhidar
Telerik team
 answered on 12 Dec 2011
5 answers
180 views
Hi Im new to this telerik stuff and I have been dumped with a solution that is in a mess which i am trying to sort out so bear with me if im making any obvious telerik errors (please)!

I have a tree view that I am trying to populate client side, i understand that i can do this with the following code:

  var tree = $find("<%= uclPanelTabReport1.ClientID %>");
    tree.trackChanges();
    var node = new Telerik.Web.UI.RadTreeNode();
    node.set_text("New Node");
    tree.get_nodes().add(node);
    tree.commitChanges();

However i am having a couple of problems, the first it that the tree is null still after the find statement, I can get the correct value using the following  var tree = $("#RadTreeView1.ClientID %>"); but am unsure if this is a valid way of getting the reference.

When i have the reference to tree i am having an issue that on the next line     tree.trackChanges(); where I am being told by firebug that     tree.trackChanges() is not a functon. Can anyone point me to where I am going wrong? Im sure its something obvious but I cant see what!?!
Bozhidar
Telerik team
 answered on 12 Dec 2011
1 answer
180 views
I am trying to set the datasource inside the RadGrid which is embedded inside the itemtemplate of RadTreeNode

<telerik:RadTreeView ID="RadTreeView1" runat="server">
            <Nodes>
                <telerik:RadTreeNode runat="server" Text="Root RadTreeNode1">
                    <Nodes>
                        <telerik:RadTreeNode runat="server" Text="Child RadTreeNode 1">
                            <NodeTemplate>
                                    <telerik:RadGrid ID="AllocGrid" Width="98%" AllowSorting="False"
                                        AllowPaging="False" GridLines="None" AutoGenerateColumns="False" runat="server"
                                        Skin="Windows7" Height="147px" Style="margin-top: 102px">
                                        <MasterTableView Width="100%" Summary="RadGrid table" EditMode="InPlace">
                                            <Columns>
                                                <telerik:GridBoundColumn DataField="Type" HeaderText="Allocation Type"
                                                    ItemStyle-Width="100px" HeaderStyle-Width="100px" />
                                                <telerik:GridTemplateColumn DataField="Status" HeaderText="Status" ItemStyle-Width="300px"
                                                    HeaderStyle-Width="300px">
                                                    <ItemTemplate>
                                                        <%# GetStatus((String)Eval("Stats"))%>
                                                    </ItemTemplate>
                                                </telerik:GridTemplateColumn>
                                                <telerik:GridTemplateColumn DataField="Link" HeaderText="View">
                                                    <ItemTemplate>
                                                        <%# GetTheoreticalAllocationsLink() %>
                                                    </ItemTemplate>
                                                </telerik:GridTemplateColumn>
                                            </Columns>
                                        </MasterTableView>
                                    </telerik:RadGrid>
                            </NodeTemplate>
                        </telerik:RadTreeNode>
                    </Nodes>
                </telerik:RadTreeNode>
            </Nodes>
        </telerik:RadTreeView>

I am trying to set the data source in the code as below
((Telerik.Web.UI.RadGrid) RadTreeView1.Nodes[0].Nodes[0].NodeTemplate).DataSource = dataSource;

Seems it is invalid. and i get the following error. Unable to cast object of type 'System.Web.UI.CompiledTemplateBuilder' to type 'Telerik.Web.UI.RadGrid'.

I am not sure what am i doing wrong and also pretty new to asp.net with rad controls
Bozhidar
Telerik team
 answered on 12 Dec 2011
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?