Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
92 views

Hi,

Please copy the content from the 100K.txt content and try to paste into the Comments Textbox in the below link.

https://demos.telerik.com/aspnet-ajax/textbox/overview/defaultcs.aspx

Browser is not responding after pasting the content.

Please let me how can we overcome this problem.

 

Thanks

Kesava

kesava pindi
Top achievements
Rank 1
 answered on 23 Feb 2016
1 answer
219 views

I am using Scheduler 4 times in a single page of my application but its header text showing selected day, date and year is hiding behind Day View button. I want to customize text of date in header also want that header text should be changed according to font or font specified by me or Responsively change its location as control has short width. I am attaching image file showing the text. I want that the date text should be in center between tabs.

Wishing to get response immediately 

Magdalena
Telerik team
 answered on 23 Feb 2016
1 answer
78 views
Hi,
Please copy the content from the 100K.txt content and try to paste into the Comments Textbox in the below link.
https://demos.telerik.com/aspnet-ajax/textbox/overview/defaultcs.aspx
Browser is not responding after pasting the content.
Please let me how can we overcome this problem.

Thanks
Kesava
Vessy
Telerik team
 answered on 23 Feb 2016
2 answers
125 views
Our page uses a Telerik Radgrid with pagesize=”50” to display a Checklist with two checkboxes in each row. Client side binding is being used in order to assign data for the grid.
If the data has ‘n’ checklist items, ‘n’ rows with data is created and visible on the grid and the remaining ’50-n’ empty rows will be created but with inline style “display:none” and not visible on the grid.
This works fine in both the browsers IE11 and Chrome when code is hosted in local IIS or deployed in windows 2008 server.

But, when the code is deployed in windows 2012 server, only in IE11, all the empty rows are visible. Please find attached snapshot.
(only checkboxes are visible because data is not available for other columns).

When we inspect the element(empty row - <tr>), we can see display:none property being applied for the <tr> but the row is still visible on the screen.
Viktor Tachev
Telerik team
 answered on 23 Feb 2016
3 answers
1.2K+ views
Hi,
I am using a rad date picker control in my web application. Now, i want user to enter date using keyboard, via calendar of date picker.

So, user press TAB key to reach input box , then another TAB to reach date picker button, press ENTER key to open calendar.

Now i want that this ENTER to bring focus over calendar control. So that next tab moves within calendar dates and navigation ctrls.

Then i move out of calendar either by pressing ESC key or by selecting a date. And this should bring the tabbing focus back to either date input area or calendar button. I have handled this moving out part by writing javascript on OnPopupclosing.

<radCln:RadDatePicker ID="RadDateOfEvent" runat="server" Width="90px" TabIndex="2"Style="z-index: 104;">
    <ClientEvents OnPopupClosing="onDateTimeSelected" />
    <DateInput TabIndex="2"></DateInput>
    
<Calendar TabIndex="2" AccessKey="Q"></Calendar>
</radCln:RadDatePicker>

If there could be a client event like OnPopUpOpened , then also i can write a javascript to move focus to calendar pop up. But we only have OnPopupOpening and this doesn't work as we can't move focus before the control is displayed.

Eyup
Telerik team
 answered on 23 Feb 2016
1 answer
88 views

Hi Team,

 

i am using a Radgrid on a page with multiple template columns, I have a hyper link , a textbox and a combobox. I click on link opens a popup and I select a value and submit it on parent page, save the selected value in grid' template textbox.

And based on textbox value I bind the the combo box.

But when I submit the page and do postback, the Textbox lose its data. and not able to bind combobox.

Can anybody help me on this.

~

Sandeep

 

Eyup
Telerik team
 answered on 23 Feb 2016
3 answers
1.2K+ views
Hi.

I'm trying to style my RadGrid, but for some strange reason, only about half the styling is working correctly. Could you guys tell me what I'm doing wrong?

For the header of the grid, I want to make these changes:
Change the font color (works)
Change the background color (doesn't work)
Make the header text bold (doesn't work)
Change the color of the border around the header cells (doesn't work)

For the rows of the grid, I want to make these changes:
Change the background color of a cell based on its value (works)
Change the row background color (works)
Change the color and style of the border around the row cells (doesn't work)

Also, with this theme (MetroTouch), the grid only has a border (bottom, right and left, nothing on top) on every other row and it disappears on mouseover of that row. I want these lines to always be visible.

Private Sub rgProjects_ItemCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgProjects.ItemCreated
    If TypeOf e.Item Is GridHeaderItem Then
        Dim headerItem As GridHeaderItem = CType(e.Item, GridHeaderItem)
 
        headerItem.ForeColor = System.Drawing.Color.FromArgb(226, 233, 243)
 
        headerItem.BackColor = System.Drawing.Color.FromArgb(0, 82, 136)
        headerItem.Font.Bold = True
        headerItem.BorderColor = System.Drawing.Color.FromArgb(183, 198, 203)
    End If
End Sub
 
Private Sub rgProjects_ItemDataBound(ByVal sender As Object, ByVal e As Telerik.Web.UI.GridItemEventArgs) Handles rgProjects.ItemDataBound
    If TypeOf e.Item Is GridDataItem Then
        Dim dataItem As GridDataItem = CType(e.Item, GridDataItem)
        'dataItem.Font.Bold = True
 
        Dim myCell As TableCell = dataItem("DCounter")
 
        If myCell.Text.StartsWith("-") Then
            myCell.BackColor = System.Drawing.Color.Red
        End If
 
        If dataItem.ItemIndex Mod 2 = 0 Then
            dataItem.BackColor = System.Drawing.Color.FromArgb(226, 233, 243)
            dataItem.BorderColor = System.Drawing.Color.FromArgb(183, 198, 203)
            dataItem.BorderStyle = BorderStyle.Solid
        Else
            dataItem.BackColor = System.Drawing.Color.White
            dataItem.BorderColor = System.Drawing.Color.FromArgb(183, 198, 203)
            dataItem.BorderStyle = BorderStyle.Solid
        End If
    End If
End Sub

Any help would be greatly appreciated. :)
Eyup
Telerik team
 answered on 23 Feb 2016
1 answer
183 views

Hi,

I have a radgrid which groups data according to Name. So, John will have all his data displayed and then greg and so on. But when I use to export to excel, it always exports the last group.

Any ideas on this would be helpful. 

I was also not able to find any demos for exporting grouped data.

 

I have used the following export settings:

           string alternateText = "ExcelML";
            this.radGridBusinessGoalList.ExportSettings.Excel.Format =               (Telerik.Web.UI.GridExcelExportFormat)Enum.Parse(typeof(Telerik.Web.UI.GridExcelExportFormat), alternateText);
            this.radGridBusinessGoalList.ExportSettings.ExportOnlyData = true;
            this.radGridBusinessGoalList.ExportSettings.IgnorePaging = true;
            this.radGridBusinessGoalList.ExportSettings.OpenInNewWindow = true;

 

Thanks,

TM

Eyup
Telerik team
 answered on 23 Feb 2016
0 answers
46 views

Hi,

In order to avoid loading any period of the appointments, Is there a way to call the appointments on the Scheduler whichever day-week-month you are at now on Scheduler and it gets reloaded once you navigate through another  

This is for the / real-time database communication.

thank you

Mehmet
Top achievements
Rank 1
 asked on 23 Feb 2016
8 answers
186 views

I built an application for a client last year based on the webforms scheduler control, which they were very happy with, except for its speed, which was quite honestly dreadful. I looked at all the suggestions I could find on this forum and in your documentation regarding improving performance and implemented anything applicable. However, it still takes upwards of 2 & 1/2 minutes to load the scheduler page with 128 appointments over 4 days. They will only hire the application again this year if I can speed it up very significantly.

My implementation included binding to a custom provider and using the advanced form. It also required a single resource type for rooms, and 2 multiple resource types of meeting leaders and meeting participants. Eventually, there were 4 rooms, approximately 30 meeting leaders and 4,000 meeting participants. Because it looked to me as if the provider was loading all 4,000 meeting participants as a resource for each appointment, I adapted it to load only those attached to existing appointments (reducing the number to approximately 128), replacing the resource combobox for that in the advanced form with a search box, so that new participants could be added. Even that didn't significantly improve the speed.

I read that binding to Web API might improve things, but when I tried implementing that, it appeared that I couldn't call the overridden GetAppointments method from my custom provider. Would it be feasible to override the WebServiceAppointmentController class in a similar way to creating a custom provider?

I doubt anyway that using client-side binding via Web API is going to improve its performance significantly. I got the impression from using the provider methods elsewhere in my application, even when not directly attached to the scheduler control, that it was that slowing things down.  Is it possible that re-writing in MVC and using the MVC scheduler might solve the problem, or does that draw on the same provider? At present, barring that, all I can think to do is search for a more efficient scheduler control from a third-party vendor other than Telerik or start something from scratch myself.

Mehmet
Top achievements
Rank 1
 answered on 23 Feb 2016
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?