Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
141 views
Web Application using 2013.1.417.45

We have a multi-line RadTextBox on a page.  We have the maxlength set to 250.

Javascript appears to treat carriage returns as 1 character vs. 2 characters in .NET.   With 1 carriage return, .Net sees 251 characters when the box is completely filled.  

Is there an option for RadTextBox to have carriage returns treated the same way as .NET?

OR

Is there a way to override the TEXT property globally for RadTextBox, and force a Left by the maxlength?
-->  I would rather not have to create a control that inherits from the RadTextBox.

Any ideas?
Peter
Top achievements
Rank 1
 answered on 22 Aug 2013
1 answer
144 views
Hi,
I am trying to create an hierarchical grid were the child table's column are aligned with the parent columns.
Does anyone knows a way to do it with RadGrid? any help would be appreciated. I have attached a screenshot of what I'm trying to achieve.Thanks, Eyal.
Note: the first column of the the parent table should not be visible in the child table but both the parent and child tables should have a select (radio button) column.
Venelin
Telerik team
 answered on 22 Aug 2013
3 answers
130 views
hello sir
I am using class in my web application
I want to show errors in Radalert
I have used following code but it does not work
it gives error as "Object reference not set to instance of an object"
please help
   
         Try
        
           Dim Rad As New RadWindowManager
           Dim newWindow As New RadWindow
           newWindow.VisibleOnPageLoad = True
           Rad.Windows.Add(newWindow)
 
       Catch ex As Exception
           Rad.RadAlert(ex.Message, 330, 100, "Error", "")
       End Try
Shinu
Top achievements
Rank 2
 answered on 22 Aug 2013
3 answers
511 views
We have a radFilter control linked to a radgrid.
The user selected various filters and etc.. Applies them to the grid.
Now the user opens a radwindow to perform certain task on that result set from the radgrid.

In this modal there is an additional option to filter the radgrids data further (the rad grid does not post back and etc..)
The user selects what extra filter option they want from a radCombo.. ON the blur even I now need to add the selected option to the filter and update a DIV that shows a count of the number of records to be changed by this selection.. 

How do I add a filter from Javascript?

From the documentation it looks like I should be able to do this, but I an not seeing a clear example...
Angel Petrov
Telerik team
 answered on 22 Aug 2013
3 answers
66 views
I have set the recurrence at runtime to weekly, every one week, on Friday. Another control in my custom edit form causes a postback. Upon return from that postback, Saturday will also be selected. I tried many other combinations of weekly recurrence, all with the same result. If I choose a different recurrence frequency, everything works just fine.

Thanks,
Kerry
Plamen
Telerik team
 answered on 22 Aug 2013
2 answers
427 views
I need set VirtualItemCount after get the list of object.
Where I can set this?

I try in needSource and PageLoad event but does not work.

thanks
July
Top achievements
Rank 2
 answered on 22 Aug 2013
2 answers
100 views
Hello All,
I am using 2011.2.712.40 Telerik Product Version. The Code snippet for the Amount Field in Telerik Grid is as:

<telerik:GridBoundColumn FilterControlWidth="80%" DataField="requested_amount" HeaderText="Requested Amount"
                            SortExpression="requested_amount" UniqueName="requested_amount" ShowFilterIcon="true" DataFormatString="{0:c2}">
 </telerik:GridBoundColumn>
 <telerik:GridBoundColumn FilterControlWidth="80%" DataField="approved_amount" HeaderText="Approved Amount"
                            SortExpression="approved_amount" UniqueName="approved_amount" ShowFilterIcon="true" DataFormatString="{0:c2}">
</telerik:GridBoundColumn>

I am facing some issue when I try to enter some filter value for amount like '.05'. It is working fine if filter value starts with some numeric value.
So, it would be better if I make the Filter value form .05 to 0.05 before the Focus is lost and filter criteria is selected.
Please provide me a solution for the Issue which can be compatible with all browsers.
Also, please refer the Telerik Grid UI attached.

http://screencast.com/t/bvHEUFgJ

Thanks,
Saurabh
Saurabh
Top achievements
Rank 1
 answered on 22 Aug 2013
4 answers
244 views
Out of all the columns present in my grid, I have four columns which hold date values. I want to filter the grid according to the date, so I have wriiten the following code

                    <telerik:GridBoundColumn UniqueName="OrderDate" DataField="OrderDate" HeaderText="Ordered on"
                        CurrentFilterFunction="EqualTo" DataType="System.DateTime" ShowFilterIcon="False"
                        AutoPostBackOnFilter="True" DataFormatString="{0:MM/dd/yy}">
                        <ItemStyle HorizontalAlign="Right" />
                        <HeaderStyle HorizontalAlign="Right" Width="65px" />
                    </telerik:GridBoundColumn>

                    <telerik:GridBoundColumn UniqueName="ScheduledShipDate" DataField="ScheduledShipDate"
                        HeaderText="Ship By" CurrentFilterFunction="EqualTo" DataType="System.DateTime"
                        ShowFilterIcon="False" AutoPostBackOnFilter="True" DataFormatString="{0:MM/dd/yy}">
                        <ItemStyle HorizontalAlign="Right" />
                        <HeaderStyle HorizontalAlign="Right" Width="65px" />
                    </telerik:GridBoundColumn>

                    <telerik:GridBoundColumn UniqueName="Deliveron" DataField="ScheduledDeliveryDate"
                        HeaderText="Deliver on" CurrentFilterFunction="EqualTo" DataType="System.DateTime"
                        ShowFilterIcon="False" AutoPostBackOnFilter="True" DataFormatString="{0:MM/dd/yy}">
                        <ItemStyle HorizontalAlign="Right" />
                        <HeaderStyle HorizontalAlign="Right" Width="65px" />
                    </telerik:GridBoundColumn>

                    <telerik:GridBoundColumn UniqueName="ActualShip" DataField="ActualShipDate" DataFormatString="{0:MM/dd/yy}"
                        HeaderText="Actual Ship" CurrentFilterFunction="EqualTo" DataType="System.DateTime"
                        ShowFilterIcon="False" AutoPostBackOnFilter="True">
                        <ItemStyle HorizontalAlign="Right" />
                        <HeaderStyle HorizontalAlign="Right" Width="65px" />
                    </telerik:GridBoundColumn>

Out of the four columns the last three are working perfectly but the first one is not filtering, but it has the same set of attributes written as that of the other columns.

Please help me out.
B
Top achievements
Rank 1
 answered on 22 Aug 2013
1 answer
75 views
Utilizing the Mega Menu demo (http://demos.telerik.com/aspnet-ajax/menu/examples/megadropdown/defaultcs.aspx) I get the display showing as shown in the attached. I have the DefaultCS.aspx and the styles.css copied exactly from the site and have copied the images into the Img directory.

I have the latest version of the RadMenu and this is an ASP.Net 4.5 site. I have tested under IE, Chrome and Firefox with each producing the exact same results.

I am certain I am missing something simple.


Kate
Telerik team
 answered on 22 Aug 2013
13 answers
403 views
I downloaded the beta version of the new Telerik Web Parts, hoping to experiment with using the RadGrid part in our SharePoint Foundation 2010-based portal.

Unfortunately, the install failed because SharePoint Server 2010 (MOSS) was not present.  Apparently, the Telerik web parts only work with MOSS, not Foundation.

Why the restriction?  I'd love to be able to use the RadGrid web part for the bulk of our list-based work, leaving more development time available for integrating other Telerik controls into custom web parts that we develop.  As a company providing tools for developers hoping to extend the Microsoft base portal environment, why would Telerik make it harder for developers to easily instrument applications with Telerik UI components?
Tsvetoslav
Telerik team
 answered on 22 Aug 2013
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?