Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
235 views
Hi,

I'm using default skin for RadComboBox but I would like its border to become black on mouse hover. I know that RadComboBox uses background image to draw the border. Could you give me any suggestions how to solve my issue?

Thanks,
Andrey
Ivana
Telerik team
 answered on 12 Sep 2011
2 answers
67 views
Hi

In the below example,
http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/columntypes/defaultcs.aspx

Ajaxloadpanel is displayed in the middle of the radgrid. I don't see any properties set to do it. I tried backgroundposition, style but nothing works. Loadpanel is always displaying on the top of the radgrid. How to make it display over the radgrid?

Thanks
Vijaianand
Top achievements
Rank 1
 answered on 12 Sep 2011
1 answer
186 views
Hi,

I have an issue that is already related in other tickets of this forum, but hasn't really been resolved or didn't resolve my problem. I'm working with ASP.NET/AJAX/C#.

I want to be able to refresh a Radgrid after removing elements thanks to a button. In the click event of the button, i remove the element from the source and then call the rebind() function of the Radgrid. The element is only removed from the source but not from the datagrid. If i want the datagrid view to be modified, i have to reopen the window.

How can i resolve this issue ?

Thanks in advance.
Iana Tsolova
Telerik team
 answered on 12 Sep 2011
2 answers
467 views
Hello,

Using RadControls for ASP.NET v2011.2.712.35

How do I get the checked value using Javascript for a GridClientSelectColumn in a RadGrid when I click a row in a RadGrid?

Thanks,

Randall Price
Senior Developer
Virginia Tech
Randall
Top achievements
Rank 2
 answered on 12 Sep 2011
5 answers
169 views
Hello

I'm not getting this right. I want to display a feed from youtube. All the data is comming in fine. The youtube feeds will return chuncks of video's with a startindex ... so I have to use the PageIndexChanged to alter the paging.

Alas, it does only work correct afer I click one of the pages. This means that on original page load, it will still take the default pagesize of 10. Any help would be wonderful.

Btw, this is a radListview with radDatapager.


protected override void LoadPage()
{
    // make youtube channel
    channel = new YouTubeChannel(PMSettings.GetPortalSetting("channel"),
                                 PMSettings.GetPortalSetting("devkey"),
                                 PMSettings.GetModuleSetting("pagesize", 6));
 
    if (!IsPostBack)
    {
        // request video feed
        feed = channel.Search("", 1);
 
        // configure list view
        ListViewVideos.PageSize = feed.PageSize;
        ListViewVideos.VirtualItemCount = feed.TotalResults;
 
        // data bind
        ListViewVideos.DataSource = feed.Entries;
        ListViewVideos.DataBind();
    }
}
 
protected void ListViewVideos_PageIndexChanged(object sender, Telerik.Web.UI.RadListViewPageChangedEventArgs e)
{
    // request video feed
    feed = channel.Search("", e.NewPageIndex + 1);
 
    // configure list view
    ListViewVideos.PageSize = feed.PageSize;
    ListViewVideos.VirtualItemCount = feed.TotalResults;
 
    // data bind
    ListViewVideos.DataSource = feed.Entries;
    ListViewVideos.DataBind();
}

Iana Tsolova
Telerik team
 answered on 12 Sep 2011
1 answer
94 views
I attack the picture below, show that the word dint scrolling

Client Side
<telerik:RadRotator ID="dtMessage" runat="server" PauseOnMouseOver ="false" 
FrameDuration="1" Height="55px" ItemHeight="55px" Width="737px" ItemWidth="737px">
<ItemTemplate>
<table border="0" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr><td align="center" valign="middle" ><asp:Label ID="lblMsg" runat="server"></asp:Label></td></tr>
<tr><td align="center" valign="middle"><asp:Label ID="lblMsg2" runat="server"></asp:Label></td></tr>
</table>
<asp:HiddenField ID="hldMsg1" Value ='<%# Eval("Msg1") %>' runat="server" />
<asp:HiddenField ID="hldMsg2" Value ='<%# Eval("Msg2") %>' runat="server" />
<asp:HiddenField ID="hldFontFace" Value ='<%# Eval("FontFace") %>' runat="server" />
<asp:HiddenField ID="hldFontSize" Value ='<%# Eval("FontSize") %>' runat="server" />
<asp:HiddenField ID="hldFontColor" Value ='<%# Eval("FontColor") %>' runat="server" />
<asp:HiddenField ID="hldDirection" Value ='<%# Eval("MessageDirection") %>' runat="server" />
</ItemTemplate>
</telerik:RadRotator>

On the Server Side
dtMessage.DataSource = objDS.Tables(5)
dtMessage.DataBind()
 
Dim strColor As String = objDS.Tables(5).Rows(0)("FontColor").ToString
Dim strDirection As String = objDS.Tables(5).Rows(0)("MessageDirection").ToString
 Dim intMsgSpeed As Integer = objDS.Tables(5).Rows(0)("MessageSpeed").ToString
 
 
If strDirection = "Down" Then
dtMessage.ScrollDirection = RotatorScrollDirection.Down
 ElseIf strDirection = "Up" Then
 dtMessage.ScrollDirection = RotatorScrollDirection.Up
 ElseIf strDirection = "Left" Then
  dtMessage.ScrollDirection = RotatorScrollDirection.Left
 Else
dtMessage.ScrollDirection = RotatorScrollDirection.Right
 End If
 
If strDirection = "Up" Or strDirection = "Down" Then
  dtMessage.ScrollDuration = intMsgSpeed * 1000
Else
  dtMessage.ScrollDuration = intMsgSpeed * 10000
End If
Niko
Telerik team
 answered on 12 Sep 2011
8 answers
258 views
I have a RadPanelBar that I am using that has dynamic heights for the childheightproperty.

Seems to be an issue related to IE8 compatibility mode?

When I load the panelbar, all panels are collapsed.  When I expand any of the panels (except the bottom one), I am seeing a "ghost" of the panel BELOW the one I open remaining in the spot where it was before I expanded the panel above it.  In this case, the panel has a background image applied via CSS.

As a result, I have to "click" on this ghost, in order to see the content of the panel I just opened.

HELP

My code:

foreach (XmlNode Panel in Panels)
            {
                string PanelName = Panel.SelectSingleNode("PanelText").InnerText;
                string PanelImage = Panel.SelectSingleNode("PanelImage").InnerXml;
                string PanelContent = Panel.SelectSingleNode("PanelContentText").InnerText;
                int PanelContentHeight = 0;
                Telerik.Web.UI.RadPanelItem item = new Telerik.Web.UI.RadPanelItem(PanelName, "");
                Telerik.Web.UI.RadPanelItem childPanelItem = new Telerik.Web.UI.RadPanelItem("", "");

                item.ChildGroupHeight = 200;

                string strInnerHtml = string.Empty;

                strInnerHtml += "<div>" + PanelContent + "</div><br />";
                if (PanelImage != null)
                {
                    strInnerHtml += "<div align='center'>" + PanelImage + "</div>";
                }

                PanelItemTemplate template = new PanelItemTemplate(strInnerHtml);
                childPanelItem.ItemTemplate = template;
                try
                {
                    PanelContentHeight = Convert.ToInt32(Panel.SelectSingleNode("PanelContentHeight").InnerText);
                    item.ChildGroupHeight = PanelContentHeight;
                }
                catch
                {
                    item.ChildGroupHeight = 200;
                }
                item.Items.Add(childPanelItem);
                item.Expanded = false;
                this.RadPanelBar1.Items.Add(item);
            }
July
Top achievements
Rank 2
 answered on 12 Sep 2011
2 answers
117 views
Hello,
I have a question about radcompression.

Here, I use radcompression with SL4 and RIA.
I inserted the DLL "Telerik.Web.UI" and I modified the web.config with tags

<httpModules>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression"/>
 </httpModules>

and

<system.webServer>
    <modules>
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="managedHandler" />
<system.webServer>

The response is compressed. It's OK
But my question is : Is it possible to compress POST ?? because the request POST is not compressed.
Possible with RadCompression ? other way ?

Exemple :  See attached file

Regards,
Oliver



Oliver
Top achievements
Rank 1
 answered on 12 Sep 2011
1 answer
135 views
I'm trying to implement the ItemCreated event handler in my server-side code.  What parameters do I use in the event handler?

Can you also please provide the link to your documentation that shows this?  I don't think it exists.

Robert W.
Dimitar Terziev
Telerik team
 answered on 12 Sep 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?