Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
106 views
Hai,

I am using Windows 7. Your support website is showing only black screens. Demos, Documentation and Knowledge Base are not working. It shows a javascript with blank screen.  I tried it in IE 8, Mozilla, Google Chrome, Opera. Its not working in any of these browsers. There is no firewall or any such security issues as no other websites have this issue. There is no javascript issues as javascripts in all other websites are working correctly. Also it is my development computer, I am sure that, there is no issue with javascripts in browsers as my own javascripts works properly.  It is the problem with telerik website itself. Please solve it at the earliest.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C)
Timestamp: Tue, 2 Aug 2011 05:14:40 UTC

Message: 'Telerik.Web.UI.RadTreeView' is null or not an object
Line: 524
Char: 202
Code: 0
URI: http://www.telerik.com/help/aspnet/tabstrip/radtabstrip-telerik.webcontrols.radtabstrip-tabclick_ev.html

Message: 'null' is null or not an object
Line: 127
Char: 34
Code: 0
URI: http://www.telerik.com/help/aspnet/tabstrip/radtabstrip-telerik.webcontrols.radtabstrip-tabclick_ev.html

 

Yordan
Telerik team
 answered on 05 Aug 2011
1 answer
320 views
Hi Telerik,

I have a radfilter pointed to a radgrid, the columns of radgrid gets created dynamically.
i get error when i click on AddExpression

[ArgumentException: Parameter cannot be null or empty. Parameter name: fieldName] Telerik.Web.UI.RadFilterDataFieldEditorCollection.FindEditorForFieldName(String fieldName) +242 Telerik.Web.UI.RadFilterSingleExpressionItem.SetupFunctionInterface(Control container) +61 Telerik.Web.UI.RadFilter.CreateFilterItems() +420 Telerik.Web.UI.RadFilter.CreateControlHierarchy() +65 System.Web.UI.Control.EnsureChildControls() +146 Telerik.Web.UI.RadFilter.AddChildExpression(RadFilterGroupExpressionItem groupItem, Boolean isGroup) +338 Telerik.Web.UI.RadFilterCommandEventArgs.ExecuteCommand(Object source) +173 Telerik.Web.UI.RadFilter.OnBubbleEvent(Object source, EventArgs args) +186 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70 Telerik.Web.UI.RadFilterExpressionItem.OnBubbleEvent(Object source, EventArgs args) +131 System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +70 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +29 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2981


 

<telerik:RadFilter runat="server" ID="RadFilter" 
                            ShowApplyButton="true" Visible="false" FilterContainerID="RadGrid"/>


<telerik:RadGrid ID="RadGrid" runat="server" GridLines="None" AllowAutomaticUpdates="True" OnColumnCreated="RadGrid_ColumnCreated"
                             ViewStateMode="Enabled" OnItemCommand="RadGrid_ItemCommand" OnItemDataBound="RadGrid_ItemDataBound" >             
                            <ExportSettings HideStructureColumns="true" />
                            <MasterTableView TableLayout="Fixed" RetrieveDataTypeFromFirstItem="true"
                                CommandItemDisplay="Top" >
                                <Columns>
                                    <telerik:GridTemplateColumn UniqueName="ImageFile" HeaderText="" Visible="false" >
                                        <ItemTemplate>
                                            <asp:Image ID="StatusImage" BorderWidth="0px" AlternateText="Status" runat="server"
                                                Visible="true" />
                                        </ItemTemplate>
                                    </telerik:GridTemplateColumn>
                                    <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" Visible="false" />
                                </Columns>
                                <CommandItemSettings ShowExportToExcelButton="false" ShowAddNewRecordButton="false" ShowRefreshButton="false"/>
                            </MasterTableView>
                            <ClientSettings>
                                <Selecting AllowRowSelect="True"></Selecting>
                                <Scrolling AllowScroll="false"></Scrolling>
                                <ClientMessages DragToGroupOrReorder="Drag to group" />
                            </ClientSettings>
                            <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                            </HeaderContextMenu>
                        </telerik:RadGrid>

 

Princy
Top achievements
Rank 2
 answered on 05 Aug 2011
1 answer
103 views
I am using the RadTreeView in a asp.net form. I am trying to implement the ContextMenu on each node. The problem that I am having is that the ContextMenu does not display on right click

In my .ascx I define my RadTreeView and menu like this:
<telerik:RadTreeView ID="RadTreeView1" runat="server" EnableDragAndDrop="True" OnNodeDrop="RadTreeView1_NodeDrop"
    OnNodeClick="RadTreeView1_NodeClick" OnContextMenuItemClick="RadTreeView1_ContextMenuItemClick" AllowNodeEditing="true"
    OnNodeDataBound="RadTreeView1_NodeDataBound">
        <ContextMenus>
        <telerik:RadTreeViewContextMenu runat="server" ID="AssetMenu" ClickToOpen="True" Skin="Vista">
            <Items>
                <telerik:RadMenuItem Text="Select Asset" Value="Select">
                </telerik:RadMenuItem>
                <telerik:RadMenuItem Text="View Hierarchy" Value="View">
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadTreeViewContextMenu>
    </ContextMenus>
</telerik:RadTreeView>

In my code behind, after I dynamically populate the RadtreeView, I try to attach the ContextMenu as follows. This is the last thing done in my Code behind:


            foreach (RadTreeNode node in RadTreeView1.GetAllNodes())
            {
                node.ContextMenuID = "AssetMenu";
                node.EnableContextMenu = true;
            }


Everything works except that the ContextMenu does not display when I right click an item.





Shinu
Top achievements
Rank 2
 answered on 05 Aug 2011
5 answers
182 views
Hi,

in appSettings my web.config has
<add key="Telerik.EnableEmbeddedSkins" value="false" />
<add key="Telerik.EnableEmbeddedBaseStylesheet" value="false" />

which files should I include in page to make ImageEditor appear fully styled?
I have in head:

<telerik:RadStyleSheetManager ID="RadStyleSheetManager2" runat="server">
        <StyleSheets>
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.ImageEditor.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Default.ImageEditor.Default.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.ToolBar.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Default.ToolBar.Default.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Dock.css" Assembly="Telerik.Web.UI" />
            <telerik:StyleSheetReference Name="Telerik.Web.UI.Skins.Default.Dock.Default.css" Assembly="Telerik.Web.UI" />
        </StyleSheets>
    </telerik:RadStyleSheetManager>

I don't see tool bar button images, no dialog button images, also some dialogs look a bit "unfinished".

Thank you!
Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 05 Aug 2011
1 answer
228 views

Currently when I call ExtractValues it does not return the values for GridTemplateColumns.
The OnInsertCommand Event handler below shows the code I use to get values from a row in the grid.

Public Sub InsertTimesheetItemCommand(ByVal source As Object, ByVal e As GridCommandEventArgs)
    Dim editableItem As GridEditableItem = DirectCast(e.Item, GridEditableItem)
    Dim values As New Hashtable()
    editableItem.ExtractValues(values) 
End Sub

Below is one of the GridTemplateColumns that does not have its value returned.

<telerik:GridTemplateColumn HeaderText="Job" UniqueName="JobColumn" DataField="JOB_ID" ItemStyle-Width="50px" > 
    <ItemTemplate> 
        <asp:Label ID="Label1" runat="server" Text='<%# Eval("Job_Description") %>' /> 
    </ItemTemplate> 
    <EditItemTemplate> 
        <telerik:RadComboBox runat="server" ID="JobList" DataTextField="Description" DataValueField="Value" Text="Job" > 
        </telerik:RadComboBox> 
    </EditItemTemplate> 
</telerik:GridTemplateColumn>

Note for this example I want to get the selected value from the combo box displayed in the Hashtable from the extract values method with a key of JOB_ID.

Any help would be much appreciated

Princy
Top achievements
Rank 2
 answered on 05 Aug 2011
5 answers
172 views

Hi, I've been using RADScheduler for a while and not having much of a trouble.
Since I have updated to Q1 2009, i have found the problem when switch between different view in IE7, it shows a message Script may cause browser not responding and etc.... and not showing anything (seems like a script loop), but it's fine in Firefox, Chrome.

here is my code for the Scheduler.

<telerik:RadScheduler ID="SchedulerTask" runat="server" DataEndField="Sto" DataKeyField="Key" 
                            DataStartField="SFrom" DataSubjectField="SubjectHTML" ShowAllDayRow="False" Skin="WebBlue" 
                            DisplayRecurrenceActionDialogOnMove="True" OnClientAppointmentEditing="AppointmentEditing" 
                            OnClientAppointmentInserting="AppointmentInserting" EnableDatePicker="False" 
                            WorkDayEndTime="21:00:00" CustomAttributeNames="ScheduleImage" ShowFooter="False" 
                            ShowFullTime="False" DayEndTime="18:00:00" DayStartTime="08:00:00" FirstDayOfWeek="Monday" 
                            LastDayOfWeek="Sunday" Culture="English (United Kingdom)" ShowNavigationPane="False" 
                            ShowHeader="True">  
                                <DayView WorkDayEndTime="20:00:00" DayEndTime="21:00:00" /> 
                                <Localization ShowBusinessHours="Show 12 hours..." /> 
                                <WeekView DayEndTime="21:00:00" WorkDayEndTime="21:00:00" /> 
                                <AppointmentTemplate> 
                                    <div> 
                                        <img alt='' src='<%# Eval("ScheduleImage") %>' />&nbsp;<%#Eval("Subject")%></div>  
                                </AppointmentTemplate> 
                            </telerik:RadScheduler> 

any Suggestions?
Peter
Telerik team
 answered on 05 Aug 2011
2 answers
158 views
Hi folks,

Im new to telerik controls and i was wondering the following:

is the latest version of the telerik rad upload control supporting multiple file upload ?
That is in 1 DIALOGUE. So NOT 10 single upload controls... and call it multiple upload control....
I find that there is no way you should call it mutliple file upload if you set 10 single file uploaders after eachother.
Thats just cheating :p

Im not flaming here, i love the controls.

Then, is there a possibility to change the control in source code, so that you can define a file limit depending on the extension ?
Or is this almost not able to archieve ? So fe. I want the user to restrict jpeg files up to 2MB... and then wmv files up to 10MB.

Thx alot in advance, any info you can give me , is much appreciated :)


*edit* so sorry about the crappy title :(, cant adjust it 
Tom
Top achievements
Rank 1
 answered on 05 Aug 2011
1 answer
106 views
I want to get rid of the gray area seen as part of my telerik Editors bottom , it displays data like FONT > Element, also I need to get rid of many buttons ..

In fact I want the control to look just like this one ( I am writing in ) . Please help
Neha
Top achievements
Rank 1
 answered on 05 Aug 2011
5 answers
190 views
Hi,

I recently upgraded my rad grid from classic to Asp.Net AJAX Q1 grid.
Earlier (before upgrading) I could see the pagination properly.
But now (with all the properties same) I am getting the pager at the bottom of the data div after I scroll till the bottom.
Attached are the images [hope the hidden data is not a problem]. Can you please help me getting the pager properly. The aspx code for the grid is :





<
table width="100%" style="border-width: 1px; border-bottom-width: 1px; border-bottom-width: 1px"
                                                class="STArea" cellspacing="0" cellpadding="0" border="1">
                                                <tr class="SSDetails">
                                                    <td style="height: 100%" align="center">
                                                        <div id="divMFile" runat="server" visible="true" style="overflow: auto; height: 280px;
                                                            width: 100%;">
                                                            <telerik:RadGrid ID="rgridMFile" Skin="SDCSkin" runat="server" BorderStyle="Solid" BorderWidth="0px"
                                                                AutoGenerateColumns="False" GridLines="None" Width="100%" Height="95%" OnSortCommand="rgridMFile_SortCommand"
                                                                OnItemDataBound="rgridMFile_ItemDataBound" OnPageIndexChanged="rgridMFile_PageIndexChanged" EnableEmbeddedSkins="false"
                                                                ShowFooter="false" AllowPaging="true" PagerStyle-Mode="NextPrevAndNumeric" AllowSorting="true">
                                                                <HeaderStyle Height="20px" />
                                                                <ClientSettings>
                                                                    <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                                                                    <Selecting AllowRowSelect="true" />
                                                                </ClientSettings>
                                                                <MasterTableView>
                                                                    <Columns>
                                                                        <telerik:GridBoundColumn UniqueName="FNum" DataField="FNum" SortExpression="FNum"
                                                                            HeaderText="File ID">
                                                                            <HeaderStyle HorizontalAlign="Left" Width="10%" Wrap="False" />
                                                                            <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn UniqueName="Names" DataField="Names" SortExpression="Names"
                                                                            HeaderText="File Name">
                                                                            <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                                                            <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn UniqueName="FDetail" DataField="FDetail" SortExpression="FDetail"
                                                                            HeaderText="Prod Details">
                                                                            <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                                                            <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn UniqueName="PName" DataField="PName" SortExpression="PName"
                                                                            HeaderText="Prod Name">
                                                                            <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                                                            <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn UniqueName="Groups" DataField="Groups" SortExpression="Groups"
                                                                            HeaderText="Group Name">
                                                                            <HeaderStyle HorizontalAlign="Left" Width="20%" Wrap="False" />
                                                                            <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                                                        </telerik:GridBoundColumn>
                                                                        <telerik:GridBoundColumn UniqueName="Modified" DataField="Modified" SortExpression="Modified"
                                                                            HeaderText="LastModifiedBy">
                                                                            <HeaderStyle HorizontalAlign="Left" Width="10%" Wrap="False" />
                                                                            <ItemStyle CssClass="RadGridRow" Height="100%" Wrap="false" HorizontalAlign="left" />
                                                                        </telerik:GridBoundColumn>
                                                                    </Columns>
                                                                </MasterTableView>
                                                            </telerik:RadGrid>
                                                        </div>
                                                    </td>
                                                </tr>
                                            </table>

Also note that I could not change the pager mode as well. The pager itself is not properly visible in the browser window.
Let me know if anything specific needs to be set in Skin CSS.

Regards,
Ripunjay
Tsvetina
Telerik team
 answered on 05 Aug 2011
1 answer
156 views
I'm currently using the 2010.3.1109.40 version of Telerik.Web.UI.dll.

I just moved our application from a 32 bit windows server running IIS6 to a 64 bit windows server running IIS7 and a few things aren't rendering properly anymore. Specifically the menu control. Instead of formatting properly, it now just displays it as <UL><LI> tags. It's like the dll isn't applying the proper styles.

Has anyone else experienced this?

Thanks
Peter
Telerik team
 answered on 05 Aug 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?