Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
81 views
Hello. Is it possible to change the loading graphic on the radWindow to a custom graphic. Currently, it displays the windows 7 default loading graphic (the animated circle..).

any help is appreciated.

thanks
Shinu
Top achievements
Rank 2
 answered on 01 Jun 2011
1 answer
63 views
Hello,
I have solution in witch there is on page - default, that contains iframe.
in the iframe i loads pages inherituing from masterpage.
In my masterpage i have radajaxmanager and all postbacks go beyond it.
Now i need radajaxmanager in my default, because it contains except of the iframe also a <table> of menu, and i want to use asp timer, that on every tick will update specific span in one of my <td>.
I have put radajaxmanager in my default, also radscriptmanager, and wrote in page_load the next statement:

DefaultAjaxManager.AjaxSettings.AddAjaxSetting(tmrRefreshTaskTitle, spnMyCommitteeTask);

when writing this line my solution is compiled but cannot run - the page doesnt being drown.
if i remove this line, but give the radajaxmanager stay on page design, there is no error.

Does anybody know what is my problem?

thanks,
gila

Shinu
Top achievements
Rank 2
 answered on 01 Jun 2011
1 answer
149 views
Hello,

I am creating a web page in which i am using a rad ajax manager, in the page i have one tag defined for another web user controller file(.ascx file) which has its own rad ajax manager. Now i am getting this error for 2 rad ajax managers. I need both rad ajax managers, Please suggest me any solutions for the problem.

Thank you.
Shinu
Top achievements
Rank 2
 answered on 01 Jun 2011
2 answers
147 views

I'm trying to find a way to change the background colour of a row/cell.

Currently, our asset booking system looks like late-current.gif - whereas the red highlighted booking indicates that that resource it is overdue and hasn't been returned. What is required is for the whole row of the timeline to turn red if the asset is overdue, as indicated in late-required.gif.

The appointments change colour using the following code:

protected void RadScheduler1_AppointmentDataBound(object sender, SchedulerEventArgs e)
     {
        DateTime now = DateTime.Now;
        if (e.Appointment.Resources.GetResource("Status", 1) != null)
           e.Appointment.CssClass = "rsCategoryOrange";

And I was trying to do something similar to change the entire row background.

Note: all the resources are populated from the database and are not hardcoded.

Any ideas anyone?
MfE_Developer
Top achievements
Rank 1
 answered on 01 Jun 2011
2 answers
63 views
when i use RadUpload,  i did using RadProgressArea
File Uploading worked well but.. RadProgress Area is not working.(don't update ProgressArea)

Environment :

  Windows 2008 R2
  Telerik (Runtime Version : v4.0.30319, Version : 2011.1.413.40) Ajax
  IIS 7.5 (Pool : .NET 4.0, Identity : LocalSystem)

i tried  following
0. Default Web.Config(Telerik Template Project)
1. Replection Permission added to Web.Config
2. Telerik.Web.UI assembly added to GAC(.NET 4.0)

all not working.

i attached image file of Symptom
SangHyuk
Top achievements
Rank 1
 answered on 01 Jun 2011
1 answer
71 views
I am trying a test with the RadComboBox client side stuff and I can't get it to work. It should be a very simple thing to display the selected item text in an alert. The code is below. What I am doing wrong?

<script language="javascript" type="text/javascript">
      function OnClientSelectedIndexChangedHandler(item)
        {
            alert(item.Text);
        }
 </script>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
    <telerik:RadComboBox ID="DocumentsTypeRadComboBox" runat="server" Filter="StartsWith" DataTextField="Name" DataValueField="ObjectUID" OnClientSelectedIndexChanged="OnClientSelectedIndexChangedHandler">
        <Items>
            <telerik:RadComboBoxItem Text="Item1" Value="1" />
            <telerik:RadComboBoxItem Text="Item2" Value="2" />
        </Items>
    </telerik:RadComboBox>
    </div>
Jennifer
Top achievements
Rank 1
 answered on 01 Jun 2011
2 answers
156 views
As I can catch the event to filter a column of the grid?
Carlos Rodriguez
Top achievements
Rank 1
 answered on 31 May 2011
2 answers
103 views
Project background:
C# ASP.NET project using a custom class to completely define the RadGrid definition. I am using advanced databinding and ajax.

So far everything I have implemented is working fine. One of the requirements I have is that the user upon entry to the form will select an item from dropdownlist control and then click a button to fetch the datasource based on their selection. This is done because the available selections do not return the same data elements. After the retrieval of the data I am not able to get the grid to display the data. I have  added to following to the onClick event of the button. I am using mock data at this time so __getData = true; signifies I want to return data rather than an empty grid. The .Rebind Method is executing NeedDataSource and the DataTable returned from PolicyAPI.GetPolicyData(__getData) has data but the grid does not seem to reload. I have checked all of the samples but have not found any direction. I appreciate any assistance.

protected void Page_Init(object source, EventArgs e)
{
    this.__policyRadGrid = PolicyRadGrid.GridDefinition();
    this.PlaceHolder1.Controls.Add(this.__policyRadGrid);
}

protected void Page_Load(object sender, EventArgs e)
{
    this.__policyRadGrid.NeedDataSource += new GridNeedDataSourceEventHandler(PolicyRadGrid_NeedDataSource);
}

protected void btnRetrieveData_OnClick(object sender, EventArgs e)
{
    __getData = true;
  this.__policyRadGrid.Rebind();
}
  
protected void PolicyRadGrid_NeedDataSource(object source, GridNeedDataSourceEventArgs e)
{
  this.__policyRadGrid.DataSource = PolicyAPI.GetPolicyData(__getData);
}
Tim
Top achievements
Rank 2
 answered on 31 May 2011
5 answers
217 views
Hi,

I have a Telerik RadGrid and when I change page size from 10 to 20 next 10 rows are not formated (see attachment - grid-result-page.jpg, grid-page.jpg). I use client-side databinding. Where I do mistake?
Thanks for answer.

My grid code
<telerik:RadGrid ID="grdResult" runat="server" AllowPaging="True"
            AllowSorting="True" AutoGenerateColumns="False" GridLines="None"
            PageSize="20" Width="100%" BorderStyle="None" EnableEmbeddedSkins="False"
            EnableViewState="true" Culture="de-DE" ShowFooter="True" ShowGroupPanel="True">
            <ClientSettings AllowDragToGroup="True" EnableRowHoverStyle="true" DataBinding-CountPropertyName="CountProduct" DataBinding-DataPropertyName="DataProduct">
                <Selecting AllowRowSelect="true" />
                <DataBinding Location="WebServiceProduct.asmx" SelectMethod="GetDataAndCount" EnableCaching="false"/>
                <ClientEvents OnDataBinding="grdResult_DataBinding" OnDataBound="grdResult_DataBound"/>
            </ClientSettings>
            <HeaderStyle Wrap="False" />
            <MasterTableView GroupLoadMode="Client">
                <GroupByExpressions>
                    <telerik:GridGroupByExpression>
                        <SelectFields>
                            <telerik:GridGroupByField FieldAlias="USER_Profile" FieldName="USER_Profile"></telerik:GridGroupByField>
                        </SelectFields>
                        <GroupByFields>
                            <telerik:GridGroupByField FieldName="USER_Profile"></telerik:GridGroupByField>
                        </GroupByFields>
                    </telerik:GridGroupByExpression>
                </GroupByExpressions>
                <Columns>
                    <telerik:GridBoundColumn DataField="GroupIcon" HeaderText="Group" UniqueName="colResultGroup" ItemStyle-CssClass="grid_td_line"></telerik:GridBoundColumn>
                    <telerik:GridBoundColumn DataField="Text1" HeaderText="Typ Caption" UniqueName="colResultText1" ItemStyle-CssClass="grid_td_line"></telerik:GridBoundColumn>
             <telerik:GridBoundColumn DataField="USER_Profile" HeaderText="USER_Profile" UniqueName="USER_Profile" ItemStyle-CssClass="grid_td_line"></telerik:GridBoundColumn>
                    ...
                </Columns>
          </MasterTableView>
          <PagerStyle Mode="NextPrevAndNumeric" PageButtonCount="10" />
          <GroupingSettings ShowUnGroupButton="true" />
</telerik:RadGrid>



Best regards
Roman
Roman Krsko
Top achievements
Rank 1
 answered on 31 May 2011
3 answers
91 views
I am trying to generate Excel ML Export file but no cell is getting created. It is generating file with empty rows. Any ideas ?
Daniel
Telerik team
 answered on 31 May 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?