Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
200 views
When a RadTextBox has text in it, a "X" is rendered at the right side of the textbox that clears out the text in the textbox when clicked.  Is there a ClientEvent for clicking on the "X"?  I'd like to disable a button when the "X" is clicked.
Shinu
Top achievements
Rank 2
 answered on 23 May 2014
1 answer
382 views
Hi,

I add textbox in code-behind like that :
    Public Sub New(ByVal cName As String)
 
        colname = cName
 
    End Sub
    Public Sub InstantiateIn(ByVal container As System.Web.UI.Control) Implements ITemplate.InstantiateIn
 
        textBox = New TextBox()
        textBox.Width = 27
        container.Controls.Add(textBox)
        AddHandler textBox.DataBinding, AddressOf textValue_DataBinding
 
    End Sub
 
    Sub textValue_DataBinding(ByVal sender As Object, ByVal e As EventArgs)
 
        Dim MyTextBox As TextBox = DirectCast(sender, TextBox)
        Dim container As GridDataItem = DirectCast(MyTextBox.NamingContainer, GridDataItem)
        MyTextBox.Text = DirectCast((DirectCast(container.DataItem, DataRowView))(colname), Integer)
 
    End Sub
 
End Class

So, i would like that my textbox will be visible if another field of that datasource =1 and every texbox will be visible or not(not all). Thanks!
Princy
Top achievements
Rank 2
 answered on 23 May 2014
5 answers
986 views
I want to iterate through values of a column "Name" in my radgrid. Based on a certain condition, I have to prepend it with a refresh icon and append it with a error message. [refreshIcon]Value[ErrorMessage].Please help me achieve this code-behind..
Shinu
Top achievements
Rank 2
 answered on 23 May 2014
3 answers
246 views
Hi
I need to find a combobox inside a gridtableview inside the detailtables when the grid is in insert and edit mode. I am using a formtemplate. I have managed to get my controls inside the mastertableview using the following code. All of this needs to happen outside of the grid when I click a button.

if (hdLineItemRow.Value == string.Empty)
           {
cbo = (RadComboBox)radGrid.MasterTableView.GetInsertItem().FindControl("cbo");
           }
           else
           {
               int itemIdex = Convert.ToInt32(hdLineItemRow.Value);
               cbo = (RadComboBox)radGrid.MasterTableView.Items[itemIdex].EditFormItem.FindControl("cbo");
           }
  
Thank you
Fred
SSirica
Top achievements
Rank 3
Iron
Iron
Iron
 answered on 22 May 2014
1 answer
98 views
Hi!,

Is it possible with RadGrid to add a vertical scrollbar when you put Allpaging to false(i want to show all data in 1 page)?

And in the same way:

Can i freeze panes on the first column(like in Excel)?

Thank you!
Isabelle
Top achievements
Rank 1
 answered on 22 May 2014
12 answers
2.4K+ views
I want to add rows to radgrid when i press add new button. it works first time fine. that mean it adds first row  properly when i press once agin it wont add new rows to grid.
Shri
Top achievements
Rank 1
 answered on 22 May 2014
2 answers
96 views
Is there any supporting documentation showing the minimum ASP.NET framework requirements for different versions of the UI for ASP.Net Ajax controls?

I would like to use the controls going forward but have a number of legacy products that I would also like to support.

Thanks

Phil
Phil
Top achievements
Rank 1
 answered on 22 May 2014
4 answers
288 views
I have a Radcombobox defined as...

<telerik:RadComboBox ID="RadComboBrandCodes2" runat="server" CheckBoxes="true" ViewStateMode="Enabled" EnableViewState="true"
DataSourceID="sdsBrandCodes" DataTextField="Description" DataValueField = "Description"
Height="150px"></telerik:RadComboBox>

this combo is inside a filter template in a radgrid. When a Ajax postback happens, the items in the combo box loose their checked status. If I make a copy of the exact same markup and put it outside the grid but still within the div that gets updated via the ajax call, the checked status is maintained through the postback.

How can I get the checked state to be the same after the postback as it was before for the combo box in the filter template?

Thx,
Jeff
Nencho
Telerik team
 answered on 22 May 2014
3 answers
150 views
<telerik:RadComboBox runat="server" ID="lstBusiness" OnSelectedIndexChanged="lstBusiness_SelectedIndexChanged"
  AutoPostBack="True" EnableViewState="true" MarkFirstMatch="true" />
Hi Team,
I am using telerik combo box which is showing the items properly in all browsers(IE7,IE8,IE9,Chrome and Mozilla) except IE10. In IE10 combo box is disabled(not enabled to select the items) though the items are binded to combo box. Kindly help me out to resolve this ASAP.
Telerik Version am using is 2011.1.315.35.

Srikanth
Boyan Dimitrov
Telerik team
 answered on 22 May 2014
1 answer
117 views

We have out first Telerik application ready for deployment on a server. We have .Net 4.0 and are developing in C#, using Telerik UI for ASP.NET AJAX

Do we need to install any software on the server? Could you point me to the appropriate documentation.

Regards,

Robin

Marin Bratanov
Telerik team
 answered on 22 May 2014
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?