Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
56 views
Hi guys,

How are you ?

We are having problems to implements the HtmlChat.

When we have values to set to CategorySeriesItem like the example below, it's works ok, but when we not have values, we set value 0, but the graphics   doesn't shows any value.

Can you help us about this?

CategorySeriesItem csi = new CategorySeriesItem();
csi.Y = 0;
columnSeries = new ColumnSeries();
columnSeries = radChartStatusProjeto.PlotArea.Series[0] as ColumnSeries;
columnSeries.SeriesItems.Add(csi);

tks for now.
Danail Vasilev
Telerik team
 answered on 05 Mar 2014
1 answer
58 views
Hi,
I want to select child node on OnClientLoad, but child node comes out to be null,
example:
-gallery
-test
    -first

when
i select "gallery" and close fileexplorer, and again open it,  get
"gallery" selected, but when i select first i get node null
i want to select "first" node also or any node level

My code is:

function explorerLoad(explorer) {                                   
            var text = window.parent.$('#ctl00_BodyContentPlaceHolder_hdnRadTreeSelectedNode').val();
            var node = explorer.get_tree().findNodeByValue(text);
            if (node) {
                node.set_selected(true)
            }           
        }


Thanks
Vessy
Telerik team
 answered on 05 Mar 2014
1 answer
247 views
Is there any way to create a custom aggregate function, for example, to get a count of distinct values of a field instead of just a count?
Konstantin Dikov
Telerik team
 answered on 05 Mar 2014
1 answer
42 views
Dear Telerik Team,

Do you have an example or demo for getting image from RadImageEditor on RadWindow and put on image ?

Thanks
Vessy
Telerik team
 answered on 05 Mar 2014
4 answers
143 views
hi,
radcombobox doesn't display properly on ie10
Magdalena
Telerik team
 answered on 05 Mar 2014
1 answer
73 views
With so many options provided by Telerik and possible framework decommissioning (like occurred with MVC extensions), what would be your general recommendations for a new administrative website in terms of:
- what Telerik UI to choose
- what type of VS project to use (website or web application)
- what other Telerik frameworks to use if any

The administrative website requirements are pretty standard:
- C# NET 4.5
- Direct data access with EF
- a lot of data manipulation (view, sorting, filtering, update etc)
- content editing
- sometimes presenting data with charts
- mostly for desktop clients with IE10+/Chrome
Marin Bratanov
Telerik team
 answered on 05 Mar 2014
1 answer
170 views

When using the latest DLL, I see some strange error on ie 11. The error will go away if I switch to ie 11 compatibility mode. But the it start to work fine after I installed the .net framework 4.5 on the server. My question is, if anyone know the UI for ASP.NET AJAX required .NET Framework 4.5 to be installed on the server in order for the application to work correctly with ie11?

Unable to get property ‘PageRequestManager’ of undefined or null reference
webform_doPostBack is undefined JavaScript error 

Slav
Telerik team
 answered on 05 Mar 2014
2 answers
790 views
Hello together,

I wanted to ask, what are the limitations after 30 days of the ASP extensions?
I'm using at the moment a Version from 2011 for a small hobby website/project (non.commercial!), where after a few clicks a "Telerik.Web.UI 2011.1.315.35 trial version. Copyright telerik © 2002-2011. To remove this message, please purchase a developer version." appears.
This is absoltly a fine restriction from my side.

I'm planning to update the site so .NET4 from .NET2 and add some features.

Is it still done in this way in the new Versions?
So that everything is working, just with some "advertise"?

Thank you!
Michael
Michael
Top achievements
Rank 1
 answered on 05 Mar 2014
1 answer
401 views
Hi,

I am trying to bind gridcolumn to sqldatasource through wizrard it is showing only grid name but not column details to add to parameter.
Please find my code.
Here is my aspx Page.
SystemID is the columnname in the grid that i need to set in sqldatasource.
<tr>
    <td class="td" width="100%" align="center">
        <table width="100%" align="center">
            <tr>
                <td class="td" width="100%" align="center">
                    <telerik:RadGrid ID="rgMunicipality" runat="server" GridLines="None" AllowPaging="True"
                        AllowAutomaticUpdates="True" AllowAutomaticInserts="True" AllowSorting="True"
                        Width="750px" CellSpacing="0" AutoGenerateColumns="False">
                        <%-- OnItemCommand="rgMunicipality_ItemCommand">--%>
                        <%-- OnUpdateCommand="rgMunicipality_InsertCommand"
                OnInsertCommand="rgMunicipality_InsertCommand">--%>
                        <PagerStyle Mode="NextPrev" />
                        <MasterTableView DataKeyNames="SystemID" CommandItemDisplay="Top" GridLines="None"
                            AllowAutomaticDeletes="False">
                            <%-- EditMode="InPlace"--%>
                            <CommandItemSettings ExportToPdfText="Export to PDF"></CommandItemSettings>
                            <RowIndicatorColumn Visible="True" FilterControlAltText="Filter RowIndicator column">
                            </RowIndicatorColumn>
                            <ExpandCollapseColumn Visible="False">
                                <HeaderStyle Width="19px" />
                            </ExpandCollapseColumn>
                            <%--<ExpandCollapseColumn Visible="True" FilterControlAltText="Filter ExpandColumn column">
                    </ExpandCollapseColumn>--%>
                            <Columns>
                                <telerik:GridEditCommandColumn>
                                </telerik:GridEditCommandColumn>
                                <telerik:GridBoundColumn DataField="SystemID" HeaderText="SystemID" SortExpression="PriorityID"
                                    UniqueName="SystemID" Visible="False" MaxLength="5" FilterControlAltText="Filter SystemID column">
                                </telerik:GridBoundColumn>
                                <telerik:GridBoundColumn DataField="SystemName" HeaderText="Name" SortExpression="SystemName"
                                    UniqueName="SystemName" FilterControlAltText="Filter SystemName column">
                                </telerik:GridBoundColumn>
                                 <telerik:GridDropDownColumn DataField="Manager" HeaderText="Manager"  ListValueField="ManagerID" ListTextField="Manager"
                                      EmptyListItemText="--Choose an option--" EmptyListItemValue=""
                                    UniqueName="Manager" SortExpression="Manager" DataSourceID="SQLDataSource6">
                                </telerik:GridDropDownColumn>
                                <telerik:GridCheckBoxColumn DataField="Enabled" DataType="System.Boolean" FilterControlAltText="Filter Enabled column"
                                    HeaderText="Enabled" SortExpression="Enabled" UniqueName="Enabled">
                                </telerik:GridCheckBoxColumn>
                            </Columns>
                            <EditFormSettings EditFormType="Template">
                                <FormTemplate>
                                    <table id="tblSystemEdit" runat="server" cellpadding="0" cellspacing="0" style="width: 100%;
                                        height: 100%;" border="0">
                                        <tr>
                                            <td valign="middle" style="height: 26px; background-color: #DDE1E6;" align="left"
                                                colspan="2">
                                                  <asp:Label ID="lblSubHeading" runat="server" CssClass="clsFormTemplateHeader"
                                                    Text="Details"></asp:Label>
                                            </td>
                                            <td style="width: 5px; text-align: right; background-color: #DDE1E6; height: 26px;"
                                                align="right">
                                            </td>
                                        </tr>
                                        <tr>
                                            <td valign="top" style="width: 30px; height: 22px;">
                                            </td>
                                            <td valign="top" align="left">
                                                <table style="width: 310px; height: 70px; margin-left: 260px;" class="clsTestTable">
                                                    <tr>
                                                        <td style="text-align: right; width: 150px; height: 18px;">
                                                            <asp:Label ID="lblName" runat="server">Name</asp:Label>
                                                        </td>
                                                        <td style="width: 200px; text-align: left; height: 18px;">
                                                            <div style="float: left; padding-right: 5px">
                                                                <asp:TextBox ID="txtName" runat="server" MaxLength="50" Width="145px" Text='<%# Bind( "SystemName") %>'
                                                                    Rows="2"></asp:TextBox></div>
                                                            <asp:RequiredFieldValidator ID="rfvName" runat="server" ControlToValidate="txtName"
                                                                ErrorMessage="Name is required" ValidationGroup="PersonalInfo">*</asp:RequiredFieldValidator>
                                                            <asp:TextBox ID="txtSystemID" runat="server" MaxLength="50" Width="145px" Text='<%# Bind( "SystemID") %>'
                                                                Visible="false"></asp:TextBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 150px; height: 18px; text-align: right">
                                                            <asp:Label ID="lblManager" runat="server">Manager</asp:Label>
                                                        </td>
                                                        <td style="width: 200px; height: 18px; text-align: left">
                                                            <div style="float: left; padding-right: 5px">
                                                                <telerik:RadComboBox ID="ddlManager" runat="server" Width="144px" Skin="Default"
                                                                    EnableEmbeddedSkins="true" DataSourceID="SQLDataSource6" DataTextField="Manager"
                                                                    DataValueField="ManagerID" SelectedValue='<%# DataBinder.Eval(Container.DataItem, "Manager")%>'>
                                                                </telerik:RadComboBox>
                                                            </div>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td style="width: 150px; height: 18px; text-align: right">
                                                            <asp:Label ID="lblEnabled" runat="server">Enabled</asp:Label>
                                                        </td>
                                                        <td style="width: 200px; height: 18px; text-align: left">
                                                            <div style="float: left; padding-right: 5px">
                                                                <asp:CheckBox ID="chkEnabled" runat="server" Checked='<%# If(IsDBNull(Eval("Enabled")), False, Eval("Enabled"))  %>' /></div>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </td>
                                            <td>
                                                  
                                            </td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" style="height: 40px; background-color: #DDE1E6; text-align: center;">
                                                <div id="Zone1">
                                                    <asp:Button ID="btnUpdate" Text='<%# If(CBool(DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")), "Insert", "Update") %>'
                                                        runat="server" CausesValidation="True" CommandName='<%# If(CBool(DataBinder.Eval(Container, "OwnerTableView.IsItemInserted")), "PerformInsert", "Update") %>'
                                                        Width="145px" ValidationGroup="PersonalInfo" /> 
                                                    <asp:Button ID="btnCancel" runat="server" CausesValidation="False" CommandName="Cancel"
                                                        Text="Cancel" Width="145px" /></div>
                                            </td>
                                            <td style="background-color: #DDE1E6;">
                                                  
                                            </td>
                                        </tr>
                                        <tr>
                                            <td>
                                            </td>
                                            <td style="text-align: left">
                                                <asp:ValidationSummary ID="ValidationSummary2" runat="server" ValidationGroup="PersonalInfo"
                                                    Width="250px" DisplayMode="BulletList" />
                                            </td>
                                            <td>
                                            </td>
                                        </tr>
                                    </table>
                                </FormTemplate>
                                <FormCaptionStyle BorderStyle="Solid" />
                                <FormStyle BackColor="#F2F2F2" BorderColor="#BEBEBE" BorderStyle="Solid" BorderWidth="1px" />
                            </EditFormSettings>
                        </MasterTableView>
                        <FilterMenu EnableImageSprites="False">
                            <WebServiceSettings>
                                <ODataSettings InitialContainerName="">
                                </ODataSettings>
                            </WebServiceSettings>
                        </FilterMenu>
                        <HeaderContextMenu CssClass="GridContextMenu GridContextMenu_Default">
                            <WebServiceSettings>
                                <ODataSettings InitialContainerName="">
                                </ODataSettings>
                            </WebServiceSettings>
                        </HeaderContextMenu>
                    </telerik:RadGrid>
                </td>
            </tr>
            <tr>
                <td class="td">
                    <input type="hidden" name="item_list" />
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:IssueManagerConnectionString %>"
                            SelectCommand="Users_getUsersByDepartment" SelectCommandType="StoredProcedure">
                            <SelectParameters>
                                <asp:Parameter DefaultValue="1" Name="SystemID" Type="Int32" />
                            </SelectParameters>
                        </asp:SqlDataSource>
                    </center>
                </td>
            </tr>
            <tr>
                <td class="td" align="center">
                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" ShowMessageBox="True"
                        ShowSummary="False" DisplayMode="List"></asp:ValidationSummary>
                    <div style="text-align: center; width: 100%">
                    </div>
                </td>
            </tr>
        </table>
    </td>
</tr>

Here is the my stored procedure.
ALTER PROCEDURE [dbo].[Users_getUsersByDepartment]
    @SystemID INT
AS
BEGIN
    -- SET NOCOUNT ON added to prevent extra result sets from
    -- interfering with SELECT statements.
    SET NOCOUNT ON;
 
     SELECT FirstName + LastName AS Manager,
     UserID AS ManagerID
     FROM IM_System a INNER JOIN Users_UserDetail b ON  a.SystemID=b.SystemID
     WHERE b.SystemID=@SystemID
END
Viktor Tachev
Telerik team
 answered on 05 Mar 2014
1 answer
45 views
Hi,
this is my 2nd request.I need to add to hmtl next to RadTextBox something like small image with days of the week only(like RadCalendar) but it will contain only Days of The week and nothing else and choose multiple Days of the Week.
And then in C# I need to get these days of the week.

Please help me on this.

Thanks again. â€‹
Nencho
Telerik team
 answered on 05 Mar 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?