Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
224 views
Hi,

Is it possible to fire the "init insert" command when there are no rows in the coupled datasource of the dataform object?

For now I created a button and in it's click event I put the following code:

Radform1.Items(0).FireCommandEvent("InitInsert", "")

But when the coupled datasource has no rows, it fails (because of the empty itemscollection).

Is there a workaround for inserting the "first row"?

Regards
Lennart Burkels
Top achievements
Rank 1
 answered on 16 Jan 2015
0 answers
183 views
Hello,

I am trying to develop a chat room on our website. When I was searching, I found this article. I download the project and tried to run it on my local pc. It is working fine until Register When I login, it goes to Chat page,page load event,then it showed 500 error. Does anyone tried to run that project and face the same issues? Can anybody help me?

Thanks in advance.

Best regards,
Ei Wai
Ei Wai
Top achievements
Rank 1
 asked on 16 Jan 2015
3 answers
144 views
Hi
I want to drag a row from a radgrid and drop it in a specific cell of another Radgrid and save it. Is it possible? If possible then please Help me as soon as possible.

 
 
Mostafa
Top achievements
Rank 1
 answered on 16 Jan 2015
7 answers
341 views
Hi all,

I have a requirement is to change the infragistics control to telerik control. As I'm new in the Telerik could anyone help me is there any other control instead of using the menu .ascx. Currently this infragistics control has been used as a menu which is in the menu.ascx.

<%@ Register TagPrefix="iglbar" Namespace="Infragistics.WebUI.UltraWebListbar" Assembly="Infragistics2.WebUI.UltraWebListbar.v6.3, Version=6.3.20063.53, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" %>

sample code currently using just the format but not  the full code....
<iglbar:ultraweblistbar  ----- >

<Groups>
<iglbar:Group

<iglbar:Item --->

</iglbar:Item>

<HeaderAppearance>

<HeaderAppearance>

</iglbar:Group>
Again the same other group occur as below

<iglbar:Group>

</iglbar:Group>
<Groups>

Could you please let me know is there any possible replacement of this infragistics control to telerik control.  As this ascx been used as user control (actually a menu )in many pages.

​
Ianko
Telerik team
 answered on 16 Jan 2015
3 answers
144 views
Hi

below is my code

 <telerik:RadAjaxManagerProxy ID="proxyManager" runat="server">
            <AjaxSettings>                
                <telerik:AjaxSetting AjaxControlID="treeList">
                    <UpdatedControls>
                        <telerik:AjaxUpdatedControl ControlID="treeList" LoadingPanelID="loadingPanel" />
                    </UpdatedControls>
                </telerik:AjaxSetting>                
            </AjaxSettings>
        </telerik:RadAjaxManagerProxy>

 <telerik:RadTreeList ID="treeList" runat="server" ParentDataKeyNames="ParentD"
            OnItemCreated="treeList_ItemCreated" DataKeyNames="WorkID" AutoGenerateColumns="false"
            OnNeedDataSource="taskTreeList_OnNeedDataSource" OnItemDataBound="taskTreeList_OnItemDataBound"
            OnItemCommand="taskTreeList_ItemCommand" OnUpdateCommand="treeList_UpdateCommand"
            OnItemDrop="taskTreeList_ItemDrop" BorderStyle="None" AllowSorting="true" AllowPaging="false"
            EditMode="InPlace" ShowFooter="true" ShowTreeLines="false" Font-Names="Arial"
            Font-Size="8">
            <HeaderStyle Height="30" Wrap="true" Font-Names="Arial" Font-Size="8" />
            <ItemStyle Font-Names="Arial" Font-Size="8" />
            <ClientSettings AllowItemsDragDrop="true">
                <Selecting AllowItemSelection="true" />
                <ClientEvents OnItemDragStarted="OnItemDragStarted" OnItemDragging="OnItemDragging"
                    OnItemDropping="itemDropping" OnTreeListCreated="function(sender) { treeList1 = sender; }" />
            </ClientSettings>
            <Columns>
 <telerik:TreeListEditCommandColumn UniqueName="EditCommandColumn" ShowAddButton="false"
                    ButtonType="ImageButton" HeaderStyle-Width="50px" >
<telerik:TreeListTemplateColumn UniqueName="TaskColumn" ItemStyle-Width="20px"
                    ItemStyle-HorizontalAlign="Left" >
                    <ItemTemplate>
                        <asp:Label ID="LableID" runat="server" Text='<%#Eval("DisplayData") %>'></asp:Label>
                    </ItemTemplate>
                    <EditItemTemplate>
                        <ComboSelector EmptyMessage="{:Select.Owner}" EnableLoadOnDemand="true"
                            DataTextField="Name" DataValueField="MyID" Property="MyID" SelectedText='<%#Eval("DisplayData") %>'
                            ID="selector" runat="server" Width="20px">
                            <WebServiceSettings Path="~/Services/myService.asmx" Method="GetDetails" />
                        </ComboSelector>
                    </EditItemTemplate>
                </telerik:TreeListTemplateColumn>
       </Columns>
        </telerik:RadTreeList>

I have rad tree with edit to be "in place ", when i click on Edit icon to edit combobox, webservice is not picking data, meaning if i remove the bold line in RadAjaxManagerProxy  it is working but when i have ajax control it is not working

Thanks
Senthil
Angel Petrov
Telerik team
 answered on 16 Jan 2015
1 answer
97 views
I have a grid where I need to create custom filtering, but I am not sure exactly how or where to modify the MasterTableView.FilterExpression.

The grid has multiple columns - each of which can be filtered. The final column is a status column controlled by a DropDownList that is dependent on several of my object properties. I need to add one of the following to the filter expression: (Property1 == null), (Property2 == null) or (Property1 != null && Property2 != null). I can add the proper filtering text to the FilterExpression in response to the DropDownList's OnSelectedIndexChanged and the filtering works fine.However, when I change the filtering for one of the other columns, my custom filter expression is lost.

First, is there a way of setting just the additional filter expression to let the grid include it in the FilterExpression?

If not, what event should I be using to make sure the custom part of the filter expression is included when another column's filtering changes?
Kostadin
Telerik team
 answered on 16 Jan 2015
3 answers
253 views
How can I get task id on selection of task in server side code? 
Bozhidar
Telerik team
 answered on 16 Jan 2015
4 answers
187 views
Is there a way to use the checkbox column on the client side without putting the radtreelist in edit mode? I want the behavior of the select column but without allowing whole row selection. 
james
Top achievements
Rank 1
 answered on 15 Jan 2015
1 answer
134 views
Hi,

I am using telerik UI for Asp.net Ajax version 2012.3.1016.40.  I am trying to display Goto page control in radgrid's pager.  I have set the pager style mode to NextPrevNumericAndAdvanced.  But Goto page  control is not displaying in pager.  I am able to display Advanced Goto page control using jQuery and CSS.  But I want them to be displayed withiout any extra code.  Am I missing anything?

jQuery+CSS code to display Advanced pager controls: 
$('div.rgAdvPart').css('display','block');

Here I am providing sample code.  I have removed <columns> section.  

<telerik:RadGrid ID="Grid" runat="server" OnNeedDataSource="Grid_NeedDataSource"
                OnItemCreated="Grid_ItemCreated" OnDeleteCommand="Grid_DeleteCommand" 
                OnItemCommand="Grid_ItemCommand" OnItemDataBound = "Grid_ItemDataBound" AllowFilteringByColumn="True" Skin="Metro"
                CellSpacing="0" GridLines="None" Width="99%" EnableViewState="true" AllowPaging="true" PageSize="20" 
                ViewStateMode="Enabled" HeaderStyle-ForeColor='Black' AllowSorting="true" SortingSettings-EnableSkinSortStyles="false">
                <MasterTableView AutoGenerateColumns="false" CommandItemDisplay="Top" DataKeyNames="Id" CommandItemSettings-ShowExportToExcelButton="true" AllowNaturalSort="false" PagerStyle-Mode="NextPrevNumericAndAdvanced" > 
                    <SortExpressions>

                        <telerik:GridSortExpression FieldName="Status" SortOrder="Ascending" />
                    </SortExpressions>

                    <CommandItemSettings AddNewRecordText="Add" />  
</MasterTableView>
                <FilterMenu EnableImageSprites="False">
                </FilterMenu>
                <GroupingSettings CaseSensitive="false" />
            </telerik:RadGrid>

Thank you,
Gafoor


Pavlina
Telerik team
 answered on 15 Jan 2015
3 answers
207 views
Hello,

I am using asp.net telerik controls like Grid, Calander, etc...in our application and now we are running with huge performance issue.

Some suggestion came out that can we disable viewstate of page which uses lots of telerik control?

As per our understanding, page will not working properly is this case....

so what is the solution or can we disable page level viewstate..?

thanks,
Glauco Basilio
Top achievements
Rank 1
 answered on 15 Jan 2015
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?