Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
134 views
Hi,
I have one Radgrid with multiple dynamic text box columns and some fileds, that multiple columns are creating in server side only.

<telerik:RadGrid ID="RGManualSolver" runat="server" AutoGenerateColumns="false" Skin="Vista"
                                           OnNeedDataSource="RGManualSolver_NeedDataSource" OnUpdateCommand="RGManualSolver_UpdateCommand"
                                           OnItemCommand="RGManualSolver_ItemCommand" OnPreRender="RGManualSolver_PreRender"
                                           Width="1040px" Height="300px">
                                           <MasterTableView EditMode="InPlace" EnableColumnsViewState="false" Width="97%" ClientDataKeyNames="MarketName"
                                               DataKeyNames="MKTID,SCID">
                                               <Columns>
                                                   <telerik:GridEditCommandColumn ButtonType="LinkButton" UniqueName="EditCommandColumn"
                                                       ItemStyle-Width="60px" HeaderStyle-Width="60px">
                                                   </telerik:GridEditCommandColumn>
                                                   <telerik:GridTemplateColumn DataField="SHOWCOST" HeaderText="VIEW COST ALLOCATION">
                                                       <ItemTemplate>
                                                           <asp:LinkButton ID="LnkShowCostClick" runat="server" Text='<%#Eval("SHOWCOST") %>'
                                                               CommandName="SHOWCOSTALLOCATIONClick"></asp:LinkButton>
                                                       </ItemTemplate>
                                                   </telerik:GridTemplateColumn>
                                               </Columns>
                                           </MasterTableView>
                                           <ClientSettings>
                                               <Scrolling AllowScroll="true" />
                                           </ClientSettings>
                                       </telerik:RadGrid>

While updating the Grid items, I need validations on that text boxes ..

Can anyone help me regarding this..

Thanks
-Rk.Moorthy
Princy
Top achievements
Rank 2
 answered on 03 Mar 2014
15 answers
790 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
184 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
122 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
110 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
124 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
66 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
169 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
218 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?