Telerik Forums
UI for ASP.NET AJAX Forum
23 answers
990 views
I am using a RadComboBox inside a Microsoft AjaxToolKit ModalPopupExtender.

Unfortunately the dropdown section of the combobox appears behind the modal popup, and always at a fixed position on the page (if you scroll the page, the popup stays in the centre - with the textbox part of the combobox, while the drop down scrolls up and down with the background).

At the moment my combo box is pretty unusable inside the modal popup because I can't select anything from the drop down by clicking on it.

As the Prometheus tools are build on Microsoft AJAX, I was wondering if this was a problem you were aware of and able to help me with.

Thanks,
Martin

Princy
Top achievements
Rank 2
 answered on 20 Mar 2013
2 answers
877 views
I have a grid being bound to a datasource (which comes from a stored procedure) - when a column contains a datetime, such as 01/01/2000 00:00:00, the column type correctly becomes a GridDateTimeColumn (and my filter changes to a DatePicker).  However, when my data is in the format of 01/01/2000, it acts as a normal GridBoundColumn and I get the textbox for a filter.  How can I (programmatically) change the column type?  ColumnType is read-only, and since all of my grids are auto-generated, I am having trouble with this.  

I need to have a DatePicker in the filter is all.  I have seen column.FilterTemplate, but am not sure if this is a solution.

Thanks.
Shinu
Top achievements
Rank 2
 answered on 20 Mar 2013
5 answers
504 views
Hi ,
         I am having  a grid with a GridEditcommand column when i press the edit button update & cancel button shows up. on clicking the update button a function from (.cs file) must be invoked so that i can update the table. Please help me with a sample code. Also once i clicked edit the grid must come back to normal mode .... 
Shinu
Top achievements
Rank 2
 answered on 20 Mar 2013
3 answers
108 views
I have been converting code from .Net 3.0 to .Net 4.5 now I'm having error on javascript for radgrid with checkbox under
Function RowCreated(gridRow){
...
...
var gridtable = this;
checkBox.onclick = function ()
{
gridtable.Selectrow(gridRow.Control,false); ---> this has JS runtime error: Object doesn't support property or method 'Selectrow'
};


Any alternative code to be able to select row when checbox checked. or radio button checked..

Thanks in advance,
RJ
Shinu
Top achievements
Rank 2
 answered on 20 Mar 2013
3 answers
412 views
Hi,

How to display a PDF File in a radwindow on radbutton click?

Thank you,
Ben.
Princy
Top achievements
Rank 2
 answered on 20 Mar 2013
2 answers
1.5K+ views

Hi,

I am using the RadHtmlChart , with 4 Area Series, and have 300 labels on the X-axis.

I want to hide or change the color of the Gridlines in the Plotarea background, I need to display only the Area Series without any background lines.

Is there a way to do it on either the client tags or server code ?

Thanks
Kiran
Kiran
Top achievements
Rank 1
 answered on 20 Mar 2013
1 answer
177 views
I'm trying to rename the temporary file generated by RadAsyncUpload, but cannot find a property that contains the temporary file name value.  I thought there was a TemporaryFileName property on RadAsyncUpload which would allow me to do this, but I cannot find it.  Below is some basic code with my comments on what did not work.  Is it possible to rename the temporary file in the TemporaryFolder location before I move it to its final destination?  Thanks in advance.

 

 

 

if (RadAsyncUpload1.UploadedFiles.Count > 0)

 

{

 

 

 

//This is the actual file name of the selected file, not the temporary file name in the TemporaryFolder directory, so this didn't work.

 

 

 

string filename = Server.MapPath(RadAsyncUpload1.TemporaryFolder) + "\\" + RadAsyncUpload1.UploadedFiles[0].FileName;

string outputFileName = "MyNewFile.pdf";

 

 

 

string newFilename = Server.MapPath(RadAsyncUpload1.TemporaryFolder) + "\\" + outputFileName;

 

 

 

//Now rename the file in the TemporaryFolder directory. This is a property on RadAsyncUpload.  Failed because filename did not exist.

 

 

 

 

 

 

 

File.Move(filename, newFilename);

 

 

 

 

 

 

 

 

 

}

 

 

 

Lynne
Top achievements
Rank 1
 answered on 20 Mar 2013
7 answers
421 views
Hello all,

I have a strange problem with the Hyperlink manager in RadEditor.
The problem occurs when we add a hyperlink having the same url as the page in which the radeditor is put.The hyperlink manger will remove the domain and stores only page name .

Ie,

suppose the Radeditor is on http://www.test.com/Test/myediotor.aspx. and we added a hyper link with url=http://www.test.com/Test/myediotor.aspx, the hyperlink manager will store only "myeditor.aspx". In all other pages where we are showing these link, the site will replace the "myeditor.aspx" with http://www.test.com/currentpage/myeditor.aspx

Does anybody having this problem? Can you please help me to solve this?

Thanks
Tiju Joseph


Waseem
Top achievements
Rank 1
 answered on 19 Mar 2013
1 answer
151 views
I cannot figure out how to set the EnableRangeFiltering and EnableTimeIndependentFiltering properties in my code-behind when I create my columns. GridBoundColumn does not have these properties, and I cannot cast a GridBoundColumn to a GridDateTimeColumn, which does.
Jeanne
Top achievements
Rank 1
 answered on 19 Mar 2013
1 answer
97 views
Hi,

I have two issues

1) telerik Radwindow  not opened when I click on RadGrid's  "add new a row " image button. the below is the code

2) I gone through telerik sites but I couldn't apply stylesheets for radwinodw ( see code and also use the skin path)



<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="TelerikProject._Default" %>
  
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>
  
<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
     
   <div
    <link rel="stylesheet" type="text/css" href='<% =ResolveUrl("~/Styles/Telerik/Window.Web20.css") %>'
        media="screen, projection" />
  
        <link rel="stylesheet" type="text/css" href='<% =ResolveUrl("~/Styles/Telerik/Grid.Web20.css") %>'
        media="screen, projection" />
     
    </div>
       
       
     <style type="text/css">
   
       
   .RadWindow_web20 .rwWindowContent .radconfirm
    {       
        background-image: none !important;
    }
   .rwIcon  
    {  
        background-image: none !important;  
    }  
   .RadWindow_web20 .rwTitlebarControls 
   {
        font-weight:bold;
        font-size:8pt;
        white-space:nowrap;
        background-image: url('../images/bluebar2.png');
      
        color:#ffffff;
        height:25px;
    }
  
    </style>
                 
<telerik:RadScriptManager ID="radscriptmanager1" runat="server" 
  
</telerik:RadScriptManager>
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" 
    EnableEmbeddedSkins="False" Skin="Web20" >
  
    <Windows>
             
  
       <telerik:RadWindow ID="rwGoogle" runat="server" Behavior="Default"
  
            Height="400px" InitialBehavior="None" NavigateUrl="http://www.google.com" 
  
            Title="Google Window" ToolTip="Google Window" Width="500px" 
  
            OpenerElementID="aGoogleWindow" Visible="true">
  
            <ContentTemplate>
  
                <h3>Automatic Window</h3>
  
                <p>This window is set to open automatically when the page is loaded, which is useful for setting reminders or messages. The content of the window
  
                    can be a separate page file that is loaded for display, or in this case a static content template defined in the window control itself.</p>
  
            </ContentTemplate>
  
        </telerik:RadWindow>
  
         
    </Windows>
  
</telerik:RadWindowManager>
  
  
    <telerik:RadGrid 
      
     EnableEmbeddedSkins="False" Skin="Web20" 
  
     AutoGenerateColumns="false" ID="RadGrid1" Width="760px" AllowSorting="true"
            PageSize="20" ShowFooter="True" AllowPaging="True" runat="server" GridLines="None">
            <PagerStyle Mode="NextPrevAndNumeric" />
            <GroupingSettings CaseSensitive="false" />
            <MasterTableView 
          
            AutoGenerateColumns="false" AllowFilteringByColumn="true" ShowFooter="True"
                TableLayout="Auto" 
              
                 CommandItemDisplay="Bottom" CommandItemSettings-ShowRefreshButton="False" 
                CommandItemSettings-ShowAddNewRecordButton="True" CommandItemSettings-AddNewRecordText="Add a Row" EnableColumnsViewState="true" EditMode="PopUp" >
                <NoRecordsTemplate>
                    <div style="color:Red">No items found.</div>
                </NoRecordsTemplate>
  
  
                <Columns>
                    <telerik:GridBoundColumn DataField="OrderID" HeaderText="OrderID" SortExpression="OrderID"
                        UniqueName="OrderID" FilterControlWidth="40px" CurrentFilterFunction="EqualTo"
                        FilterDelay="4000" ShowFilterIcon="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridBoundColumn FilterControlWidth="105px" DataField="ShipName" HeaderText="ShipName"
                        SortExpression="ShipName" UniqueName="ShipName" AutoPostBackOnFilter="true" CurrentFilterFunction="Contains"
                        ShowFilterIcon="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridDateTimeColumn FilterControlWidth="50px" DataField="OrderDate" HeaderText="OrderDate"
                        AllowFiltering="false" SortExpression="OrderDate" UniqueName="OrderDate" PickerType="None"
                        AllowSorting="false" DataFormatString="{0:d}">
                    </telerik:GridDateTimeColumn>
                    <telerik:GridDateTimeColumn FilterControlWidth="120px" DataField="ShippedDate" HeaderText="ShippedDate"
                        SortExpression="ShippedDate" UniqueName="ShippedDate" PickerType="DatePicker"
                        AllowSorting="false" AllowFiltering="false" DataFormatString="{0:D}">
                        <HeaderStyle Width="160px" />
                    </telerik:GridDateTimeColumn>
                    <telerik:GridBoundColumn FilterControlWidth="50px" DataField="ShipCountry" HeaderText="ShipCountry"
                        AutoPostBackOnFilter="true" SortExpression="ShipCountry" UniqueName="ShipCountry"
                        AllowFiltering="true" CurrentFilterFunction="StartsWith" ShowFilterIcon="false">
                    </telerik:GridBoundColumn>
                    <telerik:GridMaskedColumn FilterControlWidth="50px" DataField="ShipPostalCode" HeaderText="ShipPostalCode"
                        SortExpression="ShipPostalCode" UniqueName="ShipPostalCode" Mask="#####" AllowFiltering="false"
                        AllowSorting="false">
                        <FooterStyle Font-Bold="true" />
                    </telerik:GridMaskedColumn>
                    <telerik:GridBoundColumn HeaderStyle-Width="90px" FilterControlWidth="50px" DataField="Freight"
                        DataType="System.Decimal" HeaderText="Freight" SortExpression="Freight" UniqueName="Freight">
                        <FooterStyle Font-Bold="true" />
                    </telerik:GridBoundColumn>
                </Columns>
            </MasterTableView>
            <ClientSettings>
                <Scrolling AllowScroll="false"  />
                <Selecting AllowRowSelect="True" />
                <ClientEvents OnCommand="OnCommand" />
            </ClientSettings>
  
    </telerik:RadGrid>
  
     
  
</asp:Content>


Thank You
Bala
Pavlina
Telerik team
 answered on 19 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?