Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
645 views
 
Hi ,

        I have two textbox in my apllication.

       One is inside updatepanel and another  one is outside of update panel.

       My need is when change the  textbox value which is inside update panel i want to increment the     count of textbox automatically which i have outside of update panel.

       Note:I just mentioned textbox as your reference.it may be dropdownlist  or any other controls in updatepanel but outside of updatepanel im having  textbox only.



with regards,
Mugil
Mugil
Top achievements
Rank 1
 answered on 05 Dec 2013
4 answers
135 views
Hi I have a radbutton inside content template of the raddock.. How do I get hold of raddock client object on client clicked event of radbutton? Thanks!
Chetan
Top achievements
Rank 1
 answered on 05 Dec 2013
5 answers
232 views
Hi I want to show Radwindow on submit click. can any one please send me server side code on click event.

Thanks,
Naresh
Naresh
Top achievements
Rank 1
 answered on 05 Dec 2013
3 answers
120 views
We currently have a series of hierarchical radgrids that we'd like to replace with the treelist control.  I've gotten most of the basic work done w/ regard to porting from the grid to the treelist, but I can't locate information on how to save / load user settings (e.g., column size, sort order, etc.).  (We use the TelerikGridHelper for our rad grids and it works like a champ.)  Is there an equivalent tool for saving the treelist settings?

Also, we provide our users with the ability to group columns, sort columns and show/hide columns in the radgrid using the header context menu.  How is this done for a tree list?  Again, I've looked for it in the documentation, but I'm either overlooking it or it's not there.

thanks -
matt
Eyup
Telerik team
 answered on 05 Dec 2013
3 answers
132 views
RADUpload is not displaying in IE11 browsers. I have already tried the patch, 4.5 .net upgrade and the browser file but still nothing.

http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/incorrectly-rendered-webpage-when-using-internet-explorer-11.aspx

We are using Q1 2013 controls.

When in IE11, if I change the user agent to IE10 or below it works fine. Is there script in your control that checks for the user agent?

What am I missing?

Thanks,
jamie
Hristo Valyavicharski
Telerik team
 answered on 05 Dec 2013
3 answers
241 views
I have a grid and a button on my page. On click of the button i reload my grid. I have both of them specified in my AJAXSettings.
I use custom skin for my grid. However, after the AJAX update the skin is overridden from the webresource.axd.

<telerik:RadAjaxManagerProxy ID="RadAJAXManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="_btnGo">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="rgBalances" LoadingPanelID="RadAjaxLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
Viktor Tachev
Telerik team
 answered on 05 Dec 2013
1 answer
63 views
Could I have or be pointed to a list of the discontinued controls during the 2013 release timeframe?

Thanks
Kyle Russell
Telerik team
 answered on 05 Dec 2013
5 answers
139 views
Hi,
    As a newbie I'm having trouble getting started with the site map control. Just as a working example for myself, I tried to setup an ultra simple breadcrumb but I failed so I need some help. My page looks like this:
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="user_Default" %>
<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
<head runat="server">
    <title></title>
</head>
 
<body>
    <form id="form1" runat="server">
        <telerik:RadScriptManager ID="RadScriptManager1" runat="server"></telerik:RadScriptManager>
        <telerik:RadFormDecorator ID="FormDecorator1" runat="server" DecoratedControls="all" DecorationZoneID="rfd-demo-zone"></telerik:RadFormDecorator>
 
        <div>
            <telerik:RadSiteMap runat="server" ID="RadSiteMap1" DataSourceID="SqlDataSource1"
                    DataFieldID="NodeNo" DataFieldParentID="ParentNodeNo"
                    DataTextField="NodeText" DataNavigateUrlField="NodeURL">
                <DefaultLevelSettings ListLayout-RepeatDirection="Horizontal" SeparatorText="/" Layout="Flow" />
            </telerik:RadSiteMap>
 
            <asp:SqlDataSource runat="server" ID="SqlDataSource1"
                ConnectionString="<%$ ConnectionStrings:RAMtrack %>"
                ProviderName="<%$ ConnectionStrings:RAMtrack.ProviderName %>"
                SelectCommand="SELECT NodeNo, ParentNodeNo, NodeText, NodeURL FROM tbl_SiteMap">
            </asp:SqlDataSource>
     
        </div>
    </form>
</body>
</html>

The table (tbl_SiteMap) in my data source looks like this:
NodeNo    ParentNodeNo    NodeText    NodeURL
1                0                         MainMenu    user/MainMenu.aspx
2                1                         Logbook       user/Logbook.aspx

When I run the page, I get this error: "This constraint cannot be enabled as not all values have corresponding parent values."
I've only got two nodes, they both have an entry for Parent Node so I can't tell what the problem is. Can you help?

Regards

Geoff

Geoff
Top achievements
Rank 1
 answered on 05 Dec 2013
4 answers
116 views
Whenever Template is used in grid data is displayed wrongly on checking the page found that the <table> ,<tr>,<td> elements are missing
If I use Inplace edit the grid is displayed correctly.





<telerik:RadGrid ID="gvCountry" runat="server" CssClass="RadGrid" GridLines="None" ShowFooter="True" ShowStatusBar="True" CellSpacing="0" VirtualItemCount="100000"

PageSize="20" AllowPaging="True" AllowCustomPaging="true" AlternatingItemStyle-BackColor="#FEE4EFFF" AutoGenerateColumns="False" AllowSorting="True"

AllowFilteringByColumn="True" OnInsertCommand="gvCountry_ItemInserted" OnUpdateCommand="gvCountry_ItemUpdated" OnDeleteCommand="gvCountry_ItemDeleted"

OnItemDataBound="gvCountry_ItemDataBound" OnItemCreated= "gvCountry_ItemCreated" OnItemCommand="gvCountry_ItemCommand" OnNeedDataSource="gvCountry_NeedDataSource"

OnDetailTableDataBind="gvCountry_DetailTableDataBind" OnGridExporting="gvCountry_GridExporting" OnExcelMLExportStylesCreated="gvCountry_ExcelMLExportStylesCreated" GroupingSettings-CaseSensitive="False">

<MasterTableView CommandItemDisplay="Top" DataKeyNames="CountryId" Name="Country" EditMode="EditForms" >

<CommandItemSettings ShowExportToExcelButton="True" ShowExportToPdfButton="True"/>

<DetailTables>

<telerik:GridTableView DataKeyNames="CityId" Name="City" CommandItemDisplay="Top" Width="100%" EditMode="EditForms" PageSize="10" VirtualItemCount="1000"

AllowPaging="True" AllowCustomPaging="true">

<EditFormSettings EditFormType="Template">

<FormTemplate>

<table id="CityEditTable" style="border-collapse: collapse; border-spacing: 0.2em; position:static;

*border-collapse: expression('separate', cellSpacing = '0.1em'); width: 100%; border: 0;">

<tbody>

<tr class="EditFormHeader">

<td colspan="4" style="font-size: small">

<b>City</b>

</td>

</tr>

<tr>

<td> <asp:Label ID="dlglblDistrict" runat="server" Text="District"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtDistrict" runat="server" Text='<%# Bind("District") %>'></asp:TextBox> </td>

<td> <asp:Label ID="dlglblCityName" runat="server" Text="CityName"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtCityName" runat="server" Text='<%# Bind("CityName") %>'></asp:TextBox> </td>

</tr>

<tr>

<td style="text-align: center" colspan="4">

<asp:LinkButton ID="btnUpdateDetail" runat="server" CausesValidation="true" Text="Insert" />

<asp:LinkButton ID="btnCancelDetail" CommandName="Cancel" CausesValidation="false" Text="Cancel" runat="server" />

</td>

</tr>

</tbody>

</table>

</FormTemplate>

</EditFormSettings>

<Columns>

<telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="reg_editDetail" ItemStyle-HorizontalAlign="Right" CommandName="Edit" ImageUrl="~/Content/Images/Edit.gif">

<HeaderStyle Width="2%" />

<ItemStyle HorizontalAlign="Right"></ItemStyle>

</telerik:GridButtonColumn>

<telerik:GridBoundColumn SortExpression="District" HeaderText="District" HeaderButtonType="TextButton" DataField="District" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn SortExpression="CityName" HeaderText="CityName" HeaderButtonType="TextButton" DataField="CityName" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridButtonColumn Text="Delete" CommandName="Delete" ButtonType="ImageButton" ConfirmDialogType="RadWindow"

ConfirmText="Are you sure you want to delete this registration?" ImageUrl="~/Content/Images/Delete.gif">

<HeaderStyle Width="2%" />

</telerik:GridButtonColumn>

</Columns>

</telerik:GridTableView>

</DetailTables>

<EditFormSettings EditFormType="Template" >

<FormTemplate>

<table id="MasterEditTable" style="position:static; border-collapse: collapse; border-spacing: 0.2em; *border-collapse: expression('separate', cellSpacing = '0.1em'); width: 98%;">

<tbody>

<tr class="EditFormHeader">

<td colspan="6" style="font-size: small">

<b>Country Details</b>

</td>

</tr>

<tr>

<td> <asp:Label ID="dlglblName" runat="server" Text="Name"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtName" runat="server" Text='<%# Bind("Name") %>'></asp:TextBox> </td>

<td> <asp:Label ID="dlglblArabicName" runat="server" Text="وطن"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtArabicName" runat="server" Text='<%# Bind("ArabicName") %>'></asp:TextBox> </td>

<td></td><td></td>

</tr>

<tr>

<td> <asp:Label ID="dlglblNationality" runat="server" Text="Nationality"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtNationality" runat="server" Text='<%# Bind("Nationality") %>'></asp:TextBox> </td>

<td> <asp:Label ID="dlglblArabicNationality" runat="server" Text="جنسية"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtArabicNationality" runat="server" Text='<%# Bind("ArabicNationality") %>'></asp:TextBox> </td>

<td></td><td></td>

</tr>

<tr>

<td> <asp:Label ID="dlglblCurrencyCode" runat="server" Text="CurrencyCode" ></asp:Label> </td>

<td> <asp:TextBox ID="dltxtCurrencyCode" runat="server" Text='<%# Bind("CurrencyCode") %>'></asp:TextBox> </td>

<td> <asp:Label ID="dlglblCurrencyName" runat="server" Text="Currency" ></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtCurrencyName" runat="server" Text='<%# Bind("CurrencyName") %>'></asp:TextBox> </td>

<td> <asp:Label ID="dlglblArabicCurrencyName" runat="server" Text="عملة"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtArabicCurrencyName" runat="server" Text='<%# Bind("ArabicCurrencyName") %>'></asp:TextBox> </td>

</tr>

<tr>

<td> <asp:Label ID="dlglblContinent" runat="server" Text="Continent" ></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtContinent" runat="server" Text='<%# Bind("Continent") %>'></asp:TextBox> </td>

<td> <asp:Label ID="dlglblRegion" runat="server" Text="Region" ></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtRegion" runat="server" Text='<%# Bind("Region") %>'></asp:TextBox> </td>

<td> <asp:Label ID="dlglblGovernmentForm" runat="server" Text="GovernmentForm"></asp:Label> </td>

<td> <asp:TextBox ID="dlgtxtGovernmentForm" runat="server" Text='<%# Bind("GovernmentForm") %>'></asp:TextBox> </td>

</tr>

<tr>

<td style="text-align: center" colspan="6">

<asp:LinkButton ID="btnUpdate" runat="server" CausesValidation="true" Text="Insert" />

<asp:LinkButton ID="btnCancel" CommandName="Cancel" CausesValidation="false" Text="Cancel" runat="server" />

</td>

</tr>

</tbody>

</table>

</FormTemplate>

</EditFormSettings>

<Columns>

<telerik:GridButtonColumn ButtonType="ImageButton" UniqueName="reg_edit" ItemStyle-HorizontalAlign="Right" CommandName="Edit" ImageUrl="~/Content/Images/Edit.gif">

<HeaderStyle Width="2%" />

<ItemStyle HorizontalAlign="Right"></ItemStyle>

</telerik:GridButtonColumn>

<telerik:GridBoundColumn UniqueName="CountryId" HeaderText="ID" DataField="CountryId" ShowFilterIcon="false">

<HeaderStyle ForeColor="Silver" Width="20px"></HeaderStyle>

<ItemStyle ForeColor="Gray"></ItemStyle>

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="Name" HeaderText="Name" DataField="Name" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="ArabicName" HeaderText="وطن" DataField="ArabicName" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="Nationality" HeaderText="Nationality" DataField="Nationality" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="ArabicNationality" HeaderText="جنسية" DataField="ArabicNationality" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="CurrencyCode" HeaderText="Code" DataField="CurrencyCode" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="Currency" HeaderText="Currency" DataField="CurrencyName" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="ArabicCurrencyName" HeaderText="عملة" DataField="ArabicCurrencyName" AutoPostBackOnFilter="true"

CurrentFilterFunction="Contains" ShowFilterIcon="false">

</telerik:GridBoundColumn>

<telerik:GridButtonColumn Text="Delete" CommandName="Delete" ButtonType="ImageButton" ConfirmDialogType="RadWindow" ImageUrl="~/Content/Images/Delete.gif"

ConfirmText="Are you sure you want to delete this registration?">

<HeaderStyle Width="2%" />

</telerik:GridButtonColumn>

<telerik:GridBoundColumn UniqueName="Continent" HeaderText="Continent" DataField="Continent" AllowFiltering="false" Visible="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="Region" HeaderText="Region" DataField="Region" AllowFiltering="false" Visible="false">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn UniqueName="GovernmentForm" HeaderText="GovernmentForm" DataField="GovernmentForm" AllowFiltering="false" Visible="false">

</telerik:GridBoundColumn>

</Columns>

<NoRecordsTemplate> <div>There are no records to display</div> </NoRecordsTemplate>

</MasterTableView>

<ExportSettings HideStructureColumns="true" ExportOnlyData="true" IgnorePaging="true" OpenInNewWindow="true">

<Excel FileExtension="xlsx" Format="ExcelML" />

<Csv ColumnDelimiter="VerticalBar" />

</ExportSettings>

<ClientSettings>

<ClientEvents OnRowDblClick="RowDblClick"></ClientEvents>

</ClientSettings>

</telerik:RadGrid>

Khan
Top achievements
Rank 2
 answered on 05 Dec 2013
3 answers
164 views
I'd like to check the first few bytes of a file that is being uploaded to ensure that it is actually of the type specified in its file exstension.
Is there any built-in functionality  or recommended way of doing this with a RadAsyncUpload control?
Thanks!
Plamen
Telerik team
 answered on 05 Dec 2013
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?