Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
122 views
I'm having a RadGrid that has some columes that are converted to templace columns, and where I have replaced the textboxes with RadEditor-controls. The RadEditor works fine but as soon as I replace any of the other standard ASP.NET controls  (textboxes, labels etc) with ANY of the RAD controls, the layout of the RadEditor breakes completely in Internet Explorer (i'm running version 8). As soon as I remove the other RAD controls (Date-picker, Date-textbox etc) the RadEditor renders fine again. In Opera, FireFox etc. it works fine.

What can i do to fix this? Any ideas?

Rumen
Telerik team
 answered on 27 Aug 2010
1 answer
81 views
Hi,

I am getting strange behaviour with RadEditor. Please check attached images for the different behaviour. It is intermittent behaviour. From my observattion it occurs when you keep site open for long time & try to access the page gain. We need to resolve this issue immediately


Thanks
Rumen
Telerik team
 answered on 27 Aug 2010
1 answer
165 views
Hi

i am facing issue in implementing the Radpanel. I want below things on my page
Put all the search criteria including the “Search button into a “RadPanel”.  Make sure the RadPanel is minimized the first time the page loads.  If they change the search criteria and click “Search”, when the page reloads, then display the RadPanel as maximized.
See below code and screenshort.
i want my first div in 1 panel.
<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Common/MMMasterPage.Master" CodeBehind="MMTaskNotesHistory.aspx.vb" Inherits="CSC.CorporateAdvisor.Web.MMTaskNotesHistory1" %>
<%@ MasterType VirtualPath="~/Common/MMMasterPage.Master" %>
<%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %>
<asp:Content ID="Content1" ContentPlaceHolderID="extJSPlaceholder" runat="server">
<script src="../InvoiceApproval.js" type="text/javascript"></script>
<script type="text/javascript" >
    function Valueofpriority1(item) {
       var combo = $find("<%= ddlPriorty.ClientID %>");
       var getvalue = item.get_value();
       document.all.<%= ddlprio.ClientID %>.value =getvalue;
    }
function OnClientSelectedIndexChanged1(item) {
      var Getvaluecat = item.get_value();
      document.all.<%=valueddlCategory.ClientID%>.value = Getvaluecat;
    }     
function handleViewNoteClicknew()
{
    var location = "../RespondToTaskNotes.aspx";
    var results = window.showModalDialog(
                location,
                null,
                "dialogWidth:700px; "
                + " dialogHeight:580px; "
                + " edge: Raised; "
                + " center: Yes; "
                + " help: No; "
                + " resizable: Yes; "
                + " scroll: No; "
                + " status: No;"
                );
}
function handleEmailNoteClicknew() {
    var location = "./MMEmailForTaskAndNotes.aspx";
    var results = window.showModalDialog(
                location,
                null,
                "dialogWidth:700px; "
                + " dialogHeight:580px; "
                + " edge: Raised; "
                + " center: Yes; "
                + " help: No; "
                + " resizable: Yes; "
                + " scroll: No; "
                + " status: No;"
                );
}
function showNoteandTask() {
    var oWnd = $find("<%= RadWindow2.ClientID %>");
    oWnd.show();
    oWnd.setSize(750,600);
    oWnd.add_close(OnClientClose);
}
function OnClientClose(oWnd, eventArgs) {
 
    oWnd.remove_close(OnClientClose);
}
//Function for the Radcontext menu
function RowContextMenu(sender, eventArgs) {
    var menu = $find("<%= RadMenu1.ClientID %>");
    var evt = eventArgs.get_domEvent();
 
    if (evt.target.tagName == "INPUT" || evt.target.tagName == "A") {
        return;
    }
 
    var index = eventArgs.get_itemIndexHierarchical();
    document.getElementById("radGridClickedRowIndex").value = index;
 
    sender.get_masterTableView().selectItem(sender.get_masterTableView().get_dataItems()[index].get_element(), true);
 
    menu.show(evt);
 
    evt.cancelBubble = true;
    evt.returnValue = false;
 
    if (evt.stopPropagation) {
        evt.stopPropagation();
        evt.preventDefault();
    }
}
//Function Ends
 
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="pageDataPlaceHolder" runat="server">
<div class="tabBottom">
<Windows>
<telerik:RadWindow ID="RadWindow2" Title="Add Task/Notes"  Modal="true" Behavior="Close,Move" Mode="Modal" NavigateUrl="MMTaskNotes.aspx"
                 runat="server" ReloadOnShow="true">
  </telerik:RadWindow>
  </Windows>
<telerik:RadPanelBar  ID="RadPanelBar1"  runat="server"  Skin="Telerik" > 
<Items >
 <telerik:RadPanelItem       Text="Your Data"       runat="server">
     <ItemTemplate>    
   </ItemTemplate>
   </telerik:RadPanelItem>
   </Items>
   <ItemTemplate >
   <div>
    <table>
     <tr>
      <td>Priorty</td>
      <td>
          <input id="ddlprio" type="hidden" runat="server"/>
          <telerik:RadComboBox ID="ddlPriorty" Runat="server" OnClientSelectedIndexChanged="Valueofpriority1">
          </telerik:RadComboBox>
      </td>
      <td>
         <asp:CheckBox ID="chkAssignedNote" runat="server" Text="My Assigned Notes/Tasks:" />
      </td>
    </tr>
    <tr>
        <td>Category:</td>
        <td>
            <input id="valueddlCategory" type="hidden" runat="server" />
            <telerik:RadComboBox ID="ddlCategory" Runat="server" Width="200" OnClientSelectedIndexChanged="OnClientSelectedIndexChanged1">
            </telerik:RadComboBox>
        </td>
        <td> 
           <asp:CheckBox ID="chkPrivate" runat="server" Text="Private"/>
        </td>
        <td>
          <asp:Button ID="btnSearch" Text="Search" runat="server" />
        </td>
     </tr>
    </table>
   </div>
   </ItemTemplate>
 </telerik:RadPanelBar>
 
 <div>  
          <%--<telerik:RadGrid ID="MatterHistorydatagrid" runat="server" GridLines="None" CssClass="RadGrid"
                ShowGroupPanel="True"
                AutoGenerateColumns="False" ShowStatusBar="True" Height="350px" Width="99%">--%>
            <asp:HiddenField ID="hidProcessingFees" runat="server" value=""/>      
            <telerik:RadGrid ID="MMtaskNoteHistoryDataGrid" runat="server" CssClass="RadGrid" GridLines="None"
                    AllowPaging="true" AllowSorting="true" AutoGenerateColumns="False" enablePaging="True"
                    ShowStatusBar="true" HorizontalAlign="NotSet" Height="350px" Width="99%">
                     <PagerStyle Mode="NextPrevAndNumeric"></PagerStyle>
                <MasterTableView ShowHeadersWhenNoRecords="false" GridLines="None" PageSize="15">
                        <Columns>
                            <%--<telerik:GridTemplateColumn UniqueName="select">
                                <ItemTemplate>
                                    <asp:RadioButton ID="rdSelect" runat="server" AutoPostBack="True" />
                                </ItemTemplate>
                                <HeaderTemplate>
                                    Select
                                </HeaderTemplate>
                                <HeaderStyle Width="5%"></HeaderStyle>
                              </telerik:GridTemplateColumn>--%>
                            <telerik:GridBoundColumn UniqueName="CREATED_DTM" HeaderText="Created Date" DataField="CREATED_DTM" DataFormatString="{0:d}">
                                    <HeaderStyle Width="10%"></HeaderStyle>
                                </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="AUTHOR_NAME" HeaderText="Author" DataField="AUTHOR_NAME" DataFormatString="{0:C}">
                                <HeaderStyle Width="20%"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="SUPPORT_DATA_NAME" HeaderText="Type" DataField="SUPPORT_DATA_NAME" DataFormatString="{0:C}">
                                <HeaderStyle Width="10%"></HeaderStyle>
                            </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="START_DATE" HeaderText="Start Date" DataField="START_DATE" DataFormatString="{0:d}">
                                    <HeaderStyle Width="10%"></HeaderStyle>
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn UniqueName="DUE_DATE" HeaderText="Due Date" DataField="DUE_DATE" DataFormatString="{0:d}">
                                    <HeaderStyle Width="10%"></HeaderStyle>
                                </telerik:GridBoundColumn>
                            <telerik:GridBoundColumn UniqueName="Text" HeaderText="Text" DataField="Text" DataFormatString="{0:P}">
                                <HeaderStyle Width="40%"></HeaderStyle>
                            </telerik:GridBoundColumn>
                       </Columns>
                    </MasterTableView>
                    <ClientSettings>
                            <ClientEvents OnRowContextMenu="RowContextMenu"></ClientEvents>
                            <Selecting AllowRowSelect="true" />
                            <Scrolling AllowScroll="true" UseStaticHeaders="true" />
                     </ClientSettings>       
                </telerik:RadGrid>
                <input type="hidden" id="radGridClickedRowIndex" name="radGridClickedRowIndex" />
                <telerik:RadContextMenu ID="RadMenu1" runat="server"  OnItemClick="RadMenu1_ItemClick" EnableRoundedCorners="true" EnableShadows="true">
                    <Items>
                        <telerik:RadMenuItem Text="Respond" />
                        <telerik:RadMenuItem Text="Email" />
                        <telerik:RadMenuItem Text="Print" />
                        <telerik:RadMenuItem Text="View" />
                    </Items>
                </telerik:RadContextMenu>
  </div>
 <div>
      <%--<table>
            <asp:Button ID="btnRespond" runat="server" Text="Respond" Width="125px" OnClientClick="handleViewNoteClicknew()"/>   
            <asp:Button ID="btnEmail" runat="server" Text="Email" Width="94px" OnClientClick="handleEmailNoteClicknew()"/>   
            <asp:Button  ID="btnprint" runat="server" Text="Print" Width="90px" />   
            <asp:Button ID="btnView" runat="server" Text="View" Width="89px" />   
            <asp:Button ID="btnclose" runat="server" Text="Close" style="margin-left: 0px"
                    Width="81px" />
       </table>--%>
 
</div>
</div>
</asp:Content>
Yana
Telerik team
 answered on 27 Aug 2010
1 answer
87 views
Hi,
This is really odd. I have a confirm window I call and it works great on my development machine. However, when I deploy neither the ok or cancel buttons close the confirm dialog. If I click on the 'X' it closes. I have no idea why this could be occurring. Can anyone help?
Thanks ... Ed
Georgi Tunev
Telerik team
 answered on 27 Aug 2010
1 answer
345 views
This is the specific error that we have when attempting to:

1.) Create the form in the page dynamically (the page has grid and the grid has add button event)
2.) When the add button is clicked, a class that dynamically creates the edit form (RadWindow) is called. It creates the controls dynamically and put them in a formview.
3.) Some controls are dropdowns, the problem is when a combo box is clicked this error pops up.

Could it be that the ComboBox fails to address the ajax events correctly?

Any thoughts?

Note: I've tried to do the same using a RadWindow manually created on the page and it runs.

Forms are build OnInit Event and RadAjaxManager are attach on PageLoad.

Thanks,
Edward
Georgi Tunev
Telerik team
 answered on 27 Aug 2010
1 answer
183 views
Hi, I have a RadGrid on a webpage that has a few template columns where the user can click on a HTML LinkButton and open up a RadWindow which shows some more data. Everything is working and the Grid is ajaxed using a panel and manager. My problem is that the grid is databound programatically on button click and when one of the LinkButtons are pressed to open the RadWindow, the page renders the window which takes a split second to load, but then the grid does an entire databind which takes up to 5 seconds. I am using a loading panel also, so it is an inconvenience seeing the loading panel popup each time a radwindow is opened from the grid and the grid does a whole bind. The stored procedure is a heavy duty one that takes a few seconds to gather all the data. I would like to remove the bind somehow when an item is clicked on in the RadGrid.

Thanks in advanced!
Shinu
Top achievements
Rank 2
 answered on 27 Aug 2010
10 answers
279 views
When I attempt to use the CAPTCHA functionality, we get a broken image link above the field.  any suggestions?

thanks.

Pero
Telerik team
 answered on 27 Aug 2010
1 answer
98 views
I believe this is a problem with the flash uploader but it could just be an configuration issue on my part. 

First I am trying to limit number of files uploaded to just a single file. I am doing this in code behind so I have set the following in attempt to stop the user from being able to hit select multiple times and add new files:
radAsyncUpload.MultipleFileSelection = MultipleFileSelection.Disabled;
radAsyncUpload.MaxFileInputsCount = 1;
radAsyncUpload.InitialFileInputsCount = 1;
radAsyncUpload.AutoAddFileInputs = false;

The textbox and the select button do go away after a users selects the first file, but simply clicking on the first file name OR THE REMOVE TEXT BUTTON will cause the browse popup to come up again and the user can select another file. Once they do this the new file is added to the list (with its own remove text button) resulting in multiple files. 

If there are multiple files in the list you can never remove the first file, clicking on the remove text simply popups up the browse for file window in order to add a new file. Clicking on remove text for any file after the first DOES work correctly by removing the file.

Any suggestions on configuration options I can try to fix these issues?
Thanks for any help you can provide.

Matt
Genady Sergeev
Telerik team
 answered on 27 Aug 2010
3 answers
184 views
My OnClientNodeChecked event code (Javascript Code) between

trackChanges and commitChanges are not get executed

if i am having server side event onnodecheck

I am trying to simulate checkboxes as radio buttons. and uncheking the previous selected checkbox from JS. but it is not uncheking previous checkboxes.

Yana
Telerik team
 answered on 27 Aug 2010
1 answer
125 views
AJAX DEMO --> FILTER

Check the links under "Seamless Integration" section

Seamless Integration
RadFilter integrates tightly with RadListView and RadGrid to enable visual filtering at no programming cost.
Sebastian
Telerik team
 answered on 27 Aug 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?