Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
250 views

I am trying to get my rotator to scroll a line of text horizontally across the bottom of the screen at a constant smooth speed without stopping.

The code below is the closest i have gotten it so far but the frame transition starts off quick and slows down so the end result is a jerking motion.

<telerik:RadRotator ID="RadRotator1" runat="server" FrameDuration="0" SlideShowAnimation-Type="None" ScrollDuration="10000" Width="100%" Height="20px">  
<ItemTemplate> 
<b><%#DataBinder.Eval(Container.DataItem, "NewsHeadline")%></b>&nbsp;&nbsp;<%#DataBinder.Eval(Container.DataItem, "NewsSummary")%>&nbsp;&nbsp;  
</ItemTemplate> 
</telerik:RadRotator> 

The other issue i have with the rotator is when i have bolded the headline items, after the first frame the bold headings get blurred and hard to read. The regular text also seems to be a little too flickery, i have tried various fonts etc but can't seem to fix it.
Fiko
Telerik team
 answered on 08 Jul 2009
1 answer
59 views
can we use 2 rad ajax manager in single pages?
Shinu
Top achievements
Rank 2
 answered on 08 Jul 2009
1 answer
127 views
Hi,

My Datasource (datatable) has columns with spaces in them. Can you please show me how to group by a field when they have spaces in them. The following below does not work for me. Please advise.

Dim expression1 As New GridGroupByExpression

 

Dim field1 As New GridGroupByField

 

 

field1 = New GridGroupByField

 

 

field1.FieldName = "Filing Country"

 

 

field1.FieldAlias = "[My Filing Country]"
expression1.SelectFields.Add(field1)

 

 

.MasterTableView.GroupByExpressions.Add(expression1)

Thanks!

 

Princy
Top achievements
Rank 2
 answered on 08 Jul 2009
4 answers
164 views
Hi ,

I have a user control in which i am trying to add the  rad grid with google-like filtering options. I deploy the user control in sharepoint in some page layout

The issue is that i get the following error When i try to add the "RadAjaxManager" that is required for  google-like filtering.
If i remove that  RadAjaxManager then the grid works but no filtering  .  I have also used 

RadAjaxPanel  same error.

at Telerik.Web.UI.RadAjaxControl.MoveUpdatePanel(Control initiator, Control updated) at Telerik.Web.UI.RadAjaxControl.PerformRender() at Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page) at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) at System.Web.UI.Page.Render(HtmlTextWriter writer) at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) at System.Web.UI.Control.RenderControl(HtmlTextWriter writer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)


Please help me out


Thanks
Rahul

Sebastian
Telerik team
 answered on 08 Jul 2009
1 answer
230 views
Hi,

How to display Browser's current date and time on RadDateTimePicker when the page loads?

Thanks for your help,
bala
Shinu
Top achievements
Rank 2
 answered on 08 Jul 2009
1 answer
87 views

Hi,

I have a multilevel grid and I want to export them out as Excel. I set

 

 

 

ExportSettings.ExportOnlyData = true;

 

 

ExportSettings.IgnorePaging = true;

 

 

ExportSettings.OpenInNewWindow = true;

It can popup downloading window and export the master grid if I haven't expanded any detail table. However, if I ever expand any detail table, the grid will just display the export table in current page. I checked my code, the OpenInNewWindow is always set to ture before it call ExportToExcel().

However, if I set HierarchyLoadMode="Client" in the MasterTableView, I won't get the above problem even if I expand any detail table.

I want to use server side hierarchy load mode and avoid the above problem.
Does any body know this trick??

Thanks a lot,
Joe

 

Yavor
Telerik team
 answered on 08 Jul 2009
1 answer
70 views
Hi!

After I upgraded from Version 2008.1.515.35 to 2008.3.1314.20 some of my Items now have a margin, or padding.

In particular this RadTree is now about 20px away from the left border of the RadPanelItem that contains the Tree:

<telerik:RadPane ID="rpTreeView" Runat="server" Width="300px"  Height="100%" 
                            OnClientResized="ResizeTabStrip" CssClass="treeview" Scrolling="Both">  
                            <telerik:RadMultiPage ID="rmpTabStrip" Runat="server" RadControlsDir="~/Img/Skins/"   
                                SelectedIndex="0" CssClass="treeview" Width="100%" Height="100%">  
                                <telerik:RadPageView ID="Operational" runat="server" Height="100%" Width="100%">  
                                    <telerik:RadPanelbar ID="rpbOperational" Runat="server" 
                                        Width="100%" Height="96%" 
                                        ExpandMode="FullExpandedItem"   
                                        SkinsPath="~/Img/Skins/Panelbar/Skins/" 
                                        RadControlsDir="~/Img/Skins/" 
                                        Skin="Office2007" style="background-color:#f0f0f0">  
                                        <Items> 
                                            <telerik:RadPanelItem Value="Geo" runat="server" meta:resourcekey="panel_geographic" Expanded="True" CssClass="treeview">  
                                                <Items> 
                                                    <telerik:RadPanelItem Value="GeoTree" runat="server" CssClass="treeview">  
                                                        <ItemTemplate> 
                                                            <telerik:RadTreeView ID="rtGeographic" Runat="server"   
                                                                    Skin="Vista" CssClass="treeview" 
                                                                    MultipleSelect="true" 
                                                                    onnodeexpand="rtGeographic_NodeExpand"   
                                                                    onClientNodeClicking="onClientNodeClick" 
                                                                    OnContextMenuItemClick="rtGeographic_ContextMenuItemClick" 
                                                                    meta:resourcekey="radTreeView" 
                                                                    OnClientContextMenuItemClicked="onClientCtxmOperationalClicked"                                   
                                                                    OnClientContextMenuShowing="onClientCtxmOperationalShowing">  
                                                                    <contextmenus> 

Are there any known issues with this? I wish I could attach images, it would clear up a lot. But the thing is that it also happened with PanelBar items, they are now longer than the designated area of the PanelBar and reach outside the visible scope. After I resize the Splitter the PanelBar is inside of the PanelBar gets displayed correctly, however, the Tree is still off to the right.

Thanks for any input!
Helmut Stelczenmayr
Top achievements
Rank 1
 answered on 08 Jul 2009
1 answer
487 views
Relevant code:
ASP: 
<telerik:GridBoundColumn DataField="TaskKey" UniqueName="colTaskKey" ReadOnly="true" Display="true" /> 
 
 
C#: 
protected void grdAssign_UpdateCommand(object sender, GridCommandEventArgs e) 
 { 
    GridDataItem item = (GridDataItem)e.Item; 
    int taskKey = Int32.Parse(item["colTaskKey"].Text); 

The column is being displayed only for debugging purposes, so I can verify that yes, it is being populated with the correct data.  When I run this, Int32.Parse throws a FormatException because the string being passed to it is "&nbsp;".  I have not been able to figure out why this is.


Princy
Top achievements
Rank 2
 answered on 08 Jul 2009
10 answers
445 views
Can anyone please help me with how to traverse and change the GroupHeaderItems in the PreRender event.  I know how to do this in the ItemDataBount event with the below code, but this won't work because everytime a user closes a grouping the changes I make to the groupheaderitem go away.

if (e.Item is GridGroupHeaderItem)  
        {  
            GridGroupHeaderItem item = e.Item as GridGroupHeaderItem;  
            string grpIndx = item.GroupIndex.ToString();  
 
            if (grpIndx.Length >= 5)  
            {  
                if (grpIndx.Substring(grpIndx.Length - 2) == "_0")  
                {  
                    DataRowView groupDataRow = (DataRowView)e.Item.DataItem;  
 
                    // Make sure a project exists by checking the Project Id group value  
                    if (string.IsNullOrEmpty(groupDataRow.Row["ProjectId"].ToString()))  
                    {  
                        // Hide the Project grouping  
                        item.Visible = false;  
                    }  
                    else  
                    {  
                        if (groupDataRow.Row["ReleasedByProject"].ToString().ToUpper() != "TRUE") // (!ois.ReleasedByProject)  
                        {  
                            HyperLink lnk = new HyperLink();  
                            lnk.ID = "btnProjRelease";  
                            lnk.Text = "Click To Release";  
                            lnk.ToolTip = "Project Release";  
                            lnk.NavigateUrl = "#";  
                            lnk.Attributes["onclick"] = string.Format("return RunProjectRelease('{0}');", groupDataRow.Row["ProductId"].ToString());  
                            lnk.Enabled = _isReleasedByAccounting && _canCompleteSteps;  
 
                            Label lbl = new Label();  
                            lbl.Text = string.Format("Project: {0}:&nbsp;&nbsp;", groupDataRow.Row["ProjectName"].ToString());  
 
                            item.DataCell.Controls.Add(lbl);  
                            item.DataCell.Controls.Add(lnk);  
                        }  
                    }  
                }  
            }  
        } 
Jason
Top achievements
Rank 1
 answered on 08 Jul 2009
5 answers
284 views
Hello

My page has 2 date pickers on it and I want to ensure that the second date is no more than 30 days after the first date. How would I do this? I have already looked at the validation demos on the website and they did not show me how to do it. If the information is in the demos and I have missed it, please don't refer me back to the demos without pinpointing where it is otherwise we'll be going round in circles as I can't see it. :)

Many thanks
andrea
andieje
Top achievements
Rank 1
 answered on 07 Jul 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?