Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
106 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
126 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
139 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
81 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
184 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
130 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
104 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
1 answer
90 views
Here's a nut to crack :)

I have a app that uses radwindows for popups for filling in data, and in one case, I need to open another popup within the popup, but from the parent.

When I use a regular text-link, I can go like:

<a href="javascript://" onclick="var win = GetWindow().BrowserWindow.radopen('randomPopup.aspx'); win.set_modal(true);">Click me</a>
And it works fine, it sets the old popup out of focus, sets the modal and everything works out fine.

But when I use this:

<a href="javascript://" onclick="var win =
GetWindow().BrowserWindow.radopen('randomPopup.aspx');
win.set_modal(true);"><img src="clickMe.png" /></a>
The popup which initiated the new popup, stays active, the background goes modal, and the new popup hides behind the first popup.

Took me a good 2 hours to understand that it wasn't the surrounding HTML that made it impossible to work, it was just that image. :)

If you need more information, ask away :)

Edit:

.setActive() does not work aswell. :) (In the Image-case)
Georgi Tunev
Telerik team
 answered on 21 Sep 2010
1 answer
72 views
I can view the RADSlider on Chrome but cannot see it on IE8. All I can see are the Increase,drag and decrease links on the slider.
Tsvetie
Telerik team
 answered on 21 Sep 2010
1 answer
99 views
Basic tab control and mutipage setup. Took out the justify attribute on the tab strip and looks like the attached pic. Help?
Yana
Telerik team
 answered on 21 Sep 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?