Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
110 views
I'm developing a WebPart for use in WSS3 that uses the RadTicker control. I have followed the instructions here that demonstrate how to enable AJAX in WebParts, but there appears to be something missing. Hovering over the navigation buttons at the top of the screen on SharePoint does not trigger the 'mouseover' event, so they do not change appearance, and instead a javascript error is revealed. I looked deeper and found that when the WebPart is shown on a page, a reference to "WebResource.asx" is no longer present - this contains the 'mouseover' code, and perhaps other SharePoint javascripty stuff.
Anyway, I found the culprit piece of code to be this:

ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
if (scriptManager == null)
{
    scriptManager = new RadScriptManager();
    this.Page.Form.Controls.AddAt(0, scriptManager);
}

Removing this stops the error in SharePoint, but of course it gooses the operation of the WebPart. It looks as though the scriptmanager is overriding SharePoint's own scriptmanager (although when I check the current scriptmanager while stepping through code, it is empty). Any ideas what could be causing this problem?
Srujan
Top achievements
Rank 1
 answered on 21 Jan 2011
2 answers
87 views

In a radgrid,   I want to have a button in the grid to display another grid if I click it (so i can edit a linked table that is linked to the table that is bound to the grid.)  First I have the 2nd grid in a panel that I hide initially.  But, right now it is not displaying it, only when I click the button on the grid twice does it actually show the 2nd grid!    Do you have any sample code that would help?

Thank you.


Chris @ Intrinsic
Top achievements
Rank 1
 answered on 21 Jan 2011
2 answers
97 views
Hi all,

I am trying to get the index value of a slider item when I know what the value of the item is.

i have a range slider where itemtype = item and i have set the items as such
<Items>
            <telerik:RadSliderItem Text="D" Value="1" ToolTip="D" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="E" Value="2" ToolTip="E" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="F" Value="3" ToolTip="F" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="G" Value="4" ToolTip="G" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="H" Value="5" ToolTip="H" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="I" Value="6" ToolTip="I" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="J" Value="7" ToolTip="J" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="K" Value="8" ToolTip="K" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="L" Value="9" ToolTip="L" runat="server"></telerik:RadSliderItem>
            <telerik:RadSliderItem Text="M" Value="10" ToolTip="M" runat="server"></telerik:RadSliderItem>
        </Items>

In javascript i receive the value for the item and I am trying to set the selectionStart and selectionEnd to these passed in values.

I have tried several various techniques to no avail, my current attempt was to use

var newMinValueIndex = ValueSlider._getIndexFromValue(newMinValue);
ValueSlider.set_selectionStart(newMinValueIndex);

to set the selectionStart value.

but I am getting strange results where
the index for 1 is 0 which is correct
the index for 2 is 0.5 which is incorrect
the index for 3 is 1 which is incorrect
etc

am I using the wrong technique or is there a better way for me to set the sliders when I know the value of the items but not their position within the sliders.

Thanks in advance

Paddy
msigman
Top achievements
Rank 2
 answered on 21 Jan 2011
8 answers
312 views
Hey telerik team,

I was looking for an example of how to bind a RadScheduler to an Exchange server calendar for retrieving and creating appointments. It seems I can't find anything satisfying on the web, nether within the Telerik demos web page.

Please help, I'm using the RadControls for ASP.NET AJAX Q1 2010 library. also using ASP.Net 4.0 and Exchange Server 2007 if that helps.

Thanks.

Nick
Stewart
Top achievements
Rank 1
 answered on 21 Jan 2011
1 answer
64 views
Hi.
I'm using the radEditor to convert some html content to pdf and I need to insert Images on it.
How can I do so using html?

I've tryed putting this
"<img src=\"C:\\SOURCES\\PortalIntranet\\Dev\\IntranetV3_1\\Modules\\SIGAQUM\\TemplatesRealatorios\\teste.png\" alt=\"\"/>"

but when I try to open the generated pdf it shows me a corruption on file error.

Thank you,
Rumen
Telerik team
 answered on 21 Jan 2011
3 answers
86 views
Hi.

In documentation mentioned  that by default RadGrid will expect SelectMethod with four arguments with the following names and types:
  • int startRowIndex
  • int maximumRows
  • List<GridSortExpression> sortExpression
  • List<GridFilterExpression> filterExpression
How can i extend the default behavior by adding more parameters that i need additionally to these four?

Thanks.
Maria Ilieva
Telerik team
 answered on 21 Jan 2011
1 answer
62 views
Is it possible to show a array value in a gridcell?

I like to bind a datatable with a structure like this:

string, bool, string[]

to the grid. The first two values where displayed, the third not.

How can I solve this?
Maria Ilieva
Telerik team
 answered on 21 Jan 2011
1 answer
142 views
Hello all,

New Telerik programmer here. Spent the last two days on this and still can't find the solution. I have a RadGrid populated with a ObjectDataSource and I have enabled filtering but for whatever reason, when I click on the filter button it does nothing! Normally it should load up the default filter list options (EqualsTo,Contains, etc etc) but still nothing happens. I continue to click and click and looks like the page posts back but still does nothing. Could the code behind prevent the default list to load? 

On my page all I have is a RadComboBox (Populates the data associated with the selected value into Radgrid) and the Radgrid.

Thanks for the help.
Vasil
Telerik team
 answered on 21 Jan 2011
2 answers
218 views

Please see the image, as RadMenu has imageURL which is overlapping the text and image. Please provide me the solution for the below code.
Using C#, ASP.NET Q3 2009.


<%

@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

 

<%

 

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

 

 

<!

 

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

 

<

 

 

html xmlns="http://www.w3.org/1999/xhtml">

 

<

 

 

head id="Head1" runat="server">

 

 

 

<style type="text/css">

 

 

 

/*We need these lines of code using for Menu Item.*/

 

 

 

.RadMenu .rmGroup .rmText

 

 

{

 

padding: 0 0px 0 0px !important;

 

}

 

 

</style>

 

 

 

<title>Action Menu</title>

 

</

 

 

head>

 

<

 

 

body>

 

 

 

<form id="form1" runat="server">

 

 

 

<asp:ScriptManager ID="ScriptManager1" runat="server">

 

 

 

</asp:ScriptManager>

 

 

 

<telerik:RadToolTipManager ID="ttMng" runat="server" AutoTooltipify="true" ToolTipZoneID="CleasActionMenuControl"

 

 

 

Skin="Web20" ShowCallout="false" AutoCloseDelay="0" HideEvent="LeaveTargetAndToolTip"

 

 

 

Width="300" Visible="true" Animation="Fade">

 

 

 

</telerik:RadToolTipManager>

 

 

 

<telerik:RadToolTipManager ID="RadToolTipManagerImage" ToolTipZoneID="CleasActionMenuControl"

 

 

 

Style="z-index: 1000" ShowCallout="false" Skin="Web20" RelativeTo="Mouse" HideEvent="ManualClose"

 

 

 

Position="BottomRight" Animation="Fade" Width="250px" Height="150px" ContentScrolling="Default"

 

 

 

runat="server" Visible="false" ShowEvent="FromCode">

 

 

 

</telerik:RadToolTipManager>

 

 

 

<telerik:RadMenu ID="CleasActionMenuControl" EnableEmbeddedSkins="true" Skin="Office2007"

 

 

 

CausesValidation="false" Flow="Horizontal" Width="185px" ClickToOpen="false"

 

 

 

runat="server">

 

 

 

<CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation>

 

 

 

<Items>

 

 

 

<telerik:RadMenuItem Enabled="true" Text="Select Action">

 

 

 

<GroupSettings ExpandDirection="Down" Flow="Vertical" OffsetX="0" Width="185px" />

 

 

 

<Items>

 

 

 

<telerik:RadMenuItem Enabled="true" Text="info_light_bg.gif"+"Reopen" ToolTip=""

 

 

 

/>

 

 

 

<telerik:RadMenuItem Enabled="false" Text="Rollover" ImageUrl="info_light_bg.gif"

 

 

 

ToolTip="<strong>You cannot perform this action because there is a reason you can't. \nOtherwise, \nyou'll just see a really long message here in the tooltip. Unless, of course, you can't. In this case, you won't see a really long tooltip, just this.</strong>" />

 

 

 

<telerik:RadMenuItem Enabled="true" Text="Save as New" ToolTip="" />

 

 

 

<telerik:RadMenuItem Enabled="true" Text="Withdraw" ToolTip="" />

 

 

 

</Items>

 

 

 

</telerik:RadMenuItem>

 

 

 

</Items>

 

 

 

</telerik:RadMenu>

 

 

 

</form>

 

</

 

 

body>

 

</

 

 

html>

 

 

Sreenivas
Top achievements
Rank 1
 answered on 21 Jan 2011
2 answers
129 views
Hi,
Is it possible to set the footer so its static and always appears at the footer of a pdf. It works if the page has a full page of content. If a page only has half a page of content the footer moves up below the text.

Is this possible?

Thanks
Daniel
Telerik team
 answered on 21 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?