Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
83 views
  Sir,
                I have a grid ,contains 5 ckeckbox template columns , any check box is clicked 6th check box  value is changed in clientside.
Pls help me . we are telerick customer.
          By Seban.
 
Jayesh Goyani
Top achievements
Rank 2
 answered on 24 Sep 2012
1 answer
58 views
Hello
I've a listview,
The datasource is a dataset builded like that:

Dim dataSet As DataSet = New DataSet
Dim dtPart As DataTable = New DataTable("Products")
dtPart.Columns.Add("id", Type.GetType("System.String"))
dtPart.Columns.Add("name", Type.GetType("System.String"))
dtPart.Columns.Add("brand", Type.GetType("System.String"))
dtPart.Columns.Add("price", Type.GetType("System.Double"))


then I ve a method to sort it by price:

Protected Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
        Dim expression As New RadListViewSortExpression()
        listview .SortExpressions.Clear()
        expression.FieldName = "price"
        expression.SortOrder = RadListViewSortOrder.Ascending
        listview.SortExpressions.AddSortExpression(expression)
        listview .Rebind()

End Sub

My issue is it sort by price considering the column as string. For instance:

30 will be greater than 200

How can I tell the sortexpressions that it sort decimals?

Thanx 
Andrey
Telerik team
 answered on 24 Sep 2012
5 answers
104 views
On our site we have javascript that uses the ScrollIntoView(), but when the RadEditor loads, after ScrollIntoView has been called and the screen is in the correct place, it scrolls the user back up to the RadWindow.
Is there any way to disable the RadEditor from scrolling the screen back up?
Or is there a way I can call our scroll code again once the RadEditor has loaded?
Thanks,
Edward
Rumen
Telerik team
 answered on 24 Sep 2012
1 answer
206 views

Hi,

  we are trying to bind the recurrence rule from javascript.

Upon saving , we are taking the recurrence rule from javascript and saving it to database. On taking the recurrence rule it is shown as "DTSTART:20120927T000000Z  DTEND:20120927T000000Z  RRULE:FREQ=WEEKLY;UNTIL=20120928T000000Z;INTERVAL=1;BYDAY=WE,SU;WKST=".
We are saving this value in db.

After that on the client form created we are taking the appointment details corresponding to this appointment id using one service call and we are getting the values in javascript.

After that we are trying to bind this value to controls.

So for binding recurrence rule we are using the below given code.

var rrule = Telerik.Web.UI.RecurrenceRule.parse(apt1.get_recurrenceRule());    
var editor = $find("<%=AppointmentRecurrenceEditor.ClientID%>");
editor.set_recurrenceRule(rrule);
 Here recurrence is not binding when we alerted the value of "rrule" it is shown as "null"

After that we tried like setting the rule as such in set method like

var editor = $find("<%=AppointmentRecurrenceEditor.ClientID%>");
editor.set_recurrenceRule("DTSTART:20120927T000000Z  DTEND:20120927T000000Z  RRULE:FREQ=WEEKLY;UNTIL=20120928T000000Z;INTERVAL=1;BYDAY=WE,SU;WKST=");

In this case we are getting an error like "TypeError: i.get_pattern is not a function".

Please advice us on how to proceed in this case..


Thanks.


Boyan Dimitrov
Telerik team
 answered on 24 Sep 2012
1 answer
58 views
I have asp.net 4.0 MVC (ASPX) application using the RadGrid. I created an EnityDataSource which populates the Grid  just fine when the aspx page loads. The pager at the bottom of the grid gets set up wonderful with total pages, page numbers etc and so forth.

When I click on Page "2" the grid just refreshes with the intial load ( the first page of results).  As I understand, paging is done on database level. Okay fine. For the life of me, I don't know how, where or if I need to pass the current page, the "next page number" and whatever else to get the paging to work proplerly.  
Andrey
Telerik team
 answered on 24 Sep 2012
4 answers
75 views
Hello,
I have installed the RADeditor for sharepoint 2010 and have activated the 3 functions in site features. The issue is when editing I am not seeing the full editor that I was looking for. Unless I am doing something wrong, we cannot format code blocks or use any of the other many functions. I have attached what I am seeing. Is there another install needed or something that needs to be done manually? Please let me know.

FYI I installed the SharePoint 2010 web parts msi from http://www.telerik.com/account/your-products/trial-product-versions/trial-single-download.aspx?pmvid=2940&pid=561


Thanks!
Rumen
Telerik team
 answered on 24 Sep 2012
1 answer
802 views
I'm using this code. I want to show only date part. But it is stored as date time in db?How can we apply formatting when using eval
<telerik:GridTemplateColumn>
                  <ItemTemplate>
                  <asp:Label ID="Label1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "Date of Arrival")%>'></asp:Label>
   </ItemTemplate>
                  </telerik:GridTemplateColumn>
Shinu
Top achievements
Rank 2
 answered on 24 Sep 2012
1 answer
85 views
Hi there,

I was wondering if it is possible to create a Custom RadFilterDataFieldEditor that would allow you to just enter a number, like say -10 or 15 and that would work like a datediff function in sql.  So it would filter on a particluar date field where that date value is between today, and -10 days say.

I want to know if it exists, and if not, is it possible?


Thanks in advance!
Neil
Tsvetina
Telerik team
 answered on 24 Sep 2012
1 answer
359 views
Hi,

I have written code in a C-sharp for add the control "RadDatepicker" to my webpage.

When this control have been rendered I found it have gap between the input area and Calendar popup button.
When I looking on the HTML result and I found the Input area have been assigned the style-sheet follow below.

<td class="rcInputCell" style="width:100%;padding-right:4px;">

What should i do for remove "padding-right" from inline style sheet.

Best Regards,
Mr.Wanlop 
Maria Ilieva
Telerik team
 answered on 24 Sep 2012
1 answer
90 views
Hi,

I've created a client-side bound listview which gets its data from a web services. Currently as I understand it's possible to pass only 4 parameters to the web service (StartRowIndexParameter, MaximumRowsParameter, FilterParameter, SortParameter).
Because I need to pass additional parameters I'm using the FilterParameter where I put these into by a concatenated string.
Is there an option to set the FilterParameter initially? Or how can I pass additional parameters to the web service in a better way?

Best regards
Rayko
Tsvetina
Telerik team
 answered on 24 Sep 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?