Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
163 views
Hi team:
    I need some help. I tried to configure the edtior so it will show the html tag in design view in FULL HTML page edit.
same as this page: http://demos.telerik.com/aspnet-ajax/editor/examples/completehtmlsupport/defaultcs.aspx. But the html code always converted in design view. What did I miss?

Cheers
Rumen
Telerik team
 answered on 01 May 2013
4 answers
400 views
Hi All,

I have some controls like textbox,button,combobox inside radwindow.
 I want to read those controls value using javascript.
Please help me in solving this.
Rumen
Telerik team
 answered on 01 May 2013
13 answers
441 views
If you have a combo box on a page that scrolls, it doesn't display properly in chrome. Check out this image I attached to see what I mean.
Ivan Zhekov
Telerik team
 answered on 01 May 2013
3 answers
176 views
Is there an upper limit on how many columns a table may have for it to be successfully exported to CSV or Word format?  I am hitting a bug when my table has 240 columns and I'm trying to export to CSV: this seems like a suspiciously round number but it may be coincidence.  I also hit errors when exporting to Word with far fewer columns, although I am modifying the ExportOutput property quite extensively (to add styling etc.) in this case, so I have presumed the error was a result of my modifications.
Kostadin
Telerik team
 answered on 01 May 2013
1 answer
183 views

How would I got about finding controls in the Insert Item template without using the Item Databound Event? I want to be able to find the controls within a radio button list _SelectedIndexChanged event. I was able to do this with controls inside the EditTemplate:

Protected Sub rblEdit_SelectedIndexChanged(sender As Object, e As EventArgs)
     
       For Each item As GridItem In RadGrid1.MasterTableView.Items
           If item.Edit Then
               Dim editItem As GridEditFormItem = DirectCast(RadGrid1.MasterTableView.GetItems(GridItemType.EditFormItem(item.ItemIndex), GridEditFormItem)
               Dim DDList As DropDownList = DirectCast(editItem.FindControl("ddlEdit"), DropDownList)
               Dim RBLEdit As RadioButtonList = DirectCast(editItem.FindControl("rblEdit"), RadioButtonList)
               Dim bTextBox As TextBox = DirectCast(editItem.FindControl("BTextbox"), TextBox)
               Dim LBLPercent As Label = DirectCast(editItem.FindControl("lblPercent"), Label)
               If RBLEdit.SelectedValue = "No" Then
                   DDList.Visible = False
                   LBLPercent.Visible = False
                   bTextBox.ForeColor = Drawing.Color.DarkRed
               ElseIf RBLEdit.SelectedValue = "Yes" Then
                   bTextBox.ForeColor = Drawing.Color.Green
                   DDList.Visible = True
                   LBLPercent.Visible = True
               End If
 
           End If
 
       Next
 
   End Sub
Jayesh Goyani
Top achievements
Rank 2
 answered on 01 May 2013
3 answers
132 views
Hi,

Currently, I don't know how to get the Grid at client site for the case below

1. I have a user control which contains a RadGrid control inside
2. I don't load this user control at the first time load of the page
3. When user clicks on the "Load" button, I will call back to the server via Ajax to render the content of the User Control above and set this data to the DIV element

Now, I can show entire content of that user control to the screen however I don't know how to get the Grid object inside that user control.

It always returns NULL when I use: var grid = $find(radGridClientId);

So my question is How can I get back the Grid in that case?

Any helps is appreciated,
Thanks,
Dan
Maria Ilieva
Telerik team
 answered on 01 May 2013
3 answers
83 views
When using a RadButton with icons, when the mouse is over the icon, it should display the PrimaryHoveredIconURL.  Then when you move the mouse off of the icon it should change to the PrimaryIconURL.  

This works fine in most cases.  However if you have a client event on the button - OnClientClicked - that launches a RadAlert, when you move the mouse off the button to close the RadAlert, the icon does not change back to the PrimaryIconURL.  So you are left with an icon that appears to be hovered. It 'fixes itself' once you move the mouse back over the icon and off it again.

An interesting not is that if you use a JavaScript alert instead of the RadAlert, it works as expected and the PrimaryIconURL is displayed.  Both RadAlert and RadWindow have the same issue.  Is there any way around this?

<telerik:RadButton runat="server" ID="btnAdvertiserSearch" AutoPostBack="false"
     Skin="Metro" OnClientClicked="openAlert">
     <Icon PrimaryIconUrl="~/resources/images/ui-icon-search.png"
         PrimaryHoveredIconUrl="~/resources/images/ui-icon-search_hover.png" />
 </telerik:RadButton>

function openAlert(sender, args)
{
    radalert('a', null, null, 'b', null);
}
Bozhidar
Telerik team
 answered on 01 May 2013
1 answer
103 views
When I resize startTime of appointment it works but when I re-size endTime of appointment it does not work.
Current Time is 11:00 to 11:30. When I re-size startTime to 9:00 it works. Now Time is 9:00 to 11:30. But when I resize endTime to 14:00 e.ModifiecdAppointment still is 11:30!
Plamen
Telerik team
 answered on 01 May 2013
1 answer
116 views
Hello Telerik,

My Apologies, the thread title should read:

Dynamic GridBoundColumn Width During Development Time Renders Differently When Deployed To Web Server

I'm at a loss here. I have a static RadGrid "rgEventQuery". I successfully create the columns for this RadGrid dynamically and I also dynamically change the width of any of these columns. What I can't understand is why the width of these dynamic columns appears different when the grid is displayed during development time than when it is deployed to the web server.

The property I'm changing is the HeaderStyle.Width property. Below are some code snippets: 

fld = "DEPARTMENT"
fldWidth = "55:T"
gbc =
New GridBoundColumn
gbc.DataField = fld
rgEventQuery.MasterTableView.Columns.Add(gbc)
gbc.UniqueName = fld
gbc.SortExpression = fld
gbc.HeaderButtonType = GridHeaderButtonType.LinkButton
If fldWidth <> "" Then
    If fldWidth.Contains(":") Then
        If IsNumeric(fldWidth.Split(":")(0)) Then
            gbc.HeaderStyle.Width = fldWidth.Split(":")(0)
        End If
    Else
        If IsNumeric(fldWidth) Then
            gbc.HeaderStyle.Width = fldWidth.Split(":")(0)
        End If
    End If
End If
gbc.AllowSorting = True
rgEventQuery.MasterTableView.SortExpressions.AddSortExpression(gbc.SortExpression)


If you could create a sample website (that works on your end) that I can test on my end, that would be greatly appreciated.

Thank you.

Virgil
Martin
Telerik team
 answered on 01 May 2013
4 answers
109 views
If a serie has a value which is the maximum value of the Y-axis, then the point is not rendered completely, only a semicircunference is shown.

Is this a bug?
Ves
Telerik team
 answered on 01 May 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?