Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
73 views
Hi I'm new but I very intersting in the Editor http://demos.telerik.com/aspnet-ajax/editor/examples/default/defaultcs.aspx
I have a questio about this control.

It is possible I add a custom toolbar, maybe I need a toolbar with field become to store procedure or I need add more functionability so it is possible?

It is difficult implement this control in my web site?
Shinu
Top achievements
Rank 2
 answered on 23 Sep 2010
1 answer
98 views
Hello, i have 2 questions and they are related:
1. If you have a column that is bound to another table, and you go to edit a record, is there a way to resize the radcombobox that is provided by default?
2. If replacing the default with edititemtemplate, what is the proper way to bind that radcombobox to the current record value? setting text property doesn't work because its bound to the datasource later and overwrites your selection.

Thanks,
Viktor.
Shinu
Top achievements
Rank 2
 answered on 23 Sep 2010
2 answers
144 views
Hi,

I am using radgrid with nested detail view.
whenever user click the row, it shows detail info for particular row in the form of RadListViews.
The RadListViews are inside RadTabStrip, now when i try to Eport to PDF, it throughs exception

Telerik.Web.Apoc.ApocException: internal-destination or external-destination must be specified in basic-link


When i removed the RadTabStrip from NestedViewTemplate, i am able to export to PDF, do we need special setting if i am using RadTabStrip.

Note: telerik Version=2010.1.309.35

The code is as follows:


<NestedViewTemplate>
                        <asp:Label ID="Label1" runat="server" Style="display: none;" Text='<%#Eval("ID") %>'></asp:Label>
                        <asp:Panel ID="NestedViewPanel" runat="server" CssClass="viewWrap">
                            <div class="contactWrap">
                                <telerik:RadTabStrip  EnableViewState="true" runat="server" ID="TabStip1" MultiPageID="Multipage1" SelectedIndex="1">
                                    <Tabs>
                                        <telerik:RadTab runat="server" Text="Employee Detail" PageViewID="PageView3">
                                        </telerik:RadTab>                                 
                                     </Tabs>
                                    
                                </telerik:RadTabStrip>
                                <telerik:RadMultiPage runat="server" ID="Multipage1" SelectedIndex="1" RenderSelectedPageOnly=  "false">
                                   
                                      <telerik:RadPageView runat="server" ID="PageView3">
                                           <div class="contactWrap">
                                                <telerik:RadListView ID="RadListView2" runat="server" DataSourceID="ObjectDataSource1"
                                                         ItemPlaceholderID="EmptyDataHolder">
                                               </telerik:RadListView>
                                          </Div>
                                      </telerik:RadPageView>

                                </telerik:RadMultiPage>
                            </div>
                        </asp:Panel>
                </NestedViewTemplate>
naimish
Top achievements
Rank 1
 answered on 23 Sep 2010
2 answers
210 views
Hi,

I try to set up a RadGrid with a delete-icon to delete a record. When the delete-button in the GridButtonColumn is from type LinkButton it works fine. But when I change it to an ImageButton to show the delete-icon, I get the following error when deleting a record:

Invalid postback or callback argument.  Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page.  For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them.  If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.


The error appears after the confirmationdialog. I tried the Classic confirmationdialog, but it didn't help.

Any ideas?

<body>
    <form id="form1" runat="server">
    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" />
    <telerik:RadAjaxManagerProxy ID="RadAjaxManagerProxy1" runat="server">
        <AjaxSettings>
            <telerik:AjaxSetting AjaxControlID="grdPlaylistItems">
                <UpdatedControls>
                    <telerik:AjaxUpdatedControl ControlID="grdPlaylistItems" LoadingPanelID="RadAjaxManagerLoadingPanel1" />
                </UpdatedControls>
            </telerik:AjaxSetting>
        </AjaxSettings>
    </telerik:RadAjaxManagerProxy>
    <telerik:RadWindowManager ID="RadWindowManager1" Skin="Windows7" runat="server">
    </telerik:RadWindowManager>
    <asp:Label ID="lblTitlePlaylistItems" runat="server"><strong>Playlist Items</strong></asp:Label>
    <telerik:RadGrid ID="grdPlaylistItems" runat="server">
        <MasterTableView TableLayout="Fixed">
            <Columns>
                <telerik:GridButtonColumn CommandName="Delete" Text="Delete" UniqueName="DeleteColumn"
                    ButtonType="ImageButton" ImageUrl="../images/icons/remove.png" HeaderStyle-Width="30px"
                    ConfirmDialogType="RadWindow" ConfirmDialogHeight="100px" ConfirmText="Are you sure you want to delete this item?"
                    ConfirmTitle="Delete playlist item">
                </telerik:GridButtonColumn>
                <telerik:GridTemplateColumn HeaderStyle-Width="70px" HeaderText="Thumbnail">
                    <ItemTemplate>
                        <asp:Image ID="imgThumbnail" runat="server" />
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridBoundColumn DataField="ItemName" HeaderText="Name" HeaderStyle-Width="200px">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="PlaylistItemType" HeaderText="Type" HeaderStyle-Width="70px">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="ItemDuration" HeaderText="Duration" HeaderStyle-Width="120px">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SortOrder" HeaderText="SortOrder" UniqueName="SortOrder"
                    HeaderStyle-Width="45px" Visible="true">
                </telerik:GridBoundColumn>
            </Columns>
        </MasterTableView>
    </telerik:RadGrid>
    </form>
</body>
Ilona
Top achievements
Rank 1
 answered on 23 Sep 2010
1 answer
88 views
I'm hoping this is an easy fix and just something I've overlooked.  I have a horizontal menu with vertical slides for children and RightExpand slides for grandchildren.  The child nodes display an arrow if they have children when hovered.  This works great.  However, when the mouse is moved to the grandchildren, the arrow disappears.  Is there any way to get it to stay there so long as that child is expanded?  Again, I'm sure this is something I'm overlooking.  Here's some code:

This is what I have pertaining to the arrow:  I can include more code if needed.  Thank you.
.RadMenu_NavBlue .rmGroup .rmLink:hover .rmExpandRight,
.RadMenu_NavBlue .rmGroup .rmFocused .rmExpandRight,
.RadMenu_NavBlue .rmGroup .rmExpanded .rmExpandRight,
.RadMenu_NavBlue .rmGroup .rmSelected .rmExpandRight
{
    background:url(menu/bluearrow.gif) no-repeat right;
}
Yana
Telerik team
 answered on 23 Sep 2010
1 answer
106 views
hi there ,
i have a database with 2 tables on it,one of 'em is used for Rows(TRows) and onother for Columns(TColumns).one table for Values too.(TValues)
i want to radgrid to be like an excel sheet ,and i want to load columns from TColumns and rows from TRows.then set values from TValues.

can i do that?? is it possible?


if it has onother solution please help me.
thanks.
Radoslav
Telerik team
 answered on 23 Sep 2010
1 answer
76 views
hi my dear friends :

i am so mad about onfocus and onblur events in ajaxify mode...
i have this problem in radcomboboxes and RadInput.

i have a radmaskedtextbox and i introduced it as a update control of an another ajaxified controls(such as radajaxmanager(ajaxified) and A RadTextBox).
in onblur of that radmaskedtextbox i call radajaxmanager ajaxRequest ( i Ajaxified RadAjaxManager).
when i click on that RadMaskedTextBox OnBlur event suddenly Fires (without click on another area) And The Codes in AjaxRequest Execute. (control loses it's focus)
i should click on it 2 or 3 time more for inputing data Because of losing focus.
why RadMasked Text Box Acts Like this?
i Have the same issue about a RadTextBoxes...

it seems without ajaxify mode every thing is ok but in ajaxify mode (introduce as a update control) focus and blur problems appear.

how can i fix this problem?

i am using radajaxmanager ....

thanks in future advance
best regards
Maria Ilieva
Telerik team
 answered on 23 Sep 2010
0 answers
127 views
Hi Telerik,
Can i know if File Explorer will help me in acheiving the following. I have to upload an excel file dynamically and as soon as i upload i need to display the file name as parent node and the sheets in excel as child nodes and the columns as their child nodes in a tree view structure. Also i should be able to drag the columns of each sheet and bind to a grid along with column data. Please do reply me as soon as possible. Thanks in advance.
Priya
Top achievements
Rank 1
 asked on 23 Sep 2010
3 answers
138 views
I have a simple form that has the RADUpload and RADProgressbar on it.  I have a save and cancel buttons (ASP:BUTTONS) and have registered thr respective Telerik controls in the web.config file (See Below) and when I press the Save (Submit) button, the page never returns.  Eventually I will get an ajax time out error.  The project is .NET 4.0 and I am using the Telerik controls v4.0.30319.  Note, when I also press the cancel button, I still have a locked up page.  I have tried many different combinations such as
* uploaded zero files
* 1 very small file and
* 1 very large file



  <system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="System.Data.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
      </assemblies>
    </compilation>
    <httpRuntime maxRequestLength="809600" />
    <authentication mode="Forms">
      <forms loginUrl="~/Account/Login.aspx" timeout="2880" />
    </authentication>
    <membership>
      <providers>
        <clear />
        <add name="AspNetSqlMembershipProvider" type="System.Web.Security.SqlMembershipProvider" connectionStringName="ApplicationServices" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" maxInvalidPasswordAttempts="5" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="0" passwordAttemptWindow="10" applicationName="/" />
      </providers>
    </membership>
    <profile>
      <providers>
        <clear />
        <add name="AspNetSqlProfileProvider" type="System.Web.Profile.SqlProfileProvider" connectionStringName="ApplicationServices" applicationName="/" />
      </providers>
    </profile>
    <roleManager enabled="false">
      <providers>
        <clear />
        <add name="AspNetSqlRoleProvider" type="System.Web.Security.SqlRoleProvider" connectionStringName="ApplicationServices" applicationName="/" />
        <add name="AspNetWindowsTokenRoleProvider" type="System.Web.Security.WindowsTokenRoleProvider" applicationName="/" />
      </providers>
    </roleManager>
    <httpHandlers>
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
    </httpModules>
  </system.web>
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <add name="RadUploadModule" preCondition="integratedMode" type="Telerik.Web.UI.RadUploadHttpModule" />
    </modules>
    <validation validateIntegratedModeConfiguration="false" />
    <handlers>
      <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
      <add name="Telerik_RadUploadProgressHandler_ashx" verb="*" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" />
    </handlers>
  </system.webServer>
Genady Sergeev
Telerik team
 answered on 23 Sep 2010
1 answer
97 views
Hi!

Ive built my own image editor dialog which is opened via a contextmenu for all img elements. Is there a way to refresh the content area so the edited image is refreshed without doing a postback?

/Niclas
Rumen
Telerik team
 answered on 23 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?