Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
102 views
When rendering a radgrid using scrolling  the grid is properly rendered with the scrolling bar, but padding is added to the right of the grid, as if scrolling was not implemented.

For instance, say my RadGrid without scrolling is 1000px.  If I size it to 600px and add scrolling.  The Rad grid is rendered as 600px wide, with the scrolling bar.  However to the right of the RadGrid it is still padded with the remaining 400px.  I can't figure out why this padding is added.  It's as if the scroll was implemented for display, but the RadGrid still occupies it's original width space.


Here is a sample of the code:


<telerik:RadGrid ID="RadGridPerformance" runat="server" AutoGenerateColumns="False" Width="600px" Height="175px" >
 <MasterTableView TableLayout="Fixed">
         <Columns>
                 <telerik:GridBoundColumn HeaderText="" DataField="Year"  />
                        <telerik:GridBoundColumn HeaderText="YTD" DataField="Ytd"  />
                        <telerik:GridBoundColumn HeaderText="Jan" DataField="Jan"  />
                        <telerik:GridBoundColumn HeaderText="Feb" DataField="Feb"   />
                        <telerik:GridBoundColumn HeaderText="Mar" DataField="Mar"   />
                        <telerik:GridBoundColumn HeaderText="Apr" DataField="Apr"   />
                        <telerik:GridBoundColumn HeaderText="May" DataField="May"   />
                        <telerik:GridBoundColumn HeaderText="Jun" DataField="Jun"   />
                        <telerik:GridBoundColumn HeaderText="Jul" DataField="Jul"   />
                        <telerik:GridBoundColumn HeaderText="Aug" DataField="Aug"   />
                        <telerik:GridBoundColumn HeaderText="Sep" DataField="Sep"   />
                        <telerik:GridBoundColumn HeaderText="Oct" DataField="Oct"  />
                        <telerik:GridBoundColumn HeaderText="Nov" DataField="Nov"  />
                        <telerik:GridBoundColumn HeaderText="Dec" DataField="Dec"  />
             </Columns>
      </MasterTableView>
        <HeaderStyle Width="60px" />
        <ClientSettings>
         <Scrolling AllowScroll="True" UseStaticHeaders="True" SaveScrollPosition="True" FrozenColumnsCount="1">
                </Scrolling>
      </ClientSettings>
</telerik:RadGrid>
Pavlina
Telerik team
 answered on 18 Feb 2011
8 answers
342 views
Hi,  im trying to catch a click event from inside the rotator but the events arent being fired.  Is there an example I can look at?  I can catch the click event for the rotator just not the items inside.

I have a rotator that is inside a user control with 2 link buttons and an image.  I can catch the click event on a button in the usercontrol outside the rotator just not inside.

Thanks
-Keith
Georgi Tunev
Telerik team
 answered on 18 Feb 2011
1 answer
82 views
Hello,

My application was developed in telerik 3.0 version Now converted into telerik control 4.0 and now I am getting following error from last 3 days in whole application can you pease provide me some solution for me. 

I used following code in .aspx

 <ClientSettings EnableRowHoverStyle="true" AllowColumnsReorder="true">
    <Resizing EnableRealTimeResize="True"></Resizing>
  <Scrolling AllowScroll="true" UseStaticHeaders="true" />
  <Selecting AllowRowSelect="true" />
  <ClientEvents OnCommand="gridCommand" />
  </ClientSettings>


Getting Error
Line: 3
Error: '_events' is null or not an object

Please I am wating for your response

Thanks and Regards,
Atchyut
Helen
Telerik team
 answered on 18 Feb 2011
5 answers
154 views
Dear Telerik-Support

I want to use a RadContextMenu on a RadRotator. So if the user right click on a RotatorItem the a RadContextMenu should be shown.

Can you give me an exapmle for this scenario?

Kind Regargs,
Christian
Christian
Top achievements
Rank 1
 answered on 18 Feb 2011
4 answers
151 views
Hi,

In my chart I am using chart series type as "Spline" and cart & lines are displaying correctly as per the given data.

Now my requirement is, i want to mark the area between each spline with different color schema. How can i achieve this?

I tried with SplineArea series type but that chart was not displaying as am expected.

I am looking similar chart which you can find in below url
http://childobesityinfo.blogspot.com/2008/09/bmi-for-age-percentile-chart-for-boys.html
Thanks,
Sumanth
Sumanth
Top achievements
Rank 1
 answered on 18 Feb 2011
1 answer
103 views
Hi All,
Please suggest me on this:

Step 1: I have .aspx page which has a master page for it in which RadAjaxManager is placed.
Step 2: In this page I have a user control say uc1 (along with RadManagerProxy) which holds another user control say uc2 in it along with a grid.
Step 3: In uc2 I am having a rad window and other label controls. I am modifying some content in rad window and calling a javascript function in uc2 which is raised when we close rad window.
Step 4: I am calling master manager events in uc1 to update the grid as specified in the following url: http://www.telerik.com/help/aspnet-ajax/ajax-manager-proxy.html
Step5: My problem is the above code works fine when we have only one instance of both the controls i.e. uc1 & uc2. But when we have more than one instance of both controls in a page then updating one instance of uc2 will update rest of the instances of uc2 which is in uc1. That is it is calling manager.AjaxRequest += new RadAjaxControl.AjaxRequestDelegate(manager_AjaxRequest);
as many times as we have instances. But I want to call that event only once for that particular instance. 

I know its confusing, please let me know if anybody require further explanation.
Maria Ilieva
Telerik team
 answered on 18 Feb 2011
3 answers
484 views
Hello,

I have a question 

Similar to this thread: http://www.telerik.com/community/forums/thread/b311D-mebde.aspx

I would like to use the normal ASP.net validation controls with the RadDatePicker and perform client-side validation
rather than the inbuilt validation of the RadDatePicker. 
I do not want the RadDatePicker style to change when an invalid date is entered.

when I'm validating against the normal text box, I use a regular expression validator, and then display a message next to the text box with the correct date format.
This is how I validate all the rest of the controls in the web site, and I want to maintain consistency of look and feel of the validation

when I try and use a regular expression validator against the RadDatePicker, the validation fails.

How can I correctly hook up a client-side regular expression validator to a RadDatePicker?

Can I disable the RadDatePicker validation functionality?

If I can't disable the RadDatePicker validation functionality, I imagine that I would need to change the skin for the control.  Is this correct?

Basically what I'm looking for is a regular text box that is hooked up to a calendar automatically, rather than having to code a rad window with an embedded calendar.

This is my code, the textbooks validation works, the RadDatePicker validation does not

<td noWrap align=right >Reminder Date:</td>

<td >

<table>

<tr>

<td><asp:TextBox ID="txtReminderDate" runat="server" Enabled="false"></asp:TextBox></td>

<td><asp:RequiredFieldValidator ID="reqvalReminderDate" runat="server" Enabled="false" ErrorMessage="Reminder Date is required." ControlToValidate="txtReminderDate">*</asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="regvalReminderDate" runat="server" ErrorMessage="Reminder Date is invalid" Enabled=false ValidationExpression="(((0?[1-9]|1[012])/(0?[1-9]|1\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(19|[2-9]\d)\d{2}|0?2/29/((19|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))" ControlToValidate="txtReminderDate">* mm/dd/yyyy</asp:RegularExpressionValidator></td>

</tr>

</table>

</td>

</tr>

<tr>

<td noWrap align=right >Reminder Date:</td>

<td >

<table>

<tr>

<td><telerik:RadDatePicker ID="rdpReminderDate" Runat="server" enabled="false"

Culture="English (United States)" Skin="Default2006">

<DateInput DateFormat="MM/dd/yyyy" LabelCssClass="radLabelCss_Default2006"

Skin="Default2006">

</DateInput>

<

Calendar UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x"

Skin="Default2006"></Calendar>

</telerik:RadDatePicker></td>

<td><asp:RequiredFieldValidator ID="reqvalReminderDateRDP" runat="server" Enabled="false" ErrorMessage="Reminder Date is required." ControlToValidate="rdpReminderDate">*</asp:RequiredFieldValidator><asp:RegularExpressionValidator ID="regvalReminderDateRDP" runat="server" ErrorMessage="Reminder Date is invalid" Enabled=false ValidationExpression="(((0?[1-9]|1[012])/(0?[1-9]|1\d|2[0-8])|(0?[13456789]|1[012])/(29|30)|(0?[13578]|1[02])/31)/(19|[2-9]\d)\d{2}|0?2/29/((19|[2-9]\d)(0[48]|[2468][048]|[13579][26])|(([2468][048]|[3579][26])00)))" ControlToValidate="rdpReminderDate">* mm/dd/yyyy</asp:RegularExpressionValidator>

</td>

</tr>

Thanks
Jonathan

Maria Ilieva
Telerik team
 answered on 18 Feb 2011
0 answers
71 views
This post, even by my standards, is too dumb to allow intelligent people to read.

I'm sorry if I wasn't quick enough taking it down to prevent offending anyone by demonstrating my general ignorance in a public venue.

-- 
Not very bright of Grantham
Stuart Hemming
Top achievements
Rank 2
 asked on 18 Feb 2011
1 answer
56 views
Hi,
I have  a line graph and i need my x axis to start with 1 instead of 0 and also is it possible to have a grid behind the plot points? Is that possible and how do you that please?
Any help would be great.

Simon Allport
Top achievements
Rank 2
 answered on 18 Feb 2011
1 answer
199 views
Hi

I am trying to achieve the following goal with the RadUpload control:

We have a RadGrid registered on a page, which has the ability to add a file to each row in the grid. Once a file is added to a row a postback occurs and adds the file to that row. The files that we add are not on the parent page but on an iframe using the RadWindow popup (this is where the RadUpload control is declared)

We've been looking at pausing that postback until the user fires the ok event event from our dialog.

Is there a way I can gather a collection of what the user has selected through the RadUpload and then collectively postback all the files in one action.

I have tried to add a text box to the page which holds the fullPath of the files that are trying to be uploaded and then passes these to a hidden RadUpload that fires when the OK button is click however, I have found out about the known limitation in manipulating the value of type input for the upload control.

Regards,
Jonathan
Genady Sergeev
Telerik team
 answered on 18 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?