Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
88 views
When the InstanceOrSeriesModalPopupExtender pops up, it's centered on the scheduler.  Once one of the two options 'edit this occurrence' or 'edit the series' is selected, the Edit appt model popup is at the top of the page, and the page was scrolled to the top.  How to I get the first popup to be in the same location?
T. Tsonev
Telerik team
 answered on 22 Jun 2010
3 answers
202 views
i am trying to build a scroller just like the one on the demo page but instead of multiple i only want 1 scroller. however, i want to be able to generate data on the server side and then add the column in as i want. is there a way for me to do that?
i have included an image of the demo on your page hope fully that will help explaining what i'm trying to do. thanks

i have this and it doesn't display anything. can you help me please. thanks

<telerik:RadRotator ScrollDirection="left" FrameDuration="1" Width="435" ItemWidth="145" Height="24" ItemHeight="24"   
                                                    ScrollDuration="2000" ID="Rotator1" runat="server">  
                                            </telerik:RadRotator> 

 

Dim rs As SqlDataReader = clsGenerateReport.top20_ticker()

 

 

Dim dt As New DataTable

 

dt.Load(rs)

Rotator1.DataSource = dt

Rotator1.DataBind()

Fiko
Telerik team
 answered on 22 Jun 2010
11 answers
546 views

When the user clicks the Export Button, I want an ajax loading panel to display over the Panel.  Then, when the export is complete I'd like the loading panel to close.

Using the OnAjaxRequestStart I am able to fire the loading panel.  For the export to work, I have to set the EnableAjax = false.  The problem is that when that is set, the OnResponseEnd is never fired.

Here's what I have so far.  Any help would be appreciated:

//Script    
  <script type="text/javascript">  
        var currentLoadingPanel = null;  
        var currentUpdatedControl = null;  
        function RequestStart(sender, args) {  
            currentLoadingPanel = $find("RadAjaxLoadingPanel1");  
            switch (args.get_eventTarget()) {  
                case "btnExcel":  
                case "btnWord":  
                case "btnCSV":  
                    //Disable Ajax  
                    args.EnableAjax = false;  
                    currentUpdatedControl = "Panel1";  
                    //show the loading panel over the updated control  
                    currentLoadingPanel.show(currentUpdatedControl);  
                    break;  
            }  
        }  
        function ResponseEnd() {  
            //hide the loading panel and clean up the global variables  
            if (currentLoadingPanel != null)  
                currentLoadingPanel.hide(currentUpdatedControl);  
            currentUpdatedControl = null;  
            currentLoadingPanel = null;  
        }  
   </script>  
 
//RadAjaxManager Configuration  
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">  
            <AjaxSettings>  
            <telerik:AjaxSetting AjaxControlID="btnExcel">  
                <UpdatedControls>  
                    <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />  
                </UpdatedControls>  
            </telerik:AjaxSetting>  
            <telerik:AjaxSetting AjaxControlID="btnWord">  
                <UpdatedControls>  
                    <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />  
                </UpdatedControls>  
            </telerik:AjaxSetting>  
            <telerik:AjaxSetting AjaxControlID="btnCSV">  
                <UpdatedControls>  
                    <telerik:AjaxUpdatedControl ControlID="Panel1" LoadingPanelID="RadAjaxLoadingPanel1" />  
                </UpdatedControls>  
            </telerik:AjaxSetting>  
        </AjaxSettings>  
        <ClientEvents OnRequestStart="RequestStart" OnResponseEnd="ResponseEnd" />  
    </telerik:RadAjaxManager>  
 
 
Daniel
Telerik team
 answered on 22 Jun 2010
1 answer
104 views

Dear Telerik team,

I use  Grid / Self-referencing Hierarchy in my project,
Total count of data greater than 20,
the page will wait more than eight seconds。
when the data amount in the larger, the performance is worse?
web waiting time is the more long?
Any suggestions for use Grid / Self-referencing Hierarchy ?



sean

Pavlina
Telerik team
 answered on 22 Jun 2010
3 answers
179 views
First off, let me say that Telerik kicks ass! Way easier to use than Infragistics. I gave up on trying to find the right videos for learning and used code from the demos.

The best way to explain my problem, look at this page. Mouse over text box and see that the border shows green. I want it to be red. I am not a design/layout/graphics/make-pretty expert. Where is the style/file/property to change green to red?

http://pickuptrucker.com/Contact.aspx

Thanks,
Tom
Georgi Tunev
Telerik team
 answered on 22 Jun 2010
1 answer
501 views
I am databinding a RadGrid using the NeedDataSource event and my grid has a column configured as such:

<telerik:GridButtonColumn ButtonType="PushButton" CommandName="Delete" Text="Delete" ItemStyle-Width="20px" ConfirmDialogType="RadWindow" ConfirmText="Are you sure you wish to remove this item?<br /><br /><strong>This action is not reversible.</strong>" ConfirmTitle="Confirm Removal" />

There is a RadWindow on the page so the confirmation dialog looks better than the default one. The issue I have is wanting to set the ConfirmText on ItemDataBound (or a similar method) so I can do something like "Are you sure you wish to remove this item which will also remove 35 child items?" where 35 is a count done on the DataItem being used. I've tried searching the forums here and also reading through the API and, while plenty of things give me TableCell access or access to the button being generated, I see nowhere that I can modify this text on a row-by-row basis.

Any suggestions?



Princy
Top achievements
Rank 2
 answered on 22 Jun 2010
3 answers
102 views
Hi,

I am trying to use the RadFilter to create a customer filter. The code is as follows:

<%

@ Control Language="vb" AutoEventWireup="false" CodeBehind="ReportCriteria.ascx.vb" Inherits="xxx.ReportCriteria" %>

 

<%

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

 


 <telerik:RadFilter runat="server" ID="RadFilter1" 
        OnApplyExpressions="RadFilter1_ApplyExpressions">  
            <FieldEditors> 
                <telerik:RadFilterBooleanFieldEditor FieldName="Some Bool" /> 
                <telerik:RadFilterTextFieldEditor FieldName="Some Text" /> 
            </FieldEditors> 
        </telerik:RadFilter> 

and the code behind is...
Imports Telerik.Web.UI  
 
Partial Public Class ReportCriteria  
    Inherits System.Web.UI.UserControl  
 
    Protected Sub RadFilter1_ApplyExpressions(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadFilterApplyExpressionsEventArgs)  
        Dim provider As New RadFilterSqlQueryProvider()  
        provider.ProcessGroup(e.ExpressionRoot)  
        ltlDebug.Text = provider.Result  
    End Sub 
 
End Class 

The filter displays correctly, and I can add criteria. However, as soon as I change the condition from 'Some Bool' to 'Some Text' I get the following error:

Specified argument was out of the range of valid values.
Parameter name: HierarchicalIndex


[ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
Parameter name: HierarchicalIndex]
   Telerik.Web.UI.RadFilterItemsCollection.get_Item(String hierarchicalIndex) +63
   Telerik.Web.UI.RadFilter.HandleClientCommand(String commandName, String commandArgs) +505
   Telerik.Web.UI.RadFilter.RaisePostBackEvent(String eventArgument) +82
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +175
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565


Any ideas? 

Thanks.
Nikolay Rusev
Telerik team
 answered on 22 Jun 2010
1 answer
390 views
Hey there,

I've got a RadGrid bound to an objectDataSource but I've been running into an odd situation, on my grid I got the following declared:
<telerik:GridDropDownColumn DataField="Continent.Id" HeaderText="Continente" DataSourceID="odsContinent" ListTextField="Name" ListValueField="Id" UniqueName="Continent" SortExpression="Continent" />

The problem is, regardless of the params I set on my objectDataSource I am not able to switch the param name from Continent.Id to something I could name a parameter on C# Code, so I always end up with the following error when trying to update an item:

"Sys.WebForms.PageRequestManagerServerErrorException: ObjectDataSource 'odsCountry' could not find a non-generic method 'GridUpdate' that has parameters: Alias, Fullname, Capital, Continent.Id, ThreeDigitCountryCode, ThreeLetterCountryCode, TwoLetterCountryCode, Id."


<asp:ObjectDataSource ID="odsCountry" runat="server" 
            TypeName="Highland.Models.Country" 
            EnablePaging="true"             
            SelectMethod="SlicedFindAll"  
            SelectCountMethod="Count" 
            OldValuesParameterFormatString="{0}" 
            InsertMethod="GridInsert" DeleteMethod="GridDelete" UpdateMethod="GridUpdate"             
            StartRowIndexParameterName="firstResult" 
            MaximumRowsParameterName="maxResults" > 
            <DeleteParameters> 
                <asp:Parameter Name="Id" Type="Int32" /> 
            </DeleteParameters> 
            <UpdateParameters> 
                <asp:Parameter Name="Id" Type="Int32" /> 
                <asp:Parameter Name="Alias" Type="String" /> 
                <asp:Parameter Name="Fullname" Type="String" /> 
                <asp:Parameter Name="Capital" Type="String" /> 
                <asp:Parameter Name="Continent" Type="String" /> 
                <asp:Parameter Name="ThreeDigitCountryCode" Type="Int32" /> 
                <asp:Parameter Name="ThreeLetterCountryCode" Type="String" /> 
                <asp:Parameter Name="TwoLetterCountryCode" Type="String" /> 
            </UpdateParameters> 
            <InsertParameters> 
                <asp:Parameter Name="Id" Type="Int32" /> 
            </InsertParameters> 
        </asp:ObjectDataSource>  

Thanks for your time :)

-Thi


Rosen
Telerik team
 answered on 22 Jun 2010
1 answer
108 views
Hi,

I use one OnChanging view to call one webservice and use a DayRender to apply to my calendar but have some problems in the cycle. The DayRender is apply before my webservice are digest. I need one new DayRender after my response is ready or Onsucess. Exist some "repaint" event like tabstrip or call OnSucess.

Thanks 
Daniel
Telerik team
 answered on 22 Jun 2010
1 answer
102 views
Downloaded and installed RadControlExamples.  When building the solution it produces 20 error messages all realated to:

Description: Type 'MyBusinessObjectCollection' is not defined.  File: WebServiceVB.asmx.

How do I go about fixing this?

Thanks



Tsvetina
Telerik team
 answered on 22 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?