Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
114 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
83 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
431 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
36 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
45 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
167 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
1 answer
661 views

I have asp.net application user all telerick control. The master page has few .ascx (controls) like header/footer...etc
I have one more (lets say ThirdControl.ascx file which I wanted to load after completion of the master page load. For better user experience (to minimize the page load time) I want to capture the event where master page load finishes it loading completely.

After I get this event (i,e page load complete) I want to load my ThirdControl.ascx asynchronously.


Are there any work around are suggestions? Please help me.

Thanks
Ramana

Maria Ilieva
Telerik team
 answered on 18 Feb 2011
1 answer
36 views
Hello, 
    I found that adding a control to page by js can not be decorated dynamically, it still was original style.Is there any client side method of RadDecorator can be used to act on the new added controls, such as refresh or redecorate or some others. Thanks.
Georgi Tunev
Telerik team
 answered on 18 Feb 2011
3 answers
132 views
Hi, our team is facing some trouble when the height of a row is bigger than the default height.

The problem seems to appear only  when the Alternating-Item of  the grid is selected or with mouse-over. (If the item has a height bigger than the default)

Here's a pic showing what i'm saying:

Row Selection:
http://i.imgur.com/4x1lz.jpg

Mouse-Over:
http://i.imgur.com/uOLZ9.jpg

As you can see there is some blank space in the bottom of the row without selection, i would appreciate a solutio, thanks.

I'm running under:

Visual Studio 2010.
.Net Framework: 4.0
Telerik.Web.UI: 2010.3.1109.40
Murilo
Top achievements
Rank 1
 answered on 18 Feb 2011
4 answers
151 views
Hi, i'm having some kind of trouble while i try to use the Checked property of RadTreeNode, i want to use this property but i don't want to show the checkbox to my user.

This is how my code looks like:

<telerik:RadTreeView OnClientNodeClicked="ClientNodeClicked" CheckBoxes="false"runat="Server" ID="tvwMenuItens"></telerik:RadTreeView>

I tried to set CheckBoxes to true and it worked but i don't want my users to see the checkbox.

Here's how i'm changing the Checked property:

function ClientNodeClicked(sender, eventArgs) {
              var node = eventArgs.get_node();
              var toolBar = $find('<%= tlbSecurityProfile.ClientID %>');
              var saveButton = toolBar.findItemByValue('Save');
 
              if (node.get_text() != null && node.get_text() != '') {
                  if (node.get_value() != null && node.get_value() != '') {
                      if (saveButton.get_enabled()) {
                          if (node.get_checked()) {
                              node.set_checked(false);
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                          }
                          else {
                              node.set_checked(true);
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                          }
                      }
                  }
              }
          }

I also tried to user Node.Attributes but unfortunately when i tried to get the values from Attributes at server side they were exactly the same as they were in the time of the databind.

Here's how i changed the Attributes from the node:

function ClientNodeClicked(sender, eventArgs) {
              var node = eventArgs.get_node();
              var toolBar = $find('<%= tlbSecurityProfile.ClientID %>');
              var saveButton = toolBar.findItemByValue('Save');
 
              if (node.get_text() != null && node.get_text() != '') {
                  if (node.get_value() != null && node.get_value() != '') {
                      if (saveButton.get_enabled()) {
                          var attributes = node.get_attributes();
 
                          if (attributes.getAttribute("Checked") == "true") {
                              attributes.setAttribute("Checked", "false");
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_No_Access.png") %>');
                          }
                          else {
                              attributes.setAttribute("Checked", "true");
                              node.set_imageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                              node.set_selectedImageUrl('<%=Page.ResolveUrl("~/Images/TreeView/TreeView_Has_Access.png") %>');
                          }
                  }
              }
          }


That's all, thanks
Murilo
Top achievements
Rank 1
 answered on 18 Feb 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?