Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
66 views
Hi all.

I've got a user control I'm running inside of a SmartPart in Sharepoint. This user control contains a RadGrid.

The problem is that if I run it in a normal ASP.NET site everything goes ok.
When instead i use it inside of the SmartPart in Sharepoint, the three client methods OnRowCreated, OnRowDblClick and OnRowClick of the RadGrid are not executed anymore.
There are two other client methods I use, OnCommand and OnGridDestroying, are called and they run normally.

If needed I can provide both the .ascx and the .ascx.cs.

Thanks in advance


Tsvetoslav
Telerik team
 answered on 19 Apr 2010
2 answers
135 views
Hello,

I noticed that the radControls are available in SharePoint Designer as Server Controls, but when I add them to an aspx page, I receive the following error: "Error Rendering Control Designer creation failed for the control Parameter name: this."

Should I not be able to add controls directly from SharePoint Designer? Did I incorrectly run the install/setup for the radcontrols?

Thanks in advance for your help.

Tsvetoslav
Telerik team
 answered on 19 Apr 2010
5 answers
149 views
Hi,
   I just used the RadNumericTextBox for the first time, and I love the spin (up and down arrow) buttons, but I don't want to display the "Spin Up" and Spin Down" hyperlinks.  Is there a way to shut these off?  I can't seem to find it. 

Thanks,
-Mike
Dimo
Telerik team
 answered on 19 Apr 2010
1 answer
69 views
Hi ,

How to get time slots with exact time .ie with minutes.
i have a radscheduler with

MinutesPerRow

 

="10"

But it shows only 12,12,12 or 1am , 1am , 1am etc  instead of 12:00 am ,12:10am,12:20 am etc

what to get the time in with minutes format. i.e hh:mm .

Thanks and Regards,
sriharsha

 

Peter
Telerik team
 answered on 19 Apr 2010
3 answers
113 views
Hi

How to add sorting to RadTreeView

Thanks
Nikolay Tsenkov
Telerik team
 answered on 19 Apr 2010
1 answer
111 views
I am trying to make a meeting scheduler.

I am getting the start time that a user clicks on when inserting/editing an appointment in the javascript below:
function OnClientAppointmentInserting(sender, eventArgs) {  
    var sTime = escape(eventArgs.get_startTime());  
I am getting a date string like so:

Fri Apr 16 13:00:00 PDT 2010

and passing it to a new url. In the code behind, I am having a problem converting this back into a datetime.

Can you give me a clue as to how to convert this back to a datetime object?

Thanks,

Rick
Peter
Telerik team
 answered on 19 Apr 2010
2 answers
131 views
So when you set CommandItemDisplay to true, it adds a table row for the command export buttons. well, it also throws in a "pipe" character |, before the buttons. How do I remove this pipe?
Paul J
Top achievements
Rank 1
 answered on 19 Apr 2010
2 answers
127 views
This is an excerpt from a post in aspnet forums:

On the other hand, if you use <asp:CheckBox inside <ItemTemplate> </ItemTemplate> and if you store the values of true/false or 1/0 as field of type bit in your database, then you can do that as follows:

  1. <ItemTemplate>  
  2.     <asp:CheckBox ID="chk" runat="server" Checked='<%#DataBinder.Eval(Container.DataItem, "itemType") %>' />  
  3. </ItemTemplate>


 

I'm using the Telerik GridTableView and have the following html:

<code>

<tr>
                                                        <td>
                                                            Item Type
                                                        </td>
                                                        <td>
                                                            <asp:RadioButtonList ID="rblItemType" RepeatDirection="Horizontal" runat="server" >
                                                                <asp:ListItem runat="server" Text="Visible System Wide" Value="1" />
                                                                <asp:ListItem runat="server" Text="Invisible System Wide" Value="0" />
                                                            </asp:RadioButtonList>
                                                        </td>
                                                    </tr>

</code> 

I would like to set the selectedvalue thru the html as you described above, but didn't work for me. No intellisense was available for the Checked item.

 

If it didn't work thru the html, I wanted to do it thru the code-behind. Here is the following, but can't seem to get it right.

<code>

RadioButtonList itmtype = e.Item.FindControl("rblItemType") as RadioButtonList; // this has 2 items in the list - 1 & 0
                                itmtype.SelectedValue = itmtype.Items.FindByValue("
the value coming back from the database").ToString();

</code>

I don't know what should be placed in the unbold faced itme above inside the findbyvalue.

I really need some help on this one.....

Martin
Telerik team
 answered on 19 Apr 2010
2 answers
468 views
Hi
 If i write one paragraph of text in the telerik editor and clicks on the return key it puts one p tag around the text and puts another empty p tag as well that we can see in the HTML mode.
 
If i remove the empty p tag in the HTML Mode and switch to design mode the P tag around the text disappears.
i tunred off the ContentFilters by using <ContentFilters>None</ContentFilters>. This fixed the problem i.e. the p tag does not disappear but the contents of the web page does nto display right, some of the <P> tags merged together.

If there are more than more <P> tags the editor works perfect.

Any help will be appreciated. We are using version 5.3.1 MOSS RadEditor with sharepoint.

Kind regards

Sohail

Sohail Sarwar
Top achievements
Rank 1
 answered on 19 Apr 2010
7 answers
332 views
Hello,

I'm trying to use the RadMenu with multiple columns.  When I set RepeatColumns in the DefaultGroupSettings to 2 I get one column and a second column of white space.  When I set repeatColumns to3, I get two columns with one column of whitespace.  I also can't figure out how to cause a break from column one to column two - it is breaking between items 4 and 5 out of a list of 10.  Goofy.

Attached is a .jpg of what the display looks like and the code is below.  Any ideas what is going on?  Thanks.

Dan

Code:
<telerik:RadMenu ID="Testing" runat="server" CollapseDelay="60000"  > 
    <DefaultGroupSettings RepeatColumns="3" RepeatDirection="Vertical" /> 
    <Items> 
        <telerik:RadMenuItem runat="server" Text="Root RadMenuItem1">  
            <Items> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 1" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 2" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 3" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 4" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 5" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 6" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 7" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 8" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 9" /> 
                <telerik:RadMenuItem runat="server" Text="Child RadMenuItem 10" /> 
            </Items> 
        </telerik:RadMenuItem> 
    </Items> 
</telerik:RadMenu> 
 
CE Development
Top achievements
Rank 1
 answered on 19 Apr 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?