Telerik Forums
UI for ASP.NET AJAX Forum
9 answers
267 views
Trying to use a radcombobox with the built in checkboxes=true functionality with EnableCheckAllItems = True. Check all/none not working when using my own ItemTemplate: is this functionality not supported?
<telerik:RadComboBox ID="ddlReports" runat="server" Width="95%" DataSourceID="DSAvailReports"
                            DataTextField="ReportName" DataValueField="Value" CheckBoxes="True" EnableCheckAllItemsCheckBox="True"
                            ValidationGroup="assign">
                            <ItemTemplate>
                                <div class="ddlItem">
                                    <%#Eval("ReportName") %><br />
                                    <asp:Label ID="Label2" runat="server" Text="Category (If Available): " Width="160px"></asp:Label>
                                    <telerik:RadComboBox ID="ddlCategory" runat="server" Width="190px">
                                    </telerik:RadComboBox>
                                    <br />
                                    <asp:Label ID="Label3" runat="server" Text="Physician Grp (If Available): " Width="160px"></asp:Label>
                                    <telerik:RadComboBox ID="ddlPhysGrp" runat="server"  Width="190px">
                                    </telerik:RadComboBox>
                                </div>
                            </ItemTemplate>
                        </telerik:RadComboBox>
Thx
Scott
Rev
Top achievements
Rank 1
 answered on 06 May 2013
3 answers
412 views
I have some problems dealing with recurring events.

If I add a series, I can edit or delete the entire series. The problem is if I want to edit or delete only one occurrence.

If I try to delete only one occurrence nothing happens. The RadScheduler_AppointmentDelete event is not hit, the wait cursor spins for a couple of seconds and the event is still there.

If I edit only one occurrence a new appointment is stored in the database, with RecurrenceParentID set to the id of the parent appointment, and the series is still there. From what I have read this is standard behaviour.

But then if I want to edit this event, first I get the question whether I want to edit this occurrence or the entire series. If I manually set  RecurrenceParentID=null in the database this question dissappears, but this invokes other problems.

Why is the first occurrence of the series  e.Appointment.RecurrenceState == RecurrenceState.Exception after changing one of the other occurences?

How am I supposed to handle the RecurrenceExceptionCreated event?

Regards, Jill-Connie Lorentsen


Bozhidar
Telerik team
 answered on 06 May 2013
1 answer
249 views
I have a similar issue to the one mentioned at:
http://www.telerik.com/community/forums/aspnet-ajax/combobox/jquery-validation-and-radcombobox.aspx

The solution provided is working well unless I set a value for the ComboBox "Empty Message" attribute, i.e, the message that appears within the ComboBox to tell the user to select a value.

Any solution?
Princy
Top achievements
Rank 2
 answered on 06 May 2013
1 answer
162 views
The ItemCreated event is fired twice when filtering: before the NeedDataSource and after the NeedDatasource.
I am using built in column filters.
Can you tell me if it's a bug please.
I could reproduce the behavior with versions 2013.1.403 and 2013.1.423
<telerik:RadScriptManager ID="ScriptManager" runat="server" EnableEmbeddedjQuery="true" />
    <telerik:RadGrid ID="RadGridTest" runat="server" AllowFilteringByColumn="true" OnNeedDataSource="RadGridTest_NeedDataSource" OnItemCreated="RadGridTest_ItemCreated" />

protected void RadGridTest_NeedDataSource(object sender, Telerik.Web.UI.GridNeedDataSourceEventArgs e)
{
    RadGridTest.DataSource = new List<int>() { 1, 2, 3, 4, 5 };
}
 
protected void RadGridTest_ItemCreated(object sender, Telerik.Web.UI.GridItemEventArgs e)
{
    if (e.Item is GridFilteringItem)
    {
        // this is fired twice when using grid filters
        Debug.WriteLine("filter created");
    }
}
Princy
Top achievements
Rank 2
 answered on 06 May 2013
5 answers
188 views
Is there a sample code which shows how to integrate or call ASP.NET Web API endpoint to get data for the AutoComplete RadControl.
Bozhidar
Telerik team
 answered on 06 May 2013
1 answer
103 views


Hi,
          The Css styles are not apply for Radcontrols in IE.if i put 2 grid controls the Css styles are applied perfectly.but if i add more than two grid, css styles are not  apply for other grids except first two grid.


To solve this i have searched in a  lots of forum. 

some experts told to add a stylesheetmanager to Combine  the stylesheet requests into a single request.
because of IE have some limitation to add more than 31 cssfile.

After adding the stylesheetmanager  i am getting the javascript error like in the attachment file and also a  css problem is still not solved

Please help me to solve this issue.

Thanks.


Eyup
Telerik team
 answered on 06 May 2013
3 answers
114 views
If the popup window is adding the new record, the textbox in the popuped need to hide,
if the popup window is editing the record , the text box need to display.

how to control the visibility of the textbox control?
Thanks.
Princy
Top achievements
Rank 2
 answered on 06 May 2013
1 answer
50 views
Since last update of my control, If i insert intem in javascript, new item is selected. I don't want this. This is my code, in older version, this code work well

 

 

function AddCouncillorToProposedByCombobox(id, councillorName, row) {

 var rcbProposedBy = row.findControl('rcbProposedBy');

 if (rcbProposedBy != null) {
 

 var comboItems = rcbProposedBy.get_items();

 var idx = comboItems.get_count();

 for (var j = 0; j < comboItems.get_count(); j++) {

 var comboItem = comboItems.getItem(j);

 if (comboItem.get_text() > councillorName) {

idx = j;

 break;

}

}

var comboItem = new Telerik.Web.UI.RadComboBoxItem();

comboItem.set_text(councillorName);

comboItem.set_value(id);

comboItems.insert(idx, comboItem);

}

}

Plamen
Telerik team
 answered on 06 May 2013
1 answer
63 views
Hi,

I reproduce the example from http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx and added a new field which contains dateinput.

All my elements are created from server side. The only client code is the javascript. I have implemented IBindableTemplate for each kind of column so i would be able to extract the content on server event.

Right now everything works fine except in one case. When i do a sort on any column (the grid need to have no filter first) and then i apply the changes after updating the first row, all the textbox value are set to null. But if I try again after that postback there's no problem at all. Its only on the first sort/filter command.

The version we're using is the 2012.3.1308.35.

Thx for you help
Vasil
Telerik team
 answered on 06 May 2013
1 answer
112 views
Here's my code:

Protected Sub Page_Load(sender As Object, e As EventArgs) Handles Me.Load
            If Not IsPostBack Then
                Load_ddlGroupName()
            End If
        End Sub
 
Private Sub Load_ddlGroupName()
            ddlGroupName.DataTextField = "FinanceNumberName"
            ddlGroupName.DataValueField = "FinanceNumberName"
            ddlGroupName.DataFieldParentID = "VP"
            ddlGroupName.DataFieldID = "FinanceNumberName"
            ddlGroupName.DataSource = (From d In DbContext.FPRDropDownLists Select d).ToList() 'verified datasource is populated.
            ddlGroupName.DataBind()
        End Sub


What am I missing?

Plamen
Telerik team
 answered on 06 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?