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

I wish to use the Calendar Control in a new project.

The companys week 1 though starts in the first week of Feb and not Jan.

I there a solution to this - can I alter the start point of week 1 within the control?

Thank-you,

Marcus.
Marcus
Top achievements
Rank 1
 answered on 21 Sep 2010
1 answer
106 views
I have a radgrid where the data returned looks like this:

Company Name Inc

  • Center ID is invalid, or does not match submitting center ID.
  • Client name already exists. Stationery code is required.
  • Secondary fax must have 10 digits. 

Company Name Manufacturing

  • Center ID is invalid, or does not match submitting center ID.
  • Client name already exists. Stationery code is required.


When I export this to a pdf. It loses the bullets. Is there a way the keep the formatting in the pdf?

Daniel
Telerik team
 answered on 21 Sep 2010
3 answers
95 views
I have a custom button I am adding to my editor. This button makes an ajax request to update the content of the editor. However, the content does not update properly. This occurs in both firefox and IE, so I do not believe that it is related.


Here is my code.

Telerik.Web.UI.Editor.CommandList[""CustomButton""] = function(commandName, editor, args) {
                    $find(""" + manager.ClientID + @""").ajaxRequest(""foobar"");
                    };


Here is the ajax request event
 private void manager_AjaxRequest(object sender, Telerik.Web.UI.AjaxRequestEventArgs e)
        {
if (e.Argument == "Append")
            {
                this.Content += "Does Append work?";
            }
}

the event is firing and the content is being updated, however it never renders to the page.
Aaron Mell
Top achievements
Rank 1
 answered on 21 Sep 2010
1 answer
101 views

On the client-side, when I call .get_selectedDate, it works fine if it has a value. However, if the textbox value has been deleted, I would expect .get_selectedDate() to return null, but it's returning today's date. I assume this is a bug?
Jeremy Yoder
Top achievements
Rank 1
 answered on 21 Sep 2010
1 answer
119 views
Is there a simple way to change the overlay color on a RadWindow?  I tried changing the "BackColor" property but it doesn't apply to the overlay apparently.

Andrew
keymmachine
Top achievements
Rank 1
 answered on 21 Sep 2010
5 answers
133 views
Hello all,

I am using the Update Commant Item to perform an in-place edit. The data is successfully saved in the database etc. - but the grid data doesn't refresh automatically once the user clicks "Update" although the database reflects the change. I spent a day trying to figure this out but I am at a loss. Any help would be appreciated. I am pasting my code snippets.

All the columns are generated real-time so one doesn't see any column fields in the ASPX.

Thanks
Bala

<telerik:RadGrid OnUpdateCommand="gridCRMList_UpdateCommand" HeaderStyle-Wrap="false" ShowStatusBar="false" OnNeedDataSource="gridCRMList_NeedDataSource" width="99%" ID="gridCRMList" theme="Outlook" EnableEmbeddedSkins="True" Skin="Outlook" AllowFilteringByColumn="False" AutoPostBackOnFilter="False" runat="server" AllowSorting="True" AutoGenerateColumns="False" AllowPaging="True" PageSize="50" AllowMultiRowSelection="true" ShowGroupPanel="False" ClientSettings-ClientEvents-OnRowDblClick="OpenEdit">                                                         
                    <MasterTableView EditMode="InPlace" AlternatingItemStyle-Wrap="false" ItemStyle-Wrap="false" TableLayout="Fixed" width="100%" AllowMultiColumnSorting="true" Font-Names="Tahoma" Font-Size="11px">                      
                        <PagerStyle Mode="NextPrevAndNumeric" Position="Bottom" AlwaysVisible="true"></PagerStyle>
                    </MasterTableView>                  
                    <ClientSettings EnableRowHoverStyle="True">
                            <Scrolling AllowScroll="True" UseStaticHeaders="True"></Scrolling>
                        <Selecting AllowRowSelect="True" EnableDragToSelectRows="false"/>
                        <Resizing AllowColumnResize="True" />
                        <ClientEvents OnGridCreated="AdjustGridHeight"></ClientEvents>                      
                    </ClientSettings>
                      
              </telerik:RadGrid>
protected void gridCRMList_UpdateCommand(object source, Telerik.Web.UI.GridCommandEventArgs e)
        {
  
            String strKeyValue = String.Empty;
  
            GridEditableItem editedItem = e.Item as GridEditableItem;            
                          
            iChannel.CRM.Controls.GridView grid = new iChannel.CRM.Controls.GridView();
            String strXml = grid.CreateInPlaceUpdateXml(ref editedItem, String.Concat(Request.QueryString[iChannelConstants.QS_ENTITY].ToString(), "_ID"), ref strKeyValue, Request.QueryString[iChannelConstants.QS_USER_ID]);
  
            if (strXml.Length > 0)
            {
                String strRole = STARSService.getRole(Request.QueryString[iChannelConstants.QS_LOGIN], Request.QueryString[iChannelConstants.QS_KEY]);
                String strXmlTemplate = String.Concat(Request.QueryString[iChannelConstants.QS_ENTITY].ToString(), strRole, iChannelConstants.MODE_GRID.ToUpper());
                String strMessage = STARSService.updateEntity(strKeyValue, strXml, strXmlTemplate, Request.QueryString[iChannelConstants.QS_LOGIN], Request.QueryString[iChannelConstants.QS_KEY]);
  
                if (strMessage.Contains(iChannelConstants.SUCCESS))
                {
                    RadGrid outerGrid = editedItem.OwnerTableView.OwnerGrid;
                    outerGrid.Rebind();
                }
  
            }
  
        }
BALA MUKUND
Top achievements
Rank 1
 answered on 21 Sep 2010
1 answer
69 views
I am doing a web page that need to show a calendar with the week number for each week. The only problem is that the calendar should start with 2 February 2010. First week should be starting in 31 January 2010.
Do you know how to set the properties to get this functionality ?.
Please advise,
Adriana
Dimo
Telerik team
 answered on 21 Sep 2010
6 answers
176 views
Hi Telerik,
We have a problem in the RadRotator(its not displaying in IE 7 but working fine in IE 8,Mozilla etc..).
I have attached code snippet and Images which has IE7 problem.
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="QPRotator.ascx.cs" Inherits="Sitefinity_UserControls_QPRotator" %> 
<%@ Register TagPrefix="rad" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %> 
 
<script type="text/javascript"
    function moveUp() 
    { 
        var radrot'<%=radRotator.ClientID%>'
        $find(radrot).showNext(Telerik.Web.UI.RotatorScrollDirection.Up); 
    } 
    function moveDown() 
    { 
        var radrot'<%=radRotator.ClientID%>'
        $find(radrot).showNext(Telerik.Web.UI.RotatorScrollDirection.Down); 
    } 
     
</script> 
 
<table width="219" border="0" cellspacing="0" cellpadding="0"
    <tr> 
        <td height="38.2px" class="qpHeader" style="padding-left: 17px;"
            <asp:Label ID="lblTitle" runat="server"></asp:Label> 
        </td> 
        <td class="qpHeader"
            <div class="floatLeftRight"
                <div class="rotaterUparrow"
                    <asp:Image runat="server" ID="img_UP" ImageUrl="~/Images/QP_up_arrow.png" onclick="moveUp();" /></div
                <div class="rotaterDownarrow"
                    <asp:Image runat="server" ID="img_Down" ImageUrl="~/Images/QP_down_arrow.png" onclick="moveDown();" /></div
            </div> 
        </td> 
    </tr> 
</table> 
<div class="rotaterContainer"
    <rad:RadRotator ID="radRotator" runat="server" Height="267px" Width="219px" ScrollDuration="500" 
        RotatorType="Buttons" WrapFrames="true" ItemHeight="89px" ItemWidth="219px" OnItemDataBound="radRotator_ItemDataBound" 
        ScrollDirection="Down" RegisterWithScriptManager="false"
        <ControlButtons UpButtonID="img_Down" DownButtonID="img_UP" /> 
        <ItemTemplate> 
            <div class="qpProjectsbg"
                <div class="rotaterImageContainer"
                    <asp:Image ID="Thumbnail" runat="server" /> 
                </div> 
                <div class="qpProjectText"
                    <asp:HyperLink ID="hlNavigator" runat="server"
                        <asp:Literal ID="lblName" runat="server"></asp:Literal> 
                    </asp:HyperLink> 
                </div> 
            </div> 
        </ItemTemplate> 
    </rad:RadRotator> 
</div> 
 

Fiko
Telerik team
 answered on 21 Sep 2010
1 answer
127 views
I am evaluating the ActivePDF WebGrabber to grab webpage containing Rad controls and I am getting duplicate fields on the PDF.

Edit:  No longer an issue.   I had to turn off certain options to remove those duplicate fields.
Fiko
Telerik team
 answered on 21 Sep 2010
3 answers
101 views
Hi, 

I currently have an issue with my page layout when the filter menu of my radgrid is open and my page is ajaxified with the radajaxmanager.

I have a masterPage that contain a RadAjaxManager who ajaxify a few of my page controls.

The page have a RadListBox with a RadGrid that display data based on the previous selection made in the listBox. Everything is working well till that. After i used any of my grid filter and i try to filter on an other column, once the filter menu appear the page layout is completly broken.

Also if i remove all ajax in the page, the layout stays as expected.

Regards,

Guillaume
Dimo
Telerik team
 answered on 21 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?