Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
87 views
Here is my RadRotator:

<telerik:RadRotator ID="rotator1" runat="server" BorderWidth="0" RotatorType="CoverFlowButtons"
            Width="100%" ItemWidth="64" Height="80px" ItemHeight="64" ScrollDuration="500"
            FrameDuration="2000" EnableRandomOrder="true" PauseOnMouseOver="false" Skin="Windows7"
            ScrollDirection="Left, Right" OnClientItemShown="OnClientItemShown" CssClass="RemoveRotatorBorder">
            <ItemTemplate>
                <asp:Image ID="Image1" runat="server" ImageUrl='<%# Eval("Url") %>' AlternateText='<%# Eval("Name") %>' />
            </ItemTemplate>
        </telerik:RadRotator>

and the javascript configuration:

Telerik.Web.UI.RadRotatorAnimation.set_scrollAnimationOptions("<%= rotator1.ClientID %>",
        {
            xR: 5, // The offset in pixels between the selected items and the first item on the left and on the right of the selected item.
  
            xItemSpacing: 20,
            matrix: { m11: 1, m12: 0, m21: -0.1, m22: 1 }, // The 2d transformation matrix, applied to the items that appear on the right of the selected item
            reflectionHeight: 0.5, // The height of the reflection
            reflectionOpacity: 1 // The opacity, applied to the reflection
        }
    );

It is fine in IE 8: coverflow-ie8.png
but images are too big or distorted in IE6: coverflow-IE6-a.png and coverflow-IE6-b.png



Tsvetie
Telerik team
 answered on 02 Dec 2010
1 answer
63 views
Hello
I have two chart components on my page that don't display chart image intermittently instead they display red cross missing image icons. The environment is load balanced but the session is sticky so all the requests for a session go to same server. What could be causing this? Is there a way I can see detail chart error log? Thanks for your help.
Evgenia
Telerik team
 answered on 02 Dec 2010
2 answers
88 views
Hi,
I am using a Rad grid with hierarchy.I am using expand/collapse column to show/hide grids in hierarchy.
When i am type a filter value in one filter text box in one grid,it will be applied to all collapsed grids' particular column filter text boxes.
but not to the expanded grids.What I want is do not apply filter values typed in one column filter text box in a grid of hierarchy to another collapsed same column filter text box.

How can I overcome this problem?
Please give me a solution as soon as possible.
thanks.
Radoslav
Telerik team
 answered on 02 Dec 2010
2 answers
138 views
I have a main page that contains several user controls.  One user control displays a RadWindow for entering information and then, upon close, refreshes a grid via an ajaxRequest.  The main page contains the RadWindowManager, RadAjaxManager, and the RadAjaxLoadingPanel.  I am able to add a new record and have the grid updated asynchronously,  except that the AjaxLoadingPanel is not displayed when the grid is updating.  The AjaxLoadingPanel does display when the "trigger" for the Asynchronous postback is the grid itself, however.

This is the javascript that runs OnClientClose of the RadWindow...
var radAjaxMgr = $find('<%= PageRadAjaxManager.clientID %>');
radAjaxMgr.ajaxRequestWithTarget('<%= NotesGrid.clientID %>', '');
$find('<%= PageRadAjaxManager.clientID %>').ajaxRequest('Note');

Here is the code to set the AjaxRequest handler and to register the grid with the AjaxManager.
Dim manager As RadAjaxManager = RadAjaxManager.GetCurrent(Page) 
AddHandler manager.AjaxRequest, AddressOf PalNoteTaskListAjaxManager_AjaxRequest
  
PageRadAjaxManager.AjaxSettings.AddAjaxSetting(manager, TaskGrid, lpWait)

This is the code for the AjaxRequest handler...

Protected Sub PalNoteTaskListAjaxManager_AjaxRequest(ByVal sender As Object, ByVal e As Telerik.Web.UI.AjaxRequestEventArgs)
       Select Case e.Argument
           Case "Task"
               PopulateTaskGrid(False)
           Case "CompTask"
               PopulateCompletedTaskGrid(False)
           Case "Note"
               FillNoteGrid(False)
       End Select
   End Sub

This is the AjaxLoadingPanel...
<telerik:RadAjaxLoadingPanel
    id="lpWait" 
    InitialDelayTime="0" 
    runat="server"
    Transparency="10"  
    Height="100%" Width="100%" >
    <table Height="200px" Width="100%" >
       <tr valign="middle" >
          <td align="center">
             <img src="/SI/Images/status_anim.gif"  title="Wait" />
          </td
       </tr>
    </table
</telerik:RadAjaxLoadingPanel>

Thanks for your help!

Sean M. Severson
Sean Severson
Top achievements
Rank 1
 answered on 02 Dec 2010
2 answers
149 views
Hi!
I am using treeview in my page. in that i want to do the double click event on server side. is it possible to get the event at the server side?

thanks.
geetha.
geetha priya
Top achievements
Rank 1
 answered on 02 Dec 2010
4 answers
133 views
I am running Telerik controls file version 1010.1.415.20.

In the NeedDataSource on my RadGrid, I am reformatting the FilterExpression to apply a Null filter.  However, the Null filter is not being applied.  Instead, I get all records from my DataSet (which is a generic list).  Is the Null filtering broken in the version of the Telerik controls I am running?

Sean M. Severson
Sean Severson
Top achievements
Rank 1
 answered on 02 Dec 2010
1 answer
172 views
else if (e.CommandName == RadGrid.UpdateCommandName)
            {
                MySqlConnection conn = new MySqlConnection();
                conn.ConnectionString = GetConnectionString();
                MySqlCommand cmd = new MySqlCommand();
  
                try
                {
                    GridEditableItem editedItem = e.Item as GridEditableItem;
                    string ID = editedItem.OwnerTableView.DataKeyValues[editedItem.ItemIndex]["ID"].ToString();
  
                    RadNumericTextBox newTimeScaleTextBox = (RadNumericTextBox)e.Item.FindControl("RadNumericBox_TimeScale");
                    string editedTimeScale = newTimeScaleTextBox.Text;
  
                    RadTextBox newGameNameTextBox = (RadTextBox)e.Item.FindControl("RadTextBox_Name");
                    string editedName = newGameNameTextBox.Text;
  
                    RadComboBox newManagerCombo = (RadComboBox)e.Item.FindControl("RadComboBox_Manager");
                    string editedManagerID = newManagerCombo.SelectedValue;
  
                    RadComboBox newRecalibrationDateCombo = (RadComboBox)e.Item.FindControl("RadComboBox_StartPeriod");
                    string editedRecalibrationDate = newRecalibrationDateCombo.SelectedValue;
  
                    conn.Open();
                    cmd.Connection = conn;
                    cmd.CommandText = "MyUpdateSQL" 
                    
cmd.CommandType = CommandType.Text;
  
                    cmd.ExecuteNonQuery();
                }
                catch (MySql.Data.MySqlClient.MySqlException ex)
                {
                    //    IMPLEMENT
                      }  
                conn.Close();
            }


Hi there,

I have a grid setup for cardview with an item template, there is a corresponding edititemtemplate.  The edititemtemplate cointains controls such as a RadNumericTextBox, RadTextBox and a couple of RadComboBoxes (one, crucially, is AutomaticLoadonDemand...this is why I'm not using autogenerated).

The above Item UpdateCommand works great, the values I enter in the edititemtemplate are refelected in the database.   I also conditionally (session variable) have the RadGrid.InsertItem() on page load and this is where the problem starts.

PROBLEM:  I just can't get the PerformInsert command to achieve the same results.  It seems the values i enter on the edititemtemplate are not recoverable from the controls.   I can use FindControl to get for eg RadNumericTextBox newTimeScaleTextBox = (RadNumericTextBox)e.Item.FindControl("RadNumericBox_TimeScale"); 

But when i try and get a value from  newTimeScaleTextBox Text or Value it's empty on the server in the PerformInsert command.

Any help appreciated.
 




 <EditItemTemplate>
  
  
<div style="margin:10px;">
  
  
  <table>
  
    <tr style="height: 50px;">
    <td style="width: 150px; border: none;"><span style="font-weight: bold;">Name:</span></td>
    <td style="border:none;">
      
      
    <telerik:RadTextBox ID="RadTextBox_Name"  EmptyMessage="e.g.  Accounts Department / Q4 2010"  Width="500"  Skin="Office2007" Text='<%# Bind("Name")%>'  runat="server" />
    </td>
      
    </tr>
  
    <tr style="height: 50px;">
    <td style="border:none;"><span style="font-weight: bold;">Start Period:</span></td>
    <td style="border:none;">
      
    <telerik:RadComboBox Width="150" runat="server"  AllowCustomText="true"    DataValueField='<%# Bind("RecalibrationDate") %>' Text='<%# String.Format("{0:MMMM}", Eval("RecalibrationDate")) %>'   Skin="Office2007" ID="RadComboBox_StartPeriod" >
      
    <Items>
      
      
      
    <telerik:RadComboBoxItem Text="January" Value="2010-01-01"   />
    <telerik:RadComboBoxItem Text="February" Value="2010-02-01" />
    <telerik:RadComboBoxItem Text="March" Value="2010-03-01" />
    <telerik:RadComboBoxItem Text="April" Value="2010-04-01" />
    <telerik:RadComboBoxItem Text="May" Value="2010-05-01" />
    <telerik:RadComboBoxItem Text="June" Value="2010-06-01" />
    <telerik:RadComboBoxItem Text="July" Value="2010-07-01" />
    <telerik:RadComboBoxItem Text="August" Value="2010-08-01" />
    <telerik:RadComboBoxItem Text="September" Value="2010-09-01" />
    <telerik:RadComboBoxItem Text="October" Value="2010-10-01" />
    <telerik:RadComboBoxItem Text="November" Value="2010-11-01" />
    <telerik:RadComboBoxItem Text="December" Value="2010-12-01" />
      
    </Items>
      
      
    </telerik:RadComboBox>
  
      
      
      
      
    </td>
      
    </tr>
  
    <tr style="height: 50px;">
    <td style="border:none;"><span style="font-weight: bold;">TimeScale:</span></td>
    <td style="border:none;">
    <telerik:RadNumericTextBox Label="1:" ID="RadNumericBox_TimeScale" Skin="Office2007"  Text='<%# Bind("TimeScale")%>'  MinValue="1" MaxValue="500" NumberFormat-DecimalDigits="0" ShowSpinButtons="true"   runat="server" />
         
    </td>
    </tr>
  
    <tr style="height: 50px;">
    <td style="border:none;"><span style="font-weight: bold;">Manager:</span></td>
    <td style="border:none;"
      
    <telerik:RadComboBox Filter="Contains" AllowCustomText="true" EmptyMessage="Search for a Name and/or Reference"
    EnableVirtualScrolling="true"
    EnableTextSelection="false" 
      
    ShowMoreResultsBox="true"
      
    ItemsPerRequest="20"
    EnableAutomaticLoadOnDemand="true"  
    Skin="Office2007"  Width="300" ID="RadComboBox_Manager" 
    DataSourceID="SqlDataSource_ManagersList" runat="server" 
    DataTextField="DisplayManager" DataValueField="ManagerID" >
    <Items>
      
    </Items>
  
    </telerik:RadComboBox>
  
      
    </td>
    </tr>
  
    <tr style="height: 50px;">
      <td style="border:none;"></td>
      <td style="border:none;">
          
  
  
        <asp:Button ID="Button_InsertUpdate" Text='<%# RadGrid.MasterTableView.IsItemInserted ? "Add" : "Update" %>'
        runat="server" CommandName='<%# RadGrid.MasterTableView.IsItemInserted ? "PerformInsert" : "Update" %>' />
  
          
        <asp:Button ID="Button_DiscardCancel" Text='<%# RadGrid_GameSetup_Basics.MasterTableView.IsItemInserted ? "Discard" : "Cancel" %>'
        runat="server" CommandName='<%# RadGrid_GameSetup_Basics.MasterTableView.IsItemInserted ? "Discard" : "Cancel" %>' />
  
  
  
  
      </td>
    </tr>
      
  </table>
  
    
</div>
</EditItemTemplate>

Veli
Telerik team
 answered on 02 Dec 2010
9 answers
146 views
Hey guys.

Whenever I launch a RadWindow containing an AsyncUpload when using IE, I get this error in RadAsyncUpload.js
Line: 220
Error: Object doesn't support this property or method

Is this a known issue? Is there a workaround?

Thanks,
Simon
Telerik team
 answered on 02 Dec 2010
1 answer
49 views
Hi

I have a radtab inside my formtemplate inside my radgrid. The tabs of the radtab display underneath each other when I click the create record button. I have set the updatepanelrendermode of my ajaxmanager to inline but it still doesnt work. Is there anyway I can fix this?

<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" UpdatePanelsRenderMode="Inline" >
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="radGrid">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="radGrid"/>
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManager>

Thank you
Fred
Veli
Telerik team
 answered on 02 Dec 2010
10 answers
671 views
How can I hide the first row in a RadGrid?

regards

Christian
Rohit
Top achievements
Rank 1
 answered on 02 Dec 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?