Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
94 views
The docs say that the clientside API for an appointment has a method called "get_id()" which returns an int value which represents the appointment's ID.

This is true. Kind of.

If your appointment reoccurs, then the value returned is something like "X_Y" where X is the master appointment's ID and Y is the number of the recurrence, so, for example "10_8" represents the id of the 9th occurrence of appointmentID 10.

Either, the docs are wrong or the method is.

--
Stuart
Peter
Telerik team
 answered on 24 Nov 2009
1 answer
155 views
Hi,  I am currently working with DevExpress controls and I'm considering a move.   Can you tell me how your controls handle the problem of identifying, client side, a telerik control inside a user control which appears on the page more than once.  Let says you have a page with a user control of type InnerControl, and inside that control you have a Telerix ListBox which you want to identify in some javascript function to perform some behaviour that is relevant to the InnerControl.  I.E. you want to place the javascript with the user control (either in the same file, or a file included by the ascx of the InnerControl).  Now further imagine that there is another user control on the same page of a different type, say OuterControl and this control also contains an instance of the InnerControl.  What is the recommended way of generating the client side javascript for the InnerControl, given that there will be 2 instances of the InnerControl on the final page and that you cannot have 2 javascript objects with the same id, or 2 javascript functions with the same name?

As an extension to this problem, what happens to the javascript client side object of the List Box when the InnerControl is reloaded using a callback (not a postback)?  Is a new object created, or is the old one reused?

Hope that makes sense and thanks for your time.

--
Scott
Veselin Vasilev
Telerik team
 answered on 24 Nov 2009
1 answer
124 views
Forgive me if this has already been covered in the forum.  I will search the forum message by message if I have too, but I have run into a small/large issue when integrating the Full RadEditor into our MOSS 2007 environment which we use primarily for publishing.

Order of operations:
We had installed the lite free version of the control first everything works great.
We installed the full version next (carefully following the instructions) and everything works in terms of the control itself. However, as part of the install the configuration has broken something else.
The challenge (I think) is the full version required the install of AJAX.NET (most likely for the call backs for the spell checker etc), we didn't notice this for the free version so we didn't uncover our issue then.  Now that we have moved to the full version we are stuck in one way.

The Issue:
Part of the web.config changes (again most likely for the ajax.net stuff) seem to relate to "*.asmx" files.  The issue is that in our MOSS 2007 environment there are a few sharepoint lists that we setup as ANONYMOUS Read and Add.  The intent of those lists is to allow Non authenticated users to posts things like comments etc to these lists all of which we handle via Javascript and a soap call post to the /_vti/lists.asmx  sharepoint service.   However this service NOW returns a 401 Not Authenticated error when accessing.

Has anyone come anywhere near understanding this type of issue?

Forgive me if I didn't explain it well enough, pretty new to this Sharepoint/third party controls world.

Regards,
Richard Ashwell
Stanimir
Telerik team
 answered on 24 Nov 2009
3 answers
148 views
I have a combo box within a rad panel bar. I am trying to redirect based on if the user selects something within it. However, right now I'm just getting a JS alert saying object not set to the instance of an object. Here is the relevant code. You can see what I mean at alpha.clickablecommunity.com the page should redirect to calendar.aspx when the user selects that from the dropdown.

    Protected Sub viewDrop_SelectedIndexChanged(ByVal o As Object, ByVal e As Telerik.Web.UI.RadComboBoxSelectedIndexChangedEventArgs)
        Dim dropdown As RadComboBox = DirectCast(RadPanelBar1.FindItemByText("Places to Go").Items(0).FindControl("veiwDrop"), RadComboBox)
        
        If dropdown.SelectedValue = "calendar" Then
            Response.Redirect("Calendar.aspx")
        End If
                
    End Sub
</script>

And the aspx I didn't paste it all but the panel bar works fine.

<link href="../ClickableCommunity.css" rel="stylesheet" type="text/css" />
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" LoadingPanelID="RadAjaxLoadingPanel1" Width="220px" Height="520px" BorderStyle="None">
    <telerik:RadPanelBar ID="RadPanelBar1" runat="server" Skin="Web20"
        AllowCollapseAllItems="false" Width="220px" BorderStyle="None" OnClientItemClicked="itemClicked"
        ExpandMode="FullExpandedItem" Height="100%">
        <CollapseAnimation Type="None" Duration="100"></CollapseAnimation>
        <Items>
            <telerik:RadPanelItem runat="server" Text="Places to Go" Font-Bold="true" Font-Size="Medium" Expanded="true" BorderStyle="None">
                <Items>
                    <telerik:RadPanelItem runat="server" BorderStyle="None">
                        <ItemTemplate>
                            View: &nbsp;&nbsp;&nbsp;
                            <telerik:RadComboBox ID="viewDrop" runat="server" Skin="Web20" Width="100px" MarkFirstMatch="True"
                        Font-Size="12px" EnableVirtualScrolling="True" OnSelectedIndexChanged="viewDrop_SelectedIndexChanged" AutoPostBack="true">
                        <CollapseAnimation Duration="1000" Type="InOutBack" />
                        <Items>
                            <telerik:RadComboBoxItem Value="map" Text="Map" Selected="true" />
                            <telerik:RadComboBoxItem Value="calendar" Text="Calendar" Selected="true" />
                        </Items>
                    </telerik:RadComboBox>
                            <telerik:RadTreeView ID="attractionsTree" runat="server" Skin="Web20" CssClass="leftPanelContent"
                                CheckBoxes="true" OnClientNodeClicking="OnClientNodeClicking" OnClientNodeChecked="OnClientNodeChecked" >
                            </telerik:RadTreeView>
                        </ItemTemplate>
                    </telerik:RadPanelItem>
                </Items>
            </telerik:RadPanelItem>
Web Services
Top achievements
Rank 2
 answered on 24 Nov 2009
1 answer
158 views
can we query down directly RadGrid.Items.........      to get values of a column in an IList / collection separately .

I do not want to use for each loop to fetch values of a particular column / field to another IList due to performance issue.



Mark Galbreath
Top achievements
Rank 2
 answered on 24 Nov 2009
1 answer
96 views
Experienced members,

I am trying to do what I thought would be a simple change to a page with a RadEditor control. All I would really like to do is turn the toolbar completely off. No, floating around, no tools, just a simple textbox appearance. I have reviewed the demo that shows a textbox appearance, but I am not finding anything that shows turning off the toolbar completely.

Can anyone point me in the right direction?

Thanks,

Chris
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
4 answers
114 views
Hi,
I have used RadSplitter to split the main page into three parts:
in middle part i am using the radtooltip. It is displayed well in Internet explorer. But in Mozilla and Chrome only the some part of tooltip is being displayed and remaining part is overlapped by last part (panel) of rad splitter.
Can anyone suggest the solution ?
i tried to use z-index property of tooltip, but it didn't helped me.

Regards,
Nitin
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
1 answer
119 views
Hello,
My panes don't get the current skin background color, although internal or external controls well reflect the skin color.

Now, in a very special case, my panes get the skin background ; I need to combine all that :
1. Using a RadSkinManager
2. Ading in the code behind : If Not Page.IsPostBack then  RadSkinManager.GetCurrent(Me.Page).Skin = MySkinForest
3. Using a RadFormDecorator
4. Making a callback

Only after the callback, the panes get skin backcolor.

For all other combination, the panes stay transparent ; for example :
- I do 1,2,3 but I make a postback instead of a callback.
- I do 1,2,4 but I haven't got a RadFormDecorator.
- I do 2,3,4 and I replace RadSkinManager usage (remove it) by the add of the attribute Skin=Forest  into the Splitter tag

That's very strange. Have you got an idea to get a pane back color permanently ?

For info :
- I'm using version 2009.2.1028.35
- bug occurs in localhost (Windows XP) and server (Windows 2003 Server)
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
1 answer
159 views
Hello,
I'm usin radgrid with editing.
i will be happy if you show me a way(client and server side) to know if one ore more edited fields in the grid modified (before i press the button or quiting the web form  and sends the
data to the Data Base)
Thanks
Gerry
Princy
Top achievements
Rank 2
 answered on 24 Nov 2009
1 answer
146 views
Hi, I have a tooltip in a templated column within my radgrid.  I am trying to programmatically change the text on the tooltip depending upon a session variable.

However, I cannot seem to find the tooltip when I call it up in code.

Can anyone help.

I have posted my code.
<telerik:GridTemplateColumn UniqueName="TemplateColumn">  
            <EditItemTemplate> 
                <asp:Button runat="server" CommandName="Update" Text="Update" /> 
                &nbsp;<asp:Button runat="server" CausesValidation="false" CommandName="Cancel"   
                    Text="Cancel" /> 
            </EditItemTemplate> 
            <ItemTemplate> 
                <asp:ImageButton ID="ibPrint" runat="server" ImageUrl="~/Images/print2.jpg"   
                    CausesValidation="false" CommandName="Edit" BackColor="White" /> 
                <telerik:RadToolTip ID="ttibPrint" runat="server" TargetControlID="ibPrint" Text="print"> </telerik:RadToolTip> 
            </ItemTemplate> 
            <ItemStyle BackColor="White" HorizontalAlign="Center" /> 
        </telerik:GridTemplateColumn> 
 If Session("UserCulture") = 2 Then 
            If TypeOf e.Item Is GridDataItem Then 
                Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)  
                Dim editBtn1 As RadToolTip = TryCast(item("TemplateColumn1").Controls(1), RadToolTip)  
                Dim editBtn3 As RadToolTip = TryCast(item("TemplateColumn").Controls(1), RadToolTip)  
                editBtn1.Text = "视图采购申请" 
                editBtn3.Text = "打印" 
            End If 
        End If 
Svetlina Anati
Telerik team
 answered on 24 Nov 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?