Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
240 views
Im currently dynamicly creating a set of docks to a page, and i would like to have a confimation popup on the DockCloseCommand. Is this possilbe if so how do i implement it with dynamicly created dock objects.
VnDevil
Top achievements
Rank 2
 answered on 02 Jun 2010
3 answers
220 views
Hi!

We need functionality to fetch the actual occurrences of a recurring appointment using select statement in SQL. Parsing those recurrence rules with SQL is not very straighforward. I found this ExpandRecurrence_UDF managed database function solution from http://www.telerik.com/community/forums/aspnet-ajax/scheduler/sql-reporting-display-all-recurring-appointments.aspx.
Is this offcially supported way of doing the thing and is it safe to start using it? It actually does exactly the thing we need.

Thanks in advance

Mikko

Peter
Telerik team
 answered on 02 Jun 2010
4 answers
145 views

Hello,

I try to use telerik tree view in trial before bying it. All requirements are completed except one - customizing a loading status. 

I use following code:

<asp:ScriptManagerProxy runat="server">
<Scripts>
<asp:ScriptReference Path="../Scripts/TreeView/Core.js" />
<asp:ScriptReference Path="../Scripts/TreeView/jQueryPlugins.js" />
<asp:ScriptReference Path="../Scripts/TreeView/AnimationScripts.js" />
<asp:ScriptReference Path="../Scripts/TreeView/NavigationScripts.js" />
<asp:ScriptReference Path="../Scripts/TreeView/RadTreeViewScripts.js" />

...
</Scripts>
</asp:ScriptManagerProxy>

<telerik:RadTreeView 
ID="_dimensionTree" 
runat="server" 
MultipleSelect="true" 
EnableEmbeddedScripts="false" 
PersistLoadOnDemandNodes="false"
EnableViewState="false">

<LoadingStatusTemplate>
<asp:Image runat="server" ID="_loadingImage" ImageUrl="~/_Common/Controls/DimensionFilter/Images/Paging/smallestprog.gif" ToolTip="Loading..." Width="15px" Height="15px" />
</LoadingStatusTemplate>

<WebServiceSettings Path="../Services/TreeViewDataProvider.asmx" Method="GetTreeViewLevel"/>
</telerik:RadTreeView>

I expect to see my custom loading indicator, but tree renders defaut.

Also I tried to use an example from here, but it still renders the default loading image.

So, I want to ask, Is this limits of trial version or I do something wrong?

Thanks, Alexander

Rajesh
Top achievements
Rank 1
 answered on 02 Jun 2010
1 answer
67 views
Hi,

Litel Problem.
Have setup a MOSS 2010 site quickacsses menu with RADPanelBar.
Now when first time acces the site with Explorer 7.x then the quick menu is fly out  and i use the sub items, so oke.
Then when second time acces the quick menu the menu isn't fly ou anymore?.
Ik see quicly the sub menu items . Cannot click on them.
So is it a time setting or something else.

Regards,

Wim Kuiper.
Sebastian
Telerik team
 answered on 02 Jun 2010
2 answers
86 views
Hi
I'm using tooltips to provide instructions and field validation feedback on wizard screens. This all works nicely with the tooltips using a skin confguration:

<

 

telerik:RadToolTip runat="server" SkinId="WizardTips" Animation="Slide" RelativeTo="Element" Width="200px" HideEvent="FromCode" Position="MiddleRight" AutoCloseDelay="0" AnimationDuration="300" ShowDelay="300" HideDelay="300" ShowEvent="OnFocus" EnableEmbeddedBaseStylesheet="false" EnableEmbeddedSkins="false" Skin="MySkin" ></telerik:RadToolTip>

As requested the tooltip appears on the right of my text input boxes but of course when the browser size doesn't support display on the right, the tooltip appears to the left of my input boxes. I appreciate that this is clever but I'd really rather it didn't do this and instead just always displayed on the right even if that means you can't read all the tooltip. Is there a way of doing that?
Thanks in advance.

 

Dave Scott
Top achievements
Rank 1
 answered on 02 Jun 2010
3 answers
57 views
Hi,

Please see the screenshot as attached, the items on the chart has been covered by the Y-axis, is it possible to Z-index of these points ? Understand that the chart is generated as image, so im wondering if we can use code to control the overlay position of the point items.

Thanks
Ves
Telerik team
 answered on 02 Jun 2010
1 answer
116 views
Hi

I wanted to display dates on x axis and i visited on of forum post and implemented in the way which is defined in that post. The Post is here http://www.telerik.com/community/forums/aspnet-ajax/chart/show-date-value-on-x-axis.aspx .

In this post Admin has provided solution by Adding date range to Chart. Here is the the problem. Let me explain my scenario.

In my case i have to show the report chart based on date range (Min date and Max date) has been selected from the  filter page.It is fine if user will select a date range that is not too long, means if user will generate report for 10 to 15 days then the chart will show the result for 15 days starting from Minimum date to Maximum date. The problem is, when user will select a date range for one year then it will try to display all the dates in X-Axis and which shows dates which are not having any data.

So, is there any property by which i can Hide the date(s) which are not having any data ? and it will show only those dates which are having some values attached to it.

can anybody help me in this?

Thanks,
Vimal Panchal


Ves
Telerik team
 answered on 02 Jun 2010
4 answers
353 views

I have a radWindow with the following javascript code:

<script type="text/javascript">  
        //This code is used to provide a reference to the RadWindow "wrapper"  
        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 az well)  
            return oWindow;  
        }  
 
        function CloseOnReload(prmMsg) {  
            if (prmMsg.length > 0) {  
                alert(prmMsg);  
            }  
            GetRadWindow().Close();  
        }  
    </script> 

I have the following in my code-behind:

Dim closescript As String = "<script>CloseOnReload('" & strMsg & "')</" + "script>"  
        ScriptManager.RegisterStartupScript(Me.Page, Me.GetType(), "CloseOnReload", closescript, False) 

When I run this, I correctly get an alert message, followed by the page closing after the user hits the [OK] button.

I would like to show a radAlert instead of the normal javascript alert.  I have a radWindowManager on the page and I changed

alert(prmMsg);

to

radalert(prmMsg, null, null, 'My Title');

This is not working though.  How can I change my alert to be a radalert instead?

Thanks.

Steve

Steven Black
Top achievements
Rank 1
 answered on 02 Jun 2010
1 answer
106 views
Hello, for my latest assignment, I need to put linkbuttons above certain columns of my radgrid. In my viewpoint, this could best be done by adding these to the commanditem of the grid, but I run into 2 issues with this that I can't seem to find the solution for:

1) Is it possible to add linkbuttons dynamically to the commanditem of the radgrid in the code behind of the .aspx page it is on? I've seen and used examples where you can retreive existing linkbuttons in the itemCreated event by checking for CommandItems there, but with that option you can seemingly only edit the existing items, and not add new ones.

2) Is it possible for commanditems to be alligned to certain columns of the radgrid it belongs to? Since the page my radgrid is on can be resized, I can't just use static spaces to have a commandbutton above a certain column all the time.


Iana Tsolova
Telerik team
 answered on 02 Jun 2010
1 answer
664 views
I am having a problem with a RadListView.  I am binding the listview on the NeedDataSource event.  For some reason, the ItemDataBound event only fires every other item.  The listview is in an ItemTemplate of a RadPanelBar.  I am attaching these 2 events at runtime.

        <telerik:RadPanelItem Text="Contacts" Expanded="true" runat="server">  
            <Items> 
                <telerik:RadPanelItem> 
                    <ItemTemplate> 
                        <!-- Contact List --> 
                        <div id="zonePartyContacts" style="padding:5px">  
                            <telerik:RadListView ID="rlvContacts" runat="server" ClientDataKeyNames="NameAddrCode" DataKeyNames="NameAddrCode" AllowPaging="true" > 
                                <LayoutTemplate> 
                                    <div> 
                                        <table cellpadding="0" cellspacing="0" style="padding-top:10px; padding-bottom:5px">  
                                            <tr valign="top">  
                                                <td id="itemPlaceholder" runat="server">  
                                                </td> 
                                            </tr> 
                                        </table> 
                                        <telerik:RadDataPager ID="rdpContacts" runat="server" PageSize="3">  
                                            <Fields> 
                                                <telerik:RadDataPagerButtonField FieldType="Numeric" /> 
                                            </Fields> 
                                        </telerik:RadDataPager> 
                                    </div> 
                                </LayoutTemplate> 
                                <ItemTemplate> 
                                    <td style="padding-right:10px;">  
                                        <asp:Label ID="lblContact" runat="server" Text='<%# Eval("Name") %>' CssClass="contactName"></asp:Label><br /> 
                                        <div id="zoneTitle" runat="server">  
                                            <asp:Label ID="lblTitle" runat="server" Text='<%# Eval("Title") %>'></asp:Label><br /> 
                                        </div> 
                                        <div id="zonePhone" runat="server">  
                                            <asp:Image ID="imgPhone" runat="server" ImageUrl="~/Images/miniPhone.gif" ImageAlign="Middle" AlternateText="Phone Number" ToolTip="Phone Number" />&nbsp;<asp:Label ID="lblPhoneNumber" runat="server" Text='<%# Eval("Phone") %>'></asp:Label>&nbsp;<asp:Label ID="lblExtension" runat="server" Text='<%# Eval("PhoneExtension") %>' /><br /> 
                                        </div> 
                                        <div id="zoneFax" runat="server">  
                                            <asp:Image ID="imgFax" runat="server" ImageUrl="~/Images/miniFax.gif" ImageAlign="Middle" AlternateText="Fax Number" ToolTip="Fax Number" />&nbsp;<asp:Label ID="lblFaxNumber" runat="server" Text='<%# Eval("Fax") %>'></asp:Label><br /> 
                                        </div> 
                                        <div id="zoneEmail" runat="server">  
                                            <asp:Image ID="imgEmail" runat="server" ImageUrl="~/Images/miniEmail.gif" ImageAlign="Middle" AlternateText="Email Address" ToolTip="Email Address" />&nbsp;<asp:Label ID="lblEmail" runat="server" Text='<%# Eval("EmailAddress") %>'></asp:Label><br /> 
                                        </div> 
                                        <asp:HyperLink ID="hlNotes" runat="server" Text="Notes" NavigateUrl="#" Visible="false"></asp:HyperLink> 
                                        <telerik:RadToolTip ID="rttNotes" runat="server" RelativeTo="Element" TargetControlID="hlNotes"></telerik:RadToolTip> 
                                    </td> 
                                </ItemTemplate> 
                            </telerik:RadListView>   
                        </div> 
                    </ItemTemplate> 
                </telerik:RadPanelItem> 
            </Items> 
        </telerik:RadPanelItem> 
 

' PageLoad  
        rlvContacts = oPanelItemContacts.FindControl("rlvContacts")  
        AddHandler rlvContacts.NeedDataSource, AddressOf rlvContacts_NeedDataSource  
        AddHandler rlvContacts.ItemDataBound, AddressOf rlvContacts_ItemDataBound  
 
' NeedDataSource  
        Dim oParams As New NameValueCollection  
 
        oParams.Add("ParamNameAddrCode", _PartyCode)  
 
        Dim oResponse As wsProcedureManagement.procedureResponseClass = RunProcedure("GetNameAndAddressContacts", oParams)  
 
        rlvContacts.DataSource = oResponse.DataTableResult  
 
' ItemDataBound  
        If e.Item.ItemType = RadListViewItemType.DataItem Then 
            Dim oDataItem As RadListViewDataItem = CType(e.Item, RadListViewDataItem)  
            Dim oZone As HtmlGenericControl  
 
            ' Show or Hide title if it is available  
            oZone = e.Item.FindControl("zoneTitle")  
            oZone.Visible = oDataItem.DataItem("Title").ToString.Trim.Length > 0  
 
            ' Show or Hide phone if it is available  
            oZone = e.Item.FindControl("zonePhone")  
            oZone.Visible = oDataItem.DataItem("Phone").ToString.Trim.Length > 0 AndAlso oDataItem.DataItem("Phone").ToString.Trim <> "0" 
 
            ' Show or Hide fax if it is available  
            oZone = e.Item.FindControl("zoneFax")  
            oZone.Visible = oDataItem.DataItem("Fax").ToString.Trim.Length > 0 AndAlso oDataItem.DataItem("Fax").ToString.Trim <> "0" 
 
            ' Show or Hide email if it is available  
            oZone = e.Item.FindControl("zoneEmail")  
            oZone.Visible = oDataItem.DataItem("EmailAddress").ToString.Trim.Length > 0  
 
            ' Show or Hide notes if they are available  
            Dim oNotesLink As HyperLink = e.Item.FindControl("hlNotes")  
 
            oNotesLink.Visible = oDataItem.DataItem("Notes").ToString.Trim.Length > 0 Or oDataItem.DataItem("NotesLine2").ToString.Trim.Length > 0  
 
            If oNotesLink.Visible Then 
                Dim oPopup As RadToolTip = e.Item.FindControl("rttNotes")  
 
                If oDataItem.DataItem("Notes").ToString.Trim.Length > 0 Then 
                    oPopup.Text = oDataItem.DataItem("Notes").ToString  
                End If 
 
                If oDataItem.DataItem("NotesLine2").ToString.Trim.Length > 0 Then 
                    If oPopup.Text.Length > 0 Then 
                        oPopup.Text &= "<br />" 
                    End If 
                    oPopup.Text &= oDataItem.DataItem("NotesLine2").ToString()  
                End If 
            End If 
        End If 
 
Rosen
Telerik team
 answered on 02 Jun 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?