Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
257 views
Hi Telerik,

I have a radtextbox, a required field validator and a radbutton on a page.

If I try clicking the radbutton with nothing in the textbox, the validator works and stops the page from posting.

If I then enter something in the text box and submit, it works as expected. I then (in codebehind) clear the text box.

Now, with the empty textbox, I click the button again, it actually does a postback and the postback has to handle the validation, which is not correct. The validator is not firing.

I have put a sample code zip file at http://www.revilloc.com/validate-problem.zip showing the issue. I am using telerik version 2013.1.403.40

Thank you.
David.
Marin Bratanov
Telerik team
 answered on 25 Apr 2013
0 answers
40 views
I am using radmenu from a sitemap data source in my application.Everything works fine in using a resoource files from  CHUS.en-US and CHUS.en-fr as my application is bilingual.I assign all controls like {txt:home} in the application interface and
<data name="txt:home" xml:space="preserve">
    <value>Home</value>
  </data>
in the global resource files.
Radmenu items display {txt:home}  than the right one as Home.
Any help?
yishagerew
Top achievements
Rank 1
 asked on 25 Apr 2013
1 answer
212 views
Hi, I have  a RadFileExplorer. I use CustomColumnsContentProvider to load the Treeview but when I use UNC path, base.ResolveRootDirectoryAsTree(path) shows error "Failed to map the path '\\SampleServer\FolderName'"

Here is my Code:

web.config:

<add key="UNCPath" value="\\SampleServer\\FolderName"  />

aspx.cs:

RadFileExplorer1.Configuration.ViewPaths = new string[] { ConfigurationManager.AppSettings["UNCPath"] };


CustomColumnsContentProvider:

 public override DirectoryItem ResolveRootDirectoryAsTree(string path)
 {
     DirectoryItem originalFolder =
base.ResolveRootDirectoryAsTree(path);


Shows error on this part:

     DirectoryItem originalFolder = base.ResolveRootDirectoryAsTree(path);

How can I access UNC in ResolveRootDIrectory?
Vessy
Telerik team
 answered on 25 Apr 2013
3 answers
201 views
Hi,

Is there a way to change the color of a series based on a condition? For eg: I am plotting a line chart with a series with values between 0 and 200.Is there a way to change the color of the series if it goes past 100?

Thanks,
Sri
Petar Kirov
Telerik team
 answered on 25 Apr 2013
3 answers
108 views
We have recently upgraded from version 2008 to 2012 and now it start showing following error: 

Microsoft JScript runtime error: Unable to get value of the property 'ajaxRequestWithTarget': object is null or undefined


it is happening at the following line :
<%= radajaxpanel.ClientID %>.ajaxRequestWithTarget('<%= radajaxpanel.UniqueID %>', eventArgs.get_item().get_value())

Is it because ajaxRequestWithTarget is no longer supported by radAjaxPanel ? Thanks in advance. 


Regards


Maria Ilieva
Telerik team
 answered on 25 Apr 2013
1 answer
101 views
Hi

When I used trial version of the telerik libraries it worked good.
But when we I moved project to the bought libraries I got the problem with RadCombo in the RadGrid(RadCombo content is not showing properly). This problem just occured in the IE.
As far as I understood there is a broblem with colculating of the top position of the div with "rcbSlide" class.

somebody can help me?

Thanks
Dmitry

please see attached files.
Plamen
Telerik team
 answered on 25 Apr 2013
13 answers
546 views
I've been able to add a custom attribute to the advance form and works fine. However, instead of a textbox I would like to be able to show a checkbox to hold the boolean value. How can I go about making this custom attribute a checkbox?

Thanks
Plamen
Telerik team
 answered on 25 Apr 2013
1 answer
238 views
Hi,

I am trying to use Expand / Collapse feature of Org Chart control. My data source not necessarily have absolute hierarchy as shown in example ( Record with id 1 and 7 doesn't have manager id).

My data binds with the control perfectly, but the expand / collapse feature doesn't work.

Protected Sub Test_TestOrgChart_Load(sender As Object, e As System.EventArgs) Handles Me.Load
        BindOrgChart()
    End Sub
 
    Private Sub BindOrgChart(Optional ByVal ExpandAll As Boolean = True)
 
        Dim employees = CreateEmployees()
 
        RadOrgChartEmployees.DataFieldID = "EmployeeID"
        RadOrgChartEmployees.DataTextField = "EmployeeName"
        RadOrgChartEmployees.DataFieldParentID = "ManagerID"
        RadOrgChartEmployees.DataSource = employees
 
        RadOrgChartEmployees.DataBind()
 
 
        If ExpandAll Then
            RadOrgChartEmployees.ExpandAllNodes()
        Else
            RadOrgChartEmployees.CollapseAllNodes()
        End If
    End Sub
 
    Private Function CreateEmployees() As DataTable
        Dim employees = New DataTable()
 
        employees.Columns.Add("EmployeeID")
        employees.Columns.Add("ManagerID")
        employees.Columns.Add("EmployeeName")
        employees.Columns.Add("JobTitle")
 
        employees.Rows.Add(New String() {"1", Nothing, "Emp CEO", "CE0"})
        employees.Rows.Add(New String() {"2", "1", "Emp President BSS", "President BSS"})
        employees.Rows.Add(New String() {"3", "1", "Emp COO", "COO"})
        employees.Rows.Add(New String() {"4", "2", "Emp VP ST", "VP Software Tech"})
        employees.Rows.Add(New String() {"5", "2", "EMP Director SD", "Director Software Development"})
        employees.Rows.Add(New String() {"6", "5", "EMP Developer", "Developer"})
 
        employees.Rows.Add(New String() {"7", Nothing, "EMP CFO", "CFO"})
        employees.Rows.Add(New String() {"8", "7", "EMP President IT", "President IT"})
 
        Return employees
 
    End Function
Plamen
Telerik team
 answered on 25 Apr 2013
1 answer
199 views
I have a radlistbox having an item template .I want to bind it with JSON data  when
 user types some value in name textbox so as to behave it like search result listing in client side.
Here is my code


<telerik:RadListBox
ID="rlbControl" runat="server" SelectionMode="Multiple"> <ItemTemplate> <table> <tr> <td> <asp:Label ID="lblName" runat="server" Text='<%# Eval("Name") %>' ></asp:Label> </td> <td style="width:20px"></td> <td > <asp:Label ID="lblAge" runat="server" Text='<%# Eval("Age") %>' ></asp:Label> </td> </tr> </table> </ItemTemplate> </telerik:RadListBox>
Name : <asp:TextBox ID="txtName" runat="server"></asp:TextBox>
Age : <asp:TextBox ID="txtAge" runat="server" ></asp:TextBox>
Nencho
Telerik team
 answered on 25 Apr 2013
2 answers
115 views
Hello Telerik Team,

we have been using Telerik Chart for a while now.

In .cs page we have 

RadChart3.Legend.Items[i].ActiveRegion.Tooltip= "blah blah";

I want to increase the autoclosedelay for this tooltip box.It closes after a while but i want to display the tooltip either for more time or have a close button so that user can close it.

Remember that this is the Legend ActiveRegion Tooltip and not the ToolTip Manager.

Any suggestion from telerik team???

Petar Marchev
Telerik team
 answered on 25 Apr 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?