Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
136 views
I have a RadTreeView nested inside the ItemTemplate of a RadComboBox. It all works as I would expect. What I'm trying to add is the ability to search for a node directly by typing into the combo box.
So basically if a user wants to they can use the tree view to drill down to the node they are looking for, or if they know the text in the node they could search directly for it.
My problem is that when I add EnableLoadOnDemand=True and an OnItemsRequested handler I get the following error when typing into the combo box:
'Script control 'DepartmentTree' is not a registered script control. Script controls must be registered using RegisterScriptControl() before calling RegisterScriptDescriptors().
Parameter name: scriptControl'
Any thoughts on if what I'm trying to do is possible? Anyone tried to something similar?
Monte
Top achievements
Rank 1
 answered on 06 Oct 2011
0 answers
96 views
I am using the RadSplitter and try to have the slidingPane always open on loading. As per demo, I added the ExpandPaneID and ClicktoOpen as well. It works fine but as soon I add EnableDock="true" or DockPanelId="". It doesn't work. Docking doesn't work will with ExpandPane. Please let me know is there any know issues or I cannot use all together.
Vijaianand
Top achievements
Rank 1
 asked on 06 Oct 2011
5 answers
414 views
Hello,
    I am wondering if it is possible to get a RadDateTimePicker into a RadGrid column. Simply by dragging it in to the grid gives me errors, saying that it can't do it.

Thanks,
Chris.
Adigard
Top achievements
Rank 1
 answered on 06 Oct 2011
7 answers
230 views
This was working before upgrading to the recently released Q2 service pack.

I'm adding nodes with subnodes and defaulting them all to checked. The treeview is inside of a PageView and the multipage has the following settings:

<telerik:RadMultiPage runat="server" RenderSelectedPageOnly="true" ID="mp" Style="border: 1px solid gray">

When I click the tab to go the second pageview, the treeview checkednodes collection is empty. The treeview nodes then become unchecked. However, if I change the RenderSelectedPageOnly to false, they will remain checked and everything works as expected. I believe something was broken in the latest release.

Thanks,
Adam
Plamen
Telerik team
 answered on 06 Oct 2011
1 answer
227 views
Hello,

I am getting a pop window with the error, "Error Loading RadChart image"  You may wish to check the ASP.NET Trace for further details.  Display Stack Trace?"

This happens on a dashboard page upon login, but when I navigate to the dashboard after navigating out, the error goes away and the page/chart is fine.

It also seems to happen randomly, the error does not appear for the same user (same broswer IE 8) when I log out and log back in. 

I'm not sure how to troubleshoot this because i can't seem to find any type of stack trace.  When i click OK to show the trace, it redirects to a page showing just the chart.  The error only happens once we deploy to our testing enviroment and does not happen in debug mode.

I did a view source and saw this, but it doesn't really help.

<img alt='' style='border-width: 0px;' usemap='#imctl00_ContentPlaceHolder1_EntityChart2_RadChart3' src='ChartImage.axd?UseSession=true&amp;ChartID=c4e9029e-4f90-430b-bba9-59118e55da78_chart_ctl00$ContentPlaceHolder1$EntityChart2$RadChart3&amp;imageFormat=Png&amp;random=0.966815818085715' onerror="if(confirm('Error loading RadChart image.\nYou may also wish to check the ASP.NET Trace for further details.\nDisplay stack trace?'))window.location.href=this.src;" /><input id="ctl00_ContentPlaceHolder1_EntityChart2_RadChart3_ClientState" name="ctl00_ContentPlaceHolder1_EntityChart2_RadChart3_ClientState" type="hidden" />
Please provide some guidance on how we can troubleshoot this.

Telerik.Web.Design.dll - 2009.02.0701.35
Telerik.Web.UI.dll - 2009.02.0701.35
IE 8
IIS 6.0
.NET 3.5 Framework
Thanks
Evgenia
Telerik team
 answered on 06 Oct 2011
1 answer
120 views
I have this scenario:
1)Master page whose scrolling is set to scroll as other pages needed it.
2)One page does not need master page scrolling active as it has splitter pane and whose scroll is active.
3)For this page I want to use only splitter pane scroll and inactive master page scroll.
4)Can u please help me in this? or suggest me other way of doing it.
Pavlina
Telerik team
 answered on 06 Oct 2011
1 answer
143 views
I have multiple ajax panels on my page. I tried to configure it to update an asp label and to also show a tool tip on an image button click within a repeater. However, when I click the image, nothing on the front end get's updated. My code does run, I have verfied because the database get's updated. Can anyone tell me what I'm doing wrong?

    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="updateDate">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="headerOutput" />
                    <telerik:AjaxUpdatedControl ControlID="myOutput" />
                    <telerik:AjaxUpdatedControl ControlID="headRepeat" />
                    <telerik:AjaxUpdatedControl ControlID="userInfoOutput" />
                    <telerik:AjaxUpdatedControl ControlID="userBlockChart" />
                    <telerik:AjaxUpdatedControl ControlID="output" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>
 
<telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" LoadingPanelID="RadAjaxLoadingPanel1">
    <telerik:RadToolTip ID="headerOutput" Skin="Windows7" Position="Center" runat="server"
    CssClass="headerTooltip" Height="60" Width="220" AutoCloseDelay="4000"></telerik:RadToolTip>       
        <asp:Label ID="myOutput" runat="server"></asp:Label>
        <br />
        <asp:Repeater ID="headRepeat" runat="server">
            <ItemTemplate>
                <div class="headerImageRepeat" id="headerDiv" runat="server">
                    <table cellpadding="0" cellspacing="0" style="height: 70px;">
                        <tr>
                            <td style="padding-left: 10px; padding-top: 5px; padding-right: 10px;" valign="top">
                                <asp:ImageButton ID="headerImage" runat="server" ImageUrl='<%# DataBinder.Eval(Container.DataItem, "headerImageUrl") %>'
                                 CommandName="showUsers" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID") %>' />
                            </td>
                            <td style="padding-bottom: 5px; padding-top: 5px;" valign="bottom">               
                                <asp:Label ID="memberName" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "memberNameOutput") %>'></asp:Label><br />
                                 
                                <span class="headerGoal"><asp:Label ID="memberHours" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "memberHoursOutput") %>'></asp:Label> hours per day</span><br />
                                <table cellpadding="0" cellspacing="0" border="0"><tr><td valign="middle" class="headerGoal">
                                Goal: <asp:textbox CssClass="goalTextbox" ID="goalInput" runat="server"
                                Text='<%# DataBinder.Eval(Container.DataItem, "memberGoalOutput") %>' Width="40px"></asp:textbox> 
                                   
                                </td><td valign="top" class="headerGoal"><asp:ImageButton ID="ImageButton1" runat="server" ImageUrl="../images/save.png" CommandName="updateHours" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "ID") %>' />
                                </td></tr>
                                </table>
                            </td>
                        </tr>
                    </table>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        </telerik:RadAjaxPanel>

And here is the code behind

'they clicked the save button in header for goal hours
    Private Sub headRepeat_ItemCommand(ByVal source As Object, ByVal e As System.Web.UI.WebControls.RepeaterCommandEventArgs) Handles headRepeat.ItemCommand
 
        If (e.CommandName.ToString = "showUser") Then
 
            '*************************************************************
            '*************************************************************
            '*************************************************************
            'this is not getting updated
            userInfoOutput.Text = "test"
        End If 'if e.commandNmae = showUser
 
        'if they clicked the save in the repeater
        If (e.CommandName.ToString = "updateHours") Then
 
            Dim memberId = e.CommandArgument.ToString
            Dim currentUser = Membership.GetUser.ProviderUserKey.ToString
 
            Dim hoursTextbox = TryCast(e.Item.FindControl("goalInput"), TextBox)
            Dim hoursInput = hoursTextbox.Text
 
            'check if we have a number otherwise we tell them we need a number
            If (IsNumeric(hoursInput)) Then
 
                Dim sql = "SELECT * FROM MemberGoal WHERE memberId = '" & memberId & "' AND webUserId = '" & currentUser & "'"
 
                'if this has a row then we update, otherwise we insert
                If (awesome.checkRecord(sql, dashConn)) Then
 
                    sql = "UPDATE MemberGoal SET hourGoal = " & hoursInput & " WHERE memberId = '" & memberId & "' AND webUserId = '" & currentUser & "'"
 
                Else 'we are inserting
 
                    sql = "INSERT INTO MemberGoal(hourGoal, memberId, webUserId) VALUES(" & hoursInput & ", '" & memberId & "', '" & currentUser & "')"
 
                End If 'if
 
                awesome.executeQuery(sql, dashConn)
 
                '*************************************************************
                '*************************************************************
                '*************************************************************
                'this is not getting updated
                headerOutput.Text = "<center style='padding-top: 20px;'>The hours were updated for the user</center>"
                headerOutput.Show()
 
            Else 'else we need to tell them we need a number
 
                headerOutput.Text = "<center style='padding-top: 20px;' class='errorText'>Please enter a number.</center>"
                headerOutput.Show()
 
            End If 'if isnumeric
 
        End If 'if e.commandname
    End Sub


Iana Tsolova
Telerik team
 answered on 06 Oct 2011
2 answers
118 views
Hi,

We are using VS 2010 and telerik version 2008. We are using Radgrid in user control. And we are referring Jquery.js script file in the master page. Then we are using the user control in the aspx page. Master page also is referred in the aspx page. In this case, the functionality of radgrid like sorting,edit & paging are not working. That means the complete events of the radgrid is not firing.

If we are removing the jquery.js file from master page, it is working fine. But we need to use jquery.js file since it is used for some UI related functionalities.

Can you please provide solution for this?

Thanks in advance.
Brian
Top achievements
Rank 1
 answered on 06 Oct 2011
7 answers
82 views
Hi,

I am using Telerik RAD controls in asp.net application and As a process of RAD control migration, Insatlled RadControls_Q3_2008_dev  application on my machine and replaced all the old RAD dlls  references with 2008 Q3 version dlls but while trying to build the application, Its throwing method not supporting errors.

RadCalendar control is giving the major errors(no extension method available issue)

dtRADCalender.SelectedDate.ToUniversalTime();


Example:

Error 48 'System.Nullable<System.DateTime>' does not contain a definition for 'ToUniversalTime' and no extension method 'ToUniversalTime' accepting a first argument of type 'System.Nullable<System.DateTime>' could be found (are you missing a using directive or an assembly reference?) 

Please suggest the solution ASAP.

Thanks,
Ashok
Andrey
Telerik team
 answered on 06 Oct 2011
5 answers
218 views
Rad Editor is  great tool, but there are some important defincincies that I believe Telerik really needs to address before it can be used as true content editor.

1) The content the user creates and "sees" on the screen does not necessarily match the html markup generated by rad Editor and therefore does not match the appearance of the content in other environments. If a user specifies some content should be styled with a particular class.. and that class is not defined anywhere on the partiuclar page the content gets displayed in, then obviously the style will not appear as it does when the use saved the content. This behavior is totally expected. On the other hand, if the user creates some content and on screen it shows "verdana" as the font, it may not actually be set to verdana in the markup, and the content will therefore not look like it does in the editor. For example, when the editor first loads, the FontNames dropdown accepts the default font from the browser and the realFontSize dropdown does the same. So, as the user creates content, this is the font name/size which is used in the editor content area by default. The user assumes that their content will look like this when they save it. However, the Verdana font name and size are not actually applied to the content. They are only what is used in the content display area of the editor. and so you have users creating content that they think will look one way, when it actually looks like something else. This can be a nightmare when creating content which can be used in multiple environments.. (web, print, email, phone, etc.). Ideally, when rad editor loads, we should be able to specify the default font name/size (as well as other parameters, like color, styling, etc.). This is the default font which appears in the rad editor content area AND, when the user types in some content, these font styles will also be applied in the markup generated by Rad Editor. Since the user assumes what they see on screen is what the content will look like, there must always be a font name/size selected and applied in the generated markup. Only in this way can users be sure what they see in rad Editor is what they'll get when the content is saved.

2) It has been mentioned in other threads and I assume Telerik is working on this, but the xhtml markup which rad editor generates does not conform to the styling requirements of some email clients... most notably Outlook. This is particularly true when it comes to image declarations. As someone who need to build email content editors, this is an important feature that should be implemented.
Rumen
Telerik team
 answered on 06 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?