Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
149 views
Dear all

I created a grid and added a separate search field outside this grid. The paging within the grid is activated. Everything is working fine, but I have a very strange problem.

When I do a search where more than one page is showed and moved to one of the next pages (e.g. page 5) and I run another search with more than 5 pages, the actual page won't change to the first one (still page 5 is activated).

I have this problem only with the selfmade search-field. And the search itself is working fine.

Has anybody an idea what to do?

Thanks a lot for your help

Marino
Susanna Wiedemann
Top achievements
Rank 2
 answered on 19 Aug 2009
1 answer
152 views
I have a recurring appointment, every day 9:00 am for 10 days.  When I click (or double click) the appointment, I would like to:
- Not have the prompt of editing 'This recurrence or Series' question to show.
- Have my own form with my own questions displayed.
- Have the appointment 'none editable'

What I am trying to do is list a recurring appointment and allow user to click that appointment to reserve that slot (for that specific day).  I want to record that input in the db and reflect that on their own calendar.
Schlurk
Top achievements
Rank 2
 answered on 19 Aug 2009
1 answer
234 views
Is there any way to default the value of the URL in the Hyperlink Manager? I have a standard URL and then the flle name appended to the end (which I know), so I would know the entire path without my user's having to enter it. Is there a way to do this?

Also, would there be a way to default to 'Target' to 'New Window'?

Thanks,
Susan
Schlurk
Top achievements
Rank 2
 answered on 19 Aug 2009
0 answers
73 views
Hello,
I would like to be able to load pure aspx code into the editor for minor editing and then save it back to the db.
However the aspx code is getting garbled in the editor.

my page's aspx
  <telerik:RadEditor ID="RadEditor1" runat="server" Width="100%" AllowScripts="true" 
                        Height="700px" EditModes="Html" ToolbarMode="ShowOnFocus" /> 
                     
                

the code behind:
            RadEditor1.Content = AspxCodeFromDB; 
 

Appears like this in the editor:
  &lt;%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="FrontMasterPage" ClassName="FrontMasterPage"  %&gt; 
        &lt;%@ Register src="MasterPages/Controls/Blackberry/Footer.ascx" tagname="Footer" tagprefix="uc2" %&gt; 
        &lt;%@ Register src="MasterPages/Controls/Blackberry/Header.ascx" tagname="Header" tagprefix="uc2" %&gt; 
        &lt;%@ Register src="MasterPages/Controls/Cal.ascx" tagname="Cal" tagprefix="uc2" %&gt; 
        &lt;%@ Register src="MasterPages/Controls/Blackberry/Categories.ascx" tagname="Categories" tagprefix="uc2" %&gt; 
        &lt;%@ Register src="MasterPages/Controls/Blackberry/Search.ascx" tagname="Search" tagprefix="uc2" %&gt; 

Aron
Top achievements
Rank 2
 asked on 19 Aug 2009
3 answers
111 views

My codes is the same with your sample. But when I upload file, it cannot very well show.  it cannot show Estimated time:  Speed:

and 

 the file up load process threw errors and the video process upload failed.

after a while the server ran out of memory and then shut down the email server...

so, we need to find out able memory leaks....

Could you help me?

Genady Sergeev
Telerik team
 answered on 19 Aug 2009
2 answers
228 views
I have been trying to get the RadGrid to Export my multi table view into excel.  If I don't try and do multiple tables it exports fine.  I think I have finally gotten AJAX turned off and it is trying to export and I get an error that there is no ContractID which I think is because there isn't a child row for that parent and when I make sure that all the parent rows have child rows I get.

I have try catch blocks in every code block I have and this is never trapped.  I am going to have to switch to a different set of controls from another vendor if I can't make this work by end of day tomorrow.  

Thanks,

John

 

Server Error in '/' Application.

Syntax error: Missing operand before '=' operator.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SyntaxErrorException: Syntax error: Missing operand before '=' operator.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SyntaxErrorException: Syntax error: Missing operand before '=' operator.]
   System.Data.ExpressionParser.Parse() +4821928
   System.Data.DataExpression..ctor(DataTable table, String expression, Type type) +121
   System.Data.DataView.set_RowFilter(String value) +153
   System.Data.LinqDataView.set_RowFilter(String value) +53
   Telerik.Web.UI.GridEnumerableFromDataView.PerformTransformation() +372
   Telerik.Web.UI.GridEnumerableFromDataView.TransformEnumerable() +21
   Telerik.Web.UI.GridTableView.GetEnumerator(Boolean useDataSource, GridEnumerableBase resolvedDataSource, ArrayList dataKeysArray) +105
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +187
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +544
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   Telerik.Web.UI.GridTableView.PerformSelect() +4
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   Telerik.Web.UI.GridTableView.DataBind() +235
   Telerik.Web.UI.GridTableView.BindClone(GridTableView clone) +59
   Telerik.Web.UI.GridItemBuilder.BindDetailTable(GridDataItem parentItem, GridTableView cloned) +58
   Telerik.Web.UI.GridItemBuilder.BindDetailTables(GridDataItem parentItem, GridNestedViewItem detailItem) +144
   Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) +1181
   Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) +129
   Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) +593
   Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) +544
   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) +57
   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) +114
   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +31
   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +142
   Telerik.Web.UI.GridTableView.PerformSelect() +4
   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +73
   Telerik.Web.UI.GridTableView.DataBind() +235
   Telerik.Web.UI.RadGrid.DataBind() +80
   Telerik.Web.UI.RadGrid.AutoDataBind(GridRebindReason rebindReason) +2120
   Telerik.Web.UI.RadGrid.RebindForExport() +107
   Telerik.Web.UI.Grid.Export.TableViewExporter.PrepareForExport() +160
   Telerik.Web.UI.Grid.Export.TableViewExporter.page_PreRender(Object sender, EventArgs e) +5
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +8682870
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842


Version Information: Microsoft .NET Framework Version:2.0.50727.3082; ASP.NET Version:2.0.50727.3082
John
Top achievements
Rank 2
 answered on 19 Aug 2009
2 answers
79 views
Hi,

I need help...

this is my code in aspx:

        <telerik:RadMenu ID="RadMenu1" runat="server">
            <Items>
                <telerik:RadMenuItem>
                    <ItemTemplate>
                        <b>Skin:</b>
                        <telerik:RadSkinManager ID="RadSkinManager1" runat="server" Skin="Hay" ShowChooser="True">
                        </telerik:RadSkinManager>
                    </ItemTemplate>
                </telerik:RadMenuItem>
            </Items>
        </telerik:RadMenu>

i need take the value into in RadSkinManager1.Skin...

I try this code into CS;
        Session["skinid"] = ((RadSkinManager)RadMenu1.FindControl("RadSkinManager1")).Skin;

Object reference not set to an instance of an object.


But dont't work, if i run CTRL+F5 in my screen show...


Line 13: 		{
Line 14: 			
Line 15: Session["skinid"] = ((RadSkinManager)RadMenu1.FindControl("RadSkinManager1")).Skin; Line 16: }


My question is ?

How get de value (Skin) the component RadSkinManager, but this component into in ITEMTAMPLATE for radmenu...

ps. sorry dont write very well my english, but i realy need this code my friendly's

tanks and best regards

José Luiz Brazil
Jose Luiz Borges
Top achievements
Rank 2
 answered on 19 Aug 2009
1 answer
90 views
I've been digging for a post on doing jquery or jquery-like transitions when a form template is opened and closed.  Rather than having the form suddenly appear or disappear, I'd like to see the form slide into place.

Has anyone used an approach successfully on this?  Given the wireup inside of of the asp.net ajax grid, is this possible?


Yavor
Telerik team
 answered on 19 Aug 2009
13 answers
863 views
After the Q2 2008 SP2 release of RadControls for ASP.NET AJAX we received several messages from customers who upgraded to the service pack and got a clientside javascript error from the RadFormDecorator saying
"_a.deleteRule is null or not an object".

Upon further research we were able to determine that the problem comes from using RadFormDecorator and RadStyleSheetManager on the same page.

The error is caused by new code in the RadFormDecorator that has to do with eliminating the short flicker when a page loads. Up until SP2  RadFormDecorator the user would shortly see the default browser elements before those were replaced with their decorated counterparts. Eliminating this flicker was the most common request that came back as feedback from customers. Unfortunately, it is an extremely tricky thing to do - as the way the RadFormDecorator functions is to decorate elements on the clientside, rather than do server-side processing.

We were able to workaround the flickering problem by using a css style to hide input elements, and then show them back after they are decorated. However, the hack relies on the
RadFormDecorator being able to find its own CSS file on the client and modify it. Unfortunately, when using RadStyleSheetManager all CSS files are combined into one single file, thus causing the RadFormDecorator to fail. This is a logical error that was not detected during our tests - and unfortunately there is no workaround for the time being.

We are working on ensuring that the
RadFormDecorator and  RadStyleSheetManager will work properly and the problem will be corrected in a matter of days. For the time being the only way around it is to not use  RadStyleSheetManager together with RadFormDecorator.


============================================
Update:

We found that the RadFormDecorator live examples will not work properly in Firefox if loaded through the web project of the RadControls installation (see the screenshot). If loaded directly via the provided Start menu shortcut (see the screenshot) one will not experience this problem. The RadFormDecorator will function properly in all developer projects and applications as well (except for if RadStyleSheetManager is used - see above)

=============================================
Update #2:

Two new issues were reported with the RadFormDecorator new page initialization and page layout mechanism in certain scenarios.
We have prepared solutions and workarounds for all reported issues. Attached is a simple page that provides the workarounds (two of those are pure CSS and one is javascript that needs to be pasted on the page without the need to modify anything else).


=============================================
Update #3:

An issue was reported with some of RadGrid inputs (such as the "previous page", and "next page" buttons) not visible when the RadFormDecorator is used. The problem comes from the fact that these inputs have no value/text and their look is styled completely using CSS. The "solutions" page was updated to provide a workaround for this scenario as well. As of the next official update, the RadFormDecorator will be modified to not style inputs that have a className/CssClass set. We assume that the presence of a classname would mean that the developer provides separate styling for the input that should not be changed by the RadFormDecorator. Instead, only "unstyled" inputs will be decorated.

=============================================
Update #4:

All problems discussed in this forum thread are fixed in the "Futures" release which is available from the Downloads section in your Client.net account.

There is a new problem however with INPUT elements that become invisible on the page when RadFormDecorator is used in MasterPage / ContentPage scenario. This problem is a side effect from a new approach that we tried to eliminate the initial flickering of the skinned controls.

The good news is that we will fix this problem as well for the Q2 release in 2 weeks. The new solution will be based on the original implementation of the "anti-flickering" fix which had problems when used with RadStyleSheetManager. Now we will make some changes in both products and from Q2 everything will work as expected.
For the time being there is a workaround that you can use in case you stumble upon this problem. What you need to do is to add the following code on the page:
<%@ Page Language="csharp" AutoEventWireup="true" MasterPageFile="./MasterPage.master" %> 
 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> 
    <asp:ScriptManager ID="ScriptManager1" runat="server"> 
    </asp:ScriptManager> 
     
    <script runat=server language=csharp>     
    public void OnPreRender(object sender, System.EventArgs args) 
    { 
        int last = RadFormDecorator1.Controls.Count -1;             
        RadFormDecorator1.Controls[last].ID = RadFormDecorator1.ID + "_hiddenInputsStyle";                                     
    } 
    </script> 
     
    <telerik:RadFormDecorator OnPreRender="OnPreRender" ID="RadFormDecorator1" runat="server" /> 
          
    <telerik:RadComboBox ID="cmbLeerling" runat="server" AutoPostBack="True" CausesValidation="False" 
        Skin="Outlook" Width="200px" AllowCustomText="True" MarkFirstMatch="True"> 
        <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
    </telerik:RadComboBox> 
 
</asp:Content> 




Georgi Tunev
Telerik team
 answered on 19 Aug 2009
3 answers
153 views

Hi,

Whenusing the RADScheduler I would like to add the user information in the subject sectionof the Inline Edit and the detail window as default.

Forexample when I login as a user and I am trying to set up an appointment Ishould be able to see my Name in the subject box as default.

Thanks

Sabrish

sabarishbabu
Top achievements
Rank 1
 answered on 19 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Tien
Top achievements
Rank 1
Iron
Krasimir
Top achievements
Rank 3
Bronze
Iron
Iron
Cedar
Top achievements
Rank 1
Iron
Emil
Top achievements
Rank 1
Iron
Kyle Watson
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?