Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
127 views

Hi, currently I am using a RadGridView with the batchMangerExtentions.js Library to manage two combo boxes....one combo box effects the other.  Once the user has made their selections and hits save changes I have a foreach loop that will loop through each e.Commands...inside of the loop I am creating a newValues Hashtable....when I look at the newVales hash table all of the values that are listed are making no sense what so ever.  In some cases the value will = "" and in others it will be a negative int.  I know the values are going into the list properly because I have watched the combobox.items.add be populated.  Currently it is being populated with item.Text, item.Value.ToString();  Has anyone else ran into this problem or know something that I am doing wrong?  

 

Ramey

Viktor Tachev
Telerik team
 answered on 23 Feb 2016
2 answers
99 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
238 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
91 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
129 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.3K+ 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
95 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.3K+ 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
192 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
53 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Ambisoft
Top achievements
Rank 2
Iron
Pascal
Top achievements
Rank 2
Iron
Matthew
Top achievements
Rank 1
Sergii
Top achievements
Rank 1
Andrey
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?