Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
131 views
Hello . 
We are using Telerik 2013 . Q1 . SP1 ,and we have some problems with rendering in Different Browsers.
this menu shows Correctly in IE10 ,but It renders Incorrectly in FireFox 24.0 ,  Opera 12.15 , Chrome 30.0.1599.101 m ,
and Safari 5.1.7 .
I attached the Picture of This Problem .
Our Menu begins with :<telerik:RadMenu ID="MainMenu" runat="server" dir="rtl" Skin="Office2007" OnItemClick="RadMenu1_ItemClick" Width="1020px" EnableRootItemScroll="true">

I found some styles For Solving this Problem.I can't remember where I Found It.
It is :
 * html div.RadMenu

  {
     
display: inline !important;

    }

 

+ html div.RadMenu

 {

    display: inline !important;

 

 

div.RadMenu

 {

     float: none !important;

   display: inline-block !important;

   vertical-align: middle !important;

 }
 
div.RadMenu .rmRootLink .rmLeftImage, div.RadMenu .rmFirst
 {
    width
: 16px;

    padding-right: 15px;

   }

 

 div.RadMenu, div.RadMenu .rmRootLink

 {

    width: 100%;

 }

This style Solved My Problem in These Browsers , but this Problem Still Exist In IE8 and I Can't Find Anything for this version of IE .

 

 Can anybody Help Us?

Magdalena
Telerik team
 answered on 15 Nov 2013
4 answers
182 views
Think I found one issue, this call is not finding the grid

"$find("ctl00_ctl00_BodyContentPlaceHolder_BodyContentPlaceHolder_ReportsList_CustomReportGrid")._showFilterMenu("ctl00_ctl00_BodyContentPlaceHolder_BodyContentPlaceHolder_ReportsList_CustomReportGrid_ctl00",



Be patient I am new to using telerik

No Text in filter text box.  Click filter button to bring up menu, the menu never appears but a whole page post back occurs. We have just updated our Telerik from 2010 to RadControl AJAX Q2 2013.  

AutoGenerateColumns is used and the calendar button is not working either for dated columns it just places a '#' in the address url. 


<telerik:RadGrid EnableEmbeddedSkins="true" ID="CustomReportGrid" runat="server" AutoGenerateColumns="true" ShowFooter="true" AllowSorting="true"
                AllowPaging="true" AllowFilteringByColumn="true" PagerStyle-Mode="NextPrevAndNumeric"
                PageSize="50" EnableOutsideScripts="false"
                MasterTableView-NoMasterRecordsText="No records to display." ><ExportSettings OpenInNewWindow="true" FileName="CustomReport">
                    <Pdf PageWidth="3000px"  PaperSize="A4" AllowPrinting="true" PageBottomMargin="10px" PageTopMargin="25px"
                        PageHeaderMargin="0px" PageLeftMargin="10px" PageRightMargin="10px" PageTitle="CustomReport" />
                </ExportSettings>
                <ClientSettings>
                    <Scrolling UseStaticHeaders="true" />
                </ClientSettings>
                <ItemStyle BackColor="transparent" HorizontalAlign="Left" />
                <HeaderStyle HorizontalAlign="Left" />
                <FilterItemStyle HorizontalAlign="Left" />
                <AlternatingItemStyle BackColor="#F9F9F9" />
            </telerik:RadGrid>

This is the markup that is being generated for the filter button

<input id="ctl00_BodyContentPlaceHolder_ReportsList_CustomReportGrid_ctl00_ctl02_ctl02_Filter_Client Name" class="rgFilter" type="submit" title="Filter" onclick="$find("ctl00_BodyContentPlaceHolder_ReportsList_CustomReportGrid")._showFilterMenu("ctl00_BodyContentPlaceHolder_ReportsList_CustomReportGrid_ctl00", "Client Name", event); return false;" value=" " name="ctl00$BodyContentPlaceHolder$ReportsList$CustomReportGrid$ctl00$ctl02$ctl02$Filter_Client Name"></input>


This is the markup for the calendar button on the date column filter

<a id="ctl00_BodyContentPlaceHolder_ReportsList_CustomReportGrid_ctl00_ctl02_ctl02_RDIPFRequested Date_popupButton" class="rcCalPopup" href="#" title="Open the calendar popup."> … </a>


Pavlina
Telerik team
 answered on 15 Nov 2013
1 answer
206 views
Can anyone have called any custom method at server side after the file uploaded. I need to do call one custom event after I upload a file in the image manager of radeditor.

Any help will be obliged.

Hrushikesh Patel
Ianko
Telerik team
 answered on 15 Nov 2013
7 answers
688 views
Consider an example.....

a) I display a web-page "Page1.aspx"  in rad-window.....and inside this web-page on a button click i response.redirect to another web-page "Page2.aspx"..How do i make this  "Page2.aspx" open in the same window but do not display in "RadWindow".


Thanks
Varun
Top achievements
Rank 1
 answered on 15 Nov 2013
1 answer
393 views
Hi,
We are using radgrid latest version. We have a global routine used to loop thru rows of grid. THis is used in multiple page. On some page, grid has templated column with textbox and on other pages, grid tempate column has checkboxes. So, when grid is passed to global routine and loop thru rows, I need to check for templated column control type. If it is checkbox, I need to do some logic and if it is textbox, I need to do some other logic. Please let me know how to write code. FindControl expects ID. I know the id of both controls, but I don't know which one to use.
Something similar this

 

 

foreach (GridDataItem row in radGrid1.Items)
{
   //get the type of control
   Control ctl = typeof(row.findcontrol(...);
   if typeof(ctl) is Checkbox
    //do something
   if type(ctl) is TextBox
     //do something else.
}

This logic needs to be in global routine outside radgrid events.
Thank You

 

Princy
Top achievements
Rank 2
 answered on 15 Nov 2013
1 answer
88 views
Hallo
I have an asyncupload with plugins disabled and am creating a custom progress bar with the help of onclientprogressupdating and everything was working fine in my local machine. When the same application is hosted in windows 2008 server, the event is not firing in IE9. In other browsers this is working well. Has anyone faced such an issue?
Shinu
Top achievements
Rank 2
 answered on 15 Nov 2013
8 answers
417 views
I'm using a Prometheus RadGrid that's bound to an IList, and I'm having some trouble with inserts. When I click the Add button, I get an exception:

DataBinding: 'Telerik.Web.UI.GridInsertionObject' does not contain a property with the name 'PhoneType'.

The error occurs as soon as I press the Add button, before the table shows any insertion controls. As far as I know, I'm not missing any relevant events, but I can't seem to figure out what I'm doing wrong. My table is declared like this:

    <telerik:RadGrid runat="server" ID="phoneGrid" AutoGenerateColumns="false" > 
        <MasterTableView CommandItemDisplay="Bottom"
            <Columns> 
                <telerik:GridEditCommandColumn UniqueName="EditCommandColumn" /> 
                <telerik:GridBoundColumn DataField="ContactPhoneid" Visible="false" ReadOnly="true" /> 
                <telerik:GridDropDownColumn DataField="PhoneType.PhoneTypeName" HeaderText="Type" ListTextField="PhoneTypeName" ListValueField="PhoneTypeid" DataSourceID="phoneTypeSource" /> 
                <telerik:GridBoundColumn DataField="Phone.PhoneNumber" HeaderText="Phone Number" MaxLength="50" /> 
                <telerik:GridBoundColumn DataField="Phone.PhoneExtension" HeaderText="Extension" MaxLength="10" /> 
                <telerik:GridBoundColumn DataField="Phone.PhoneDesc" HeaderText="Description" MaxLength="50" /> 
                <telerik:GridButtonColumn ButtonType="LinkButton" Text="Delete" CommandName="Delete" ConfirmText="Are you sure you want to delete this entry?" /> 
            </Columns> 
        </MasterTableView> 
    </telerik:RadGrid> 

I'm catching NeedDataSource, ItemCommand, and ItemInserted. Am I missing something, or is there a bug with object binding and subobjects?
Ramya
Top achievements
Rank 1
 answered on 14 Nov 2013
6 answers
233 views
Hi,

I am working on an asp.net project using telerik tools version '2011.2.712.40'. I have customized the Image manager control. I am able to upload files into the blob as well as to store reference into the sql table. But, I am not able to delete a file from the Image Manager control. An error message 'The selected file could not be deleted because the application did not have enough permissions. Please contact the administrator' appears when I am trying to delete a file. In the telerik site, I found the flow of the delete functionality is like,

1.  GetPath - Gets the parent folder for the deleted item
2.  ResolveDirectory - Checks permissions
3.  DeleteFile - Deletes the item
4.  ResolveRootDirectoryAsTree - Updates the parent tree node
5.  ResolveDirectory - Updates the parent tree node ResolveRootDirectoryAsTree - Updates the RadGrid
6.  ResolveDirectory - Updates the RadGrid

But, Break point is not coming to the 'DeleteFile' method. Please help me.

Vipin.P.C

William
Top achievements
Rank 1
 answered on 14 Nov 2013
9 answers
409 views
Folks using VS 2010 with RadControls for ASP.NET AJAX Q1 2013.

In Master Table (Paging is enabled, ShowFooter="false").

Assuming I have following columns in Master Table.
Name:                    Monthly Income    Total House Hold Monthly Income (Template Column)
Master Record           1000.00

The Master Table Monthly income column is:
<telerik:GridBoundColumn DataField="MonthlyIncome" HeaderText="Monthly Income"
SortExpression="MonthlyIncome"> </telerik:GridBoundColumn>

Assuming I have following columns in Detail Table (Paging is enabled, ShowFooter="True")
Name:                    Monthly Income:                
Child Record1            200.00
Child Record1            300.00
Child Record1            400.00
Child Record1            500.00

The detail Table Monthly income column is:
<telerik:GridBoundColumn Aggregate="Sum" DataField="MonthlyIncome" HeaderText="Monthly Income"
                    FooterText="All Child records Monthly Income: ">
                </telerik:GridBoundColumn>
             
I would like to show Total House hold monthly income of Master/Detail records in Master Table Template Column. In this example the value of that Template column will be 2400.00. 1000.00 (Master Record Monthly Income)+1400.00 (Sum of Monthly Income of all Child Records).

Thanks for any help

Sincerely

gc_0620
               
Joselina
Top achievements
Rank 1
 answered on 14 Nov 2013
2 answers
129 views
My company has a licensed version of radcontrols which is used in our web application. Now there is a plan to outsource the entire project to an off-shore team and I am a bit concerned about this since the entire project with all the DLLs will be given. So how can I prevent our DLLs from being copied and used in any sort of unauthorized means?
Antony
Top achievements
Rank 1
 answered on 14 Nov 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?