Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
275 views
hii,
 how to add two icons on a radmenuitem?

thanks..
Shinu
Top achievements
Rank 2
 answered on 22 Oct 2012
1 answer
54 views
No matter what I try, the SelectedValue of the CountryCombo is always null, therefore I cannot load the Province/State Combo?

<telerik:RadComboBox ID="CountryCombo" runat="server" EnableLoadonDemand="true">
</telerik:RadComboBox>
 <telerik:RadComboBox ID="ProvinceCombo" runat="server" Width="325" EnableLoadonDemand="true">
</telerik:RadComboBox>

Private Sub RecipientsGrid_NeedDataSource(sender As Object, e As Telerik.Web.UI.GridNeedDataSourceEventArgs) Handles RecipientsGrid.NeedDataSource
 
Dim ctx As New DataEntities
 
RecipientsGrid.DataSource = ctx.RecipientOrganizations.ToList
 
AddOrganizationButton.Visible = False
RecipientOrganizationComboBox.Visible = False
 
   End Sub
    Private Sub RecipientsGrid_ItemCreated(sender As Object, e As Telerik.Web.UI.GridItemEventArgs) Handles RecipientsGrid.ItemCreated
       If TypeOf e.Item Is GridEditableItem AndAlso e.Item.IsInEditMode Then

            Dim editedItem As GridEditableItem = TryCast(e.Item, GridEditableItem)
            Dim CountryCombo As RadComboBox = TryCast(editedItem.FindControl("CountryCombo"), RadComboBox)
            Dim ProvinceCombo As RadComboBox = TryCast(editedItem.FindControl("ProvinceCombo"), RadComboBox)

            AddHandler CountryCombo.ItemsRequested, AddressOf CountryCombo_ItemsRequested
            AddHandler ProvinceCombo.ItemsRequested, AddressOf ProvinceCombo_ItemsRequested

        End If
    End Sub
    Private Sub CountryCombo_ItemsRequested(sender As Object, e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs)

        Dim Combo As RadComboBox = sender

        LoadCountries(Combo)

    End Sub

    Private Sub ProvinceCombo_ItemsRequested(sender As Object, e As Telerik.Web.UI.RadComboBoxItemsRequestedEventArgs)

        Dim Combo As RadComboBox = CType(sender, RadComboBox)
        Dim editedItem As GridEditableItem = CType(Combo.NamingContainer, GridEditableItem)
        Dim CountryCombo As RadComboBox = CType(editedItem.FindControl("CountryCombo"), RadComboBox)

        Dim _item As New RadComboBoxItemData()

        LoadProvinces(_item.Value, Combo)

    End Sub
   Protected Sub LoadCountries(ByVal Control As RadComboBox)

        Using context As New DataEntities
            With Control
                .DataValueField = "CountryId"
                .DataTextField = "CountryName"
                .DataSource = context.Countries.OrderBy(Function(x) x.displayOrder).ToList
            End With
            Control.Width = Unit.Pixel(320)
            Control.DataBind()
        End Using

    End Sub

Boyan Dimitrov
Telerik team
 answered on 22 Oct 2012
1 answer
58 views
hii,
how can i change the editor mode to preview mode in the client
side?

thanks
Shinu
Top achievements
Rank 2
 answered on 22 Oct 2012
1 answer
77 views
hii,
 how to add new items in radcombobox from client side?

thanks
Kalina
Telerik team
 answered on 22 Oct 2012
3 answers
52 views
I've just figured out the Related Comboboxes demo (http://demos.telerik.com/aspnet-ajax/combobox/examples/functionality/multiplecomboboxes/defaultcs.aspx ) is not using requestItems anymore, It uses a RadAjaxManager.

I'm just curious about it, Have you found some issues? Is this "new" approach faster now?
Kalina
Telerik team
 answered on 22 Oct 2012
1 answer
108 views
hii,
how can i hide the radupload when the radprogressarea is showing?

thanks..
Shinu
Top achievements
Rank 2
 answered on 22 Oct 2012
1 answer
92 views
In our application we use a tabstrip with different tabs which are build up server-side when they become active. At one of the tabs there is an editable grid which must save the data before the new tab is build up.

Our problem is that the TabStrip updates the selected index in the LoadPostEvent of the lifecycle and makes all child controls on the active tab visible=false. This happens before any user events are executed. When the event of the grid is fired it is marked invisible already...

In our opinion the selected index should be updated when the tabClicked event from the tab is fired. Events fired in the same request before the TabClicked event can work in the correct state then. Now there is a gap between the loadPostData and the TabClicked event where the state of the tabpanel is in an incorrect state.

Thanks for your time!
Dimitar Terziev
Telerik team
 answered on 22 Oct 2012
1 answer
78 views
hii,
 how to change the button's text of autogenerated delete and edit
column ?

thanks
Princy
Top achievements
Rank 2
 answered on 22 Oct 2012
1 answer
97 views
I have a form (page) which has several Telerik controls (text boxes, combobox).

I have a combobox (ID: 'a') with its validation group set to "abc"
I have a button with its validation group set to "abc" (it fires the validation for the group "abc")
I have a required field validator attached to the combobox (ID:'a')

I wish to accomplish the following:

1) When a user manipulates the combobox, I do NOT wish to validate.
2) When the focus moves out of the combobox, I do NOT wish to validate.
3) When the button at which I set the validation group, I *do* wish to validate.

In other words, I do not want validation to fire while the user is just manipulating the combobox and other fields on the form.  I only wish to validate at the moment when the button is clicked.

It seems that this "page-level" validation should be a simple setting.  Why should individual controls be validating?  There could be scenarios (such as mine, where the combobox list of items could be changed ON the page, requiring the person to go in and out of the combobox before finalizing the page).  I don't want each control on the page to have individual validation during the view and manipulation of the items on the page -- no control-level validation firing.  I simply want page-level firing.

Another wish is that I don't have to add extra javascripting to each of the pages for each of the control -- that is a lot of extra "work-arounds" when there could be a simple setting such that the validator only fires if it were fired by the button.

Does anyone have an insight on how I can accomplish my requirements?

Thanks in advance.
Kalina
Telerik team
 answered on 22 Oct 2012
3 answers
116 views
Hello,

we are using a RadGrid with links. If the user clicks a link, it opens a RadWindow which allows the user to send an email. If he clicks the "send"-button within the RadWindow, one image in the Grid changes to indicate the email was send.

But the User doesn't notice the difference until he closes the RadWindow and reloads the page.
Is it therefore possible to reload the RadGrid in the parent page when the user clicks on the button in the RadWindow (best without closing it)?

Thanks!
Marin Bratanov
Telerik team
 answered on 22 Oct 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?