Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
804 views
I have an issue with my radComboBoxes rendering the drop-down data randomly on the screen.

Attached is an illustration of the problem with one of the fields.

The code for the combobox is as follows:

<telerik:RadComboBox ID="RadComboBox_Age_UOM_GUID" Runat="server" DataSourceID="SqlDataSource_AgeUOM" DataTextField="Description" DataValueField="sysComboBoxValues_GUID" Width="200px" />



Also, the problem only occurs once the user has to scroll down... so, the comboboxes which are present on the initial, visible portion of the page work correctly... but the moment the user has to scroll down the web page (either by clicking the down-arrow or scrolling), the combobox drop-down rendering is FUBAR.

The problem is not related to the specific control... if I change my video resolution to a lessor screen size, then a combobox higher-up on the screen which is initially visible at the higher resolution (and renders the drop-down correctly) will become FUBAR when I change to a lower resolution and then have to scroll down to get to the control. (Hopefully that makes sense... In other words, if ComboBoxA is normally visible on the web page at 1024x768 and renders correctly, if I use a machine with 800x600 resolution where ComboBoxA is only accessible after scrolling down, it will render correctly on the 1024x768 system, but render incorrectly on the 800x600 system.)

Also... the problem seems to compound itself the more you scroll down... such that, comboboxes at the way bottom of the screen, if you expand them, won't even show the expanded data (because it actually expands much 'higher up' on the non-visible portion of the web page. This confuses users as they think clicking the down-arrow on the combobox is having no effect.

I do not have this issue in development. It only occurs on the production system.

Can anyone tell me how to correct this? I have irate users.
Vishnu
Top achievements
Rank 1
 answered on 03 Mar 2014
3 answers
190 views
I have a simple grid and I'm trying to set the header text on the back end. However, whenever I try to set it, the header just doesn't show up. I'm simply doing this

<telerik:RadGrid ID="rptExams" runat="server" AutoGenerateColumns="false" Skin="MetroTouch" AllowSorting="true" OnInit="rptExams_Init"
   AllowFilteringByColumn="true" OnPreRender="rptExams_PreRender">
       <AlternatingItemStyle CssClass="trAlt" />
       <MasterTableView>
           <Columns>
               <telerik:GridBoundColumn UniqueName="excat_code" SortExpression="excat_code" DataField="excat_code">
               </telerik:GridBoundColumn>
           </Columns>
       </MasterTableView>
   </telerik:RadGrid>


protected void rptExams_PreRender(object sender, EventArgs e)
{
    GridColumn col = rptExams.Columns[0];
    col.HeaderText = "asdfasdf";
}//rptExams PreRender


But there is no column header at all. Any ideas why?
Eyup
Telerik team
 answered on 03 Mar 2014
1 answer
127 views
how to identify the root node,life node values of Rad Drop down tree in code behind 
Shinu
Top achievements
Rank 2
 answered on 03 Mar 2014
1 answer
112 views
I have the export to ExcelML exporting both MasterTable and DetailTable data.  However, I have an issue that I can't seem to find a solution..

Currently I can only change the header for all headers,  but I want the MasterTable Header to be dark gray and the DetailTable Headers to be a light gray.

How do I change the row for the DetailTable header?  

Eyup
Telerik team
 answered on 03 Mar 2014
2 answers
127 views
I have radgrid which contains 4 columns.

I have set property AllowColumnResize="true" of grid.

Resizing works fine for first 3 columns but for last column it doesnot work properly.

Last column resize to decrease width only and I am not able to increase width of last column.
Eyup
Telerik team
 answered on 03 Mar 2014
1 answer
69 views

Requirements

Telerik Product and Version


Supported Browsers and Platforms


Components/Widgets used (JS frameworks, etc.)



PROJECT DESCRIPTION 
[enter description here, together with step-by-step instructions on how to use the project]
Eyup
Telerik team
 answered on 03 Mar 2014
3 answers
173 views
HI Telerik

Is it possible to play video files using radmediaplayer in browsers that are not HTML5 compatible? Like the control can make use of flash plug-ins installed on the browser to play videos if it does not support HTML5.

Ben
Eyup
Telerik team
 answered on 03 Mar 2014
1 answer
220 views
Hi all,

I am currently using the OnDayRender event of the Calendar of my RadDatePicker which executes normally but, on a number of times only. My objective is to disable dates which are already taken and enable only Sundays for selection. So here's my code:

protected void Calendar_OnDayRender(object sender, Telerik.Web.UI.Calendar.DayRenderEventArgs e)
{
    // disable all days except Sunday
    if (e.Day.Date.DayOfWeek != DayOfWeek.Sunday)
    {
        CalendarDatesDisabler(sender, e);
    }
    // for Sundays, disable the dates already taken in the records
    // if no records with this date do not disable
    else // if (e.Day.Date.DayOfWeek == DayOfWeek.Sunday)
    {
        if (_dtForCalendarDayRender.Rows.Count > 0)
        {
            if (_dtForCalendarDayRender.Select(string.Format("startdate = '{0:MM/dd/yyyy}'", e.Day.Date)).Length == 0)
                return;
 
            CalendarDatesDisabler(sender, e);
        }
    }
}

The above block of code runs just what it is expected to do, but it seems to trigger only for 30 number of days, maybe, after that it stops executing and then leaving other Sundays as enabled where it should not be. What can you suggest with this? I have searched the web with the server-side event of on month/year changed so that each time the month or year is selected it will disable the specific calendar days but found nothing.

Thanks for your response!
Eyup
Telerik team
 answered on 03 Mar 2014
2 answers
167 views
Hi,

Can you help us with our problem on safari and chrome? The ajax loading panel will only show once and after that it will not show up anymore. I tried to debug this found out that after a successful ajax on first try, it displays a javascript error on console.

TypeError: 'null' is not an object (evaluating 'f.cssRules.length').

I tried to debug and found out that the f variable was the addthis css ("http://ct1.addthis.com/static/r07/counter014.css")

Thanks,

JP
Shinu
Top achievements
Rank 2
 answered on 03 Mar 2014
1 answer
671 views

Never had a problem with this until now and I think it is some extra code I need with C#, just switched over last month and its always worked with VB.  BUt my grid will not ignore paging on export, it only exports the current page.  Is there some extra code behind I need.  I put in the GridExporting and BiffExporting but niether made a difference still only 1 page that gets exported.  So what am I missing?

<telerik:RadGrid ID="myRadGrid" runat="server" Skin="Web20" Width="80%" OnNeedDataSource="myRadGrid_NeedDataSource" CssClass="CentDiv3" OnPageIndexChanged="myRadGrid_PageIndexChanged"
       OnPageSizeChanged="myRadGrid_PageSizeChanged" OnSortCommand="myRadGrid_SortCommand" OnGridExporting="myRadGrid_GridExporting" OnBiffExporting="myRadGrid_BiffExporting">
       <ExportSettings ExportOnlyData="true" Excel-Format="Biff" IgnorePaging="true" OpenInNewWindow="true"></ExportSettings>
       <MasterTableView runat="server" AutoGenerateColumns="false" Font-Size="9" AllowPaging="true" AllowSorting="true" CommandItemDisplay="Top">
 
 
 
protected void myRadGrid_PageIndexChanged(object sender, GridPageChangedEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_PageSizeChanged(object sender, GridPageSizeChangedEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_SortCommand(object sender, GridSortCommandEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_GridExporting(object sender, GridExportingArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
   protected void myRadGrid_BiffExporting(object sender, GridBiffExportingEventArgs e)
   {
       fillGrid = true;
       myRadGrid.Rebind();
   }
Princy
Top achievements
Rank 2
 answered on 03 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?