Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
244 views
I'm trying to plot a series of data on a telerik:RadChart! the chart has 30 items with a data value range from 0 to 30. This works great as in image 1. What I'm trying to achieve is to be able to set the X and Y axis labels in ranges as in image 2, when i try and do this not all the charts are plotted in the plot area of the chart. What I'm trying to achieve is something like image 3 is this possible?
Evgenia
Telerik team
 answered on 14 Oct 2011
4 answers
367 views

How do i bind the concatenated texts of all checked item of the RadComboBox to a field in the SQLDatasource using the selectedvalue property? Am using the ASP.NET AJAX RadControls Q2 2011. 

An example would be very welcome.

Princy
Top achievements
Rank 2
 answered on 14 Oct 2011
0 answers
129 views
Hello,
I have a RadTreeView With a selected node in it ( previously saved)
i want to add code to find the selected node and fire the (OnNodeClick) event for it as if i clicked it by mouse.
Thanks.
Rabih
Top achievements
Rank 1
 asked on 14 Oct 2011
1 answer
108 views
Hi,
is there anyway or documentation to shows me how to set security trim on RADSchedule.
I have a requirement where only admin can update,delete and create new appointment,
Contract Staff can only view
Permanent staff can view, create and delete their own appointment.

can someone point me to any website/document so i can learn how to do this.

thanks.

Regards,
CH
Stuart Hemming
Top achievements
Rank 2
 answered on 14 Oct 2011
1 answer
56 views
Hi,
I have this scenario
an aspx page with masterpage. The masterpage has a combobox control, as that value changes an event is raised.
I catch it this way
   Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
       AddHandler Master.supplierChanged, AddressOf onSupplierChanged
   End Sub
 
Protected Sub onSupplierChanged()
       RadGridNMBacheche.Rebind()
   End Sub

and then on needdatasource fill the datasource with businness object
Protected Sub RadGridNMBacheche_NeedDataSource(ByVal source As Object, ByVal e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RadGridNMBacheche.NeedDataSource
        Try
 
            Dim NM As New NewsManager.CNewsForMyself(myConn)
            Dim myDataset As DataSet = NM.getNewsForMyself_asDataset(OrderMode)
 
            RadGridNMBacheche.DataSource = myDataset
        
        Catch ex As Exception
            Call LogManager.WriteToErrorLog(errorPath, ClassName, System.Reflection.MethodBase.GetCurrentMethod.Name.ToString(), ex, Err())
        End Try
    End Sub


So, as combobox value changes my grid changes as well (myconn changes), unless mydataset (the datasource) is nothing,
in this case grid does not refresh and still shows old records. ajax or not ajax is the same.
Tsvetoslav
Telerik team
 answered on 14 Oct 2011
0 answers
136 views
Hi,

I am using rad combobox and i want to do that when any <HTML> tag insert in combobox after that user go to click GO button than it should become HTML. I am able to do it on simple asp text box but not able to do it on combobox.

Code example:

On TextBox :
  <script type="text/javascript">
        //remove space from log text box
function RemoveSpecialSymbols(id) {
            var objid = document.getElementById(id);
            if (objid)
                objid.value = html2entities(objid.value);
        }

        function html2entities(sometext) {
            var re = /[<>]/g
            //    if (sometext.length > 2500)
            //        sometext = sometext.substr(0, 2500);
            return sometext.replace(re, function (m) { return replacechar(m) })
        }

        function replacechar(match) {
            if (match == "<")
                return ""
            else if (match == ">")
                return ""
        }
  </script>
<asp:TextBox ID="txtEmail" runat="server" TabIndex="1" MaxLength="50" SkinID="RequiredTextBox" onkeydown="javascript:if (event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {RemoveSpecialSymbols(this.id);}};" onblur="RemoveSpecialSymbols(this.id);" ></asp:TextBox>

Same thing i want to do it on RadCombobox....

     <telerik:RadComboBox ID="RCBSearch" runat="server" Width="250px" Height="150px" Text=""
                    ShowToggleImage="false" EmptyMessage="Search by tags, products, business name"
                    EnableLoadOnDemand="true" ShowMoreResultsBox="true" Style="float: left; margin: 0;
                    padding: 0;" EnableVirtualScrolling="true" ShowDropDownOnTextboxClick="false"
                    onkeydown="PressKeyForProfile(this, event)">
                    <WebServiceSettings Method="GetCompanyNames" Path="wsSellWithMe.asmx" />
                </telerik:RadComboBox>

But it is sowing some kind of javascript error...

"Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 500"

Thanks
Manish
Manish
Top achievements
Rank 2
 asked on 14 Oct 2011
1 answer
106 views

hi all
                  I am using radgrid in my application , in that i need to enable the grouping feature, so i set AllowGrouping=true , ShowGroupPanel = true and AllowDragtoGroup = true. It works fine when i try to drag and drop a integer type column(eg:Salary) into the groupPanel but when i drag and drop a string type column(eg: Product Name) it throws an exception like "Could not find the column" or "Could not find the column index -1(Out of Range Exception)".

                  When the column name contains Space in it (eg: Product Name) the exception is like " Cloud not find the Column Product" i.e., it does not read the Name in Product Name.

                  Please tell me how to fix this issue it is very urgent.
 

Thanks in Advance

Tsvetoslav
Telerik team
 answered on 14 Oct 2011
1 answer
108 views
Hi all,

have a simple query! i have a control in the .cs file which is a text and i want to change colour of this however its not picking up foreground or background controls?

Shinu
Top achievements
Rank 2
 answered on 14 Oct 2011
3 answers
95 views
Hi,

I am just wondering, how do I add Hyper Link to  <telerik:RadTickerItem>Breaking News: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt</telerik:RadTickerItem>?

Thank you

Jayesh



Shinu
Top achievements
Rank 2
 answered on 14 Oct 2011
1 answer
51 views
Hello,

I have a radmenu in aspx page and i am adding radsitemap dynamically to radmenuitem.
I am adding radsitemapnodes to radsitemap.
I am using IE9, if i run my application in compatible mode then it works fine.
OR
If i add <meta http-equiv="X-UA-Compatible" content="IE=8" />  in the HEAD section then also it works fine.
In the above two scenarios i was able to see radsitemapnodes with bullets on the left side.
But, if i open my application in normal mode in IE9,then whenever i hover on the menuitem i can see the text of the radsitemapnodes but
the bullets are invisible.
if i click on the menu or if i do some click action on the menu then all bullets are visible .From then i was able to see the bullets in the
Radsitemap.

Does anybody aware of this issue.
Is this the issue with IE9?
Is there any workaround for this?

Please assist.

Thanks,
LV
Shinu
Top achievements
Rank 2
 answered on 14 Oct 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?