Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
140 views
Dev Environment: VS 2008 
Telerik.Web.UI: 2008.2.826.35
Build: ASP.Net 3.5

Problem:
In my local development environment (localhost), all response.redirects work fine.  When I deploy the code to the web server, the redirects do not work and I get the following error:

Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled. 
Details: Error parsing near ' 
 
<!DOCTYPE html P'. 

Why would the redirects work on my machine but not on the webserver?

In my previous version of the website (using a previous Telerik build and using ASP.Net 2.0) everything worked just fine.

I know that previously you could not do response.redirects but that changed a while back (the application has been in a production environment for the last 3 months using them on an ajaxified pages without problem).

Dustin

Sebastian
Telerik team
 answered on 27 Oct 2008
1 answer
92 views

Hi all, I have a client that is getting frustrated because when he has his GridView in edit mode (all rows in edit mode) he has to hit tab 5 times in order to get to the next row / record field he needs to add data to. Essentially it would be nice if he could tab down through the column vs. tabbing through the row.

 Is there a way to tab down through the column or at least fake that fuction?

 cheers

Princy
Top achievements
Rank 2
 answered on 27 Oct 2008
3 answers
195 views
Hi,
my Sliding Pane position get all messed up after I undocked it.  Probably cause by my DIV.  Here's a sample of my code:

 

 

 

<telerik:RadSplitter id="MainSplitter" runat="server" width="700" height="500" Skin="Inox" >

 

 

 

 

 

<div style="position:relative;top:100px;left:15px;" >

 

 

 

 

 

<telerik:RadPane id="LeftPane" runat="server" width="22" scrolling="none" >

 

 

 

 

 

<telerik:RadSlidingZone id="SlidingZone1" runat="server" width="22">

 

 

 

 

 

<telerik:RadSlidingPane CssClass="ApplyPosition" id="RadSlidingPane1" title="Menu" runat="server" width="150">

 

 

 

 

 

 

 

<!-- Place the content of the pane here -->

 

 

<table border="0" cellspacing="0" cellpadding="5" style="width:100%">

 

 

 

 

 

 

<tr>

 

 

 

 

 

<td>

 

 

 

 

 

<telerik:RadToolBar ID="RadToolBar1" Runat="server" Height="20px"

 

 

 

 

 

onbuttonclick="RadToolBar1_ButtonClick" Skin="Telerik" OnClientButtonClicked="OnClientButtonClicked">

 

 

 

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

 

 

 

<Items>

 

 

 

 

 

<telerik:RadToolBarButton runat="server" CommandName="Act" Text="Actualiser" ImageUrl="~/images/prorogation.gif" ></telerik:RadToolBarButton>

 

 

 

 

 

<telerik:RadToolBarButton runat="server" CommandName="RA" Text="Risk Analyst" Target="_parent" NavigateUrl="http://srvdweb02/riskanalyst/" ImageUrl="~/images/RA.jpg" ></telerik:RadToolBarButton>

 

 

 

 

 

 

</Items>

 

 

 

 

 

</telerik:RadToolBar>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

<tr>

 

 

 

 

 

<td style="height: 5px">

 

 

 

 

 

<telerik:RadTreeView

 

 

ID="RadTreeView1"

 

 

runat="server"

 

 

 

 

 

OnClientNodeClicking="onNodeClicking"

 

 

 

 

 

Skin="Sunset" >

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Dossiers" ImageUrl="~/images/folders.gif" NavigateUrl="~/Forms/Base/frmHome.aspx" Selected="true">

 

 

 

 

 

<Nodes>

 

 

<telerik:RadTreeNode runat="server" Text="Nouveau" value="NouveauDossier" ImageUrl="~/images/add2.gif" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Ouvrir" ImageUrl="~/images/icon_open.gif" NavigateUrl="frmRechDossier.aspx" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="FW08001 - Gestion Planeta" Value="Scenario1" Font-Bold="true" NavigateUrl="~/frmDossier.aspx" ImageUrl="~/images/folders.gif" Visible="false">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Interventions" Value="Intervention1" ImageUrl="~/images/move.gif">

 

 

 

 

 

<Nodes>

 

 

<telerik:RadTreeNode runat="server" Text="Nouvelle intervention" ImageUrl="~/images/add2.gif" Value="NouvelleIntervention" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Nouveau prˆt(Brouillon)" ImageUrl="~/images/pret.gif" NavigateUrl="frmIntervention.aspx" >

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Emprunteurs" ImageUrl="~/images/emprunteur.gif" NavigateUrl="~/frmEmprunteurPortefeuille.aspx">

 

 

 

 

 

<Nodes>

 

 

<telerik:RadTreeNode runat="server" Text="Gestion Planeta soci‚t‚ en commandite(100%)" ImageUrl="~/images/emprunteur.gif" NavigateUrl="frmEmprunteur.aspx" />

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Propri‚t‚s" ImageUrl="~/images/house_icon.gif" >

 

 

 

 

 

<Nodes>

 

 

<telerik:RadTreeNode runat="server" value="Scenario1v1" Text="2120 Sherbrooke Est, Montreal" ImageUrl="~/images/house_icon.gif" NavigateUrl="frmPropriete.aspx" />

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="FW08002 - Ridgewood" Value="Scenario2" visible="false" Font-Bold="true" NavigateUrl="~/frmDossier.aspx" ImageUrl="~/images/folders.gif">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Interventions" ImageUrl="~/images/move.gif">

 

 

 

 

 

<Nodes>

 

 

<telerik:RadTreeNode runat="server" Text="Nouvelle intervention" ImageUrl="~/images/add2.gif" Value="NouvelleIntervention"/>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Nouveau prˆt (Approuv‚)" ImageUrl="~/images/pret.gif" NavigateUrl="frmIntervention.aspx">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Emprunteurs"

 

 

ImageUrl="~/images/emprunteur.gif"

 

 

NavigateUrl="~/frmEmprunteurPortefeuille.aspx">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="SEC Ridgewood"

 

 

ImageUrl="~/images/emprunteur.gif" NavigateUrl="frmEmprunteur.aspx">

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

<telerik:RadTreeNode runat="server" ImageUrl="~/images/house_icon.gif"

 

 

Text="Propri‚t‚s">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" ImageUrl="~/images/house_icon.gif"

 

 

NavigateUrl="frmPropriete.aspx" Text="3465-75, Ridgewood, Montr‚al" Value="Scenario2np">

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

<telerik:RadTreeNode runat="server" Value="Scenario2refin" Text="Refinancement (Brouillon)" visible="false" ImageUrl="~/images/revisionFin.gif" NavigateUrl="frmIntervention.aspx">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Emprunteurs" ImageUrl="~/images/emprunteur.gif" NavigateUrl="~/frmEmprunteurPortefeuille.aspx">

 

 

 

 

 

<Nodes>

 

 

<telerik:RadTreeNode runat="server" Text="Capital BLF inc." ImageUrl="~/images/emprunteur.gif" NavigateUrl="frmEmprunteur.aspx" />

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Propri‚t‚s" ImageUrl="~/images/house_icon.gif">

 

 

 

 

 

<Nodes>

 

 

<telerik:RadTreeNode runat="server" Text="3465-75, Ridgewood, Montr‚al" ImageUrl="~/images/house_icon.gif" NavigateUrl="frmPropriete.aspx" />

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Emprunteurs" ImageUrl="~/images/emprunteur.gif">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Nouveau" ImageUrl="~/images/add2.gif" Value="NouveauEmprunteur" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Ouvrir" ImageUrl="~/images/icon_open.gif" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Capital BLF inc." ImageUrl="~/images/emprunteur.gif" NavigateUrl="frmEmprunteur.aspx"></telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Di Lilo" ImageUrl="~/images/emprunteur.gif" NavigateUrl="frmEmprunteur.aspx"></telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Gestion Planeta soci‚t‚ en commandite" ImageUrl="~/images/emprunteur.gif" NavigateUrl="frmEmprunteur.aspx"></telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="James Bond" ImageUrl="~/images/emprunteur.gif" NavigateUrl="frmEmprunteur.aspx"></telerik:RadTreeNode>

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Propri‚t‚s" ImageUrl="~/images/house_icon.gif">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Ouvrir" ImageUrl="~/images/icon_open.gif" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="2120 Sherbrooke Est Montreal" ImageUrl="~/images/house_icon.gif" NavigateUrl="frmPropriete.aspx" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="3465-75 Ridgewood, Montreal" ImageUrl="~/images/house_icon.gif" NavigateUrl="frmPropriete.aspx" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="845-65 de Maisonneuve Montreal" ImageUrl="~/images/house_icon.gif" NavigateUrl="frmPropriete.aspx" />

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="1570-80 St-Timoth‚e Montreal" ImageUrl="~/images/house_icon.gif" NavigateUrl="frmPropriete.aspx" />

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Administration" ImageUrl="~/images/12administrativeTools.gif">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Tables ParamÅ tres">

 

 

 

 

 

<Nodes>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Utilisateurs" NavigateUrl="~/Forms/AdminFamily/frmUser.aspx" ImageUrl="~/images/user.gif" >

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

<telerik:RadTreeNode runat="server" Text="Devises" ImageUrl="~/images/currency.gif">

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

</Nodes>

 

 

 

 

 

</telerik:RadTreeNode>

 

 

 

 

 

</Nodes>

 

 

</telerik:RadTreeNode>

 

 

</Nodes>

 

 

 

 

 

<CollapseAnimation Type="OutQuint" Duration="100"></CollapseAnimation>

 

 

 

 

 

<ExpandAnimation Duration="100"></ExpandAnimation>

 

 

 

 

 

</telerik:RadTreeView>

 

 

 

 

 

</td>

 

 

 

 

 

</tr>

 

 

 

 

 

</table>

 

 

 

 

 

 

 

 

</telerik:RadSlidingPane>

 

 

 

 

 

 

</telerik:RadSlidingZone>

 

 

 

 

 

</telerik:RadPane>

 

Svetlina Anati
Telerik team
 answered on 27 Oct 2008
1 answer
151 views
I currently am trying to put together an online mail viewer for our internal network. I'm using panes with a RadGrid in the top pain and a RadEditor on the bottom pane. Simple enough!

Now, what I would like to be able to do is via ajax be able to to "click" a row and populate the RadEditor in the bottom pane with the corresponding body of the message...just like a typical mail viewer works.

I'm having troubles getting a AJAX request to fire and update the panel. I know you have to enable ajax on the grid. But then what?

Do I add a client side rowclick event that does the AJAX part or is there another way.

Code examples would be awesome if available. I've studied the examples on the site that I could find that even remotely did what I was wanting, but haven't been able to successfully piece it all together.

Thanks in advance!
-Brent
Princy
Top achievements
Rank 2
 answered on 27 Oct 2008
1 answer
144 views
Hi,

I have a Grid, have client event row edit and item created event.
when user select the row in client side, 
it will popup a summary window. 
when user click edit by click the edit link, it will popup another edit window. 
however, it will popup the summary window.
And I don't want to open the sumamry window when user click edit link.
How to do that? please hlep.

Regards,

Paul

test.aspx

                            <telerik:RadGrid ID="RadGrid1"
                                AllowMultiRowSelection="true"
                                AllowMultiRowEdit="true"
                                Skin="WebBlue" runat="server"
                                AllowAutomaticDeletes="True"
                                AllowAutomaticInserts="True"
                                Width="97%" PageSize="15"
                                AllowAutomaticUpdates="True"
                                AllowPaging="True"
                                AutoGenerateColumns="False"
                                ShowStatusBar="false"    
                                AllowSorting="true"
                                EnableAJAX="true"
                                EnableAJAXLoadingTemplate="true"
                                AllowFilteringByColumn="true"
                                LoadingTemplateTransparency="50"
                                OnItemCreated="RadGrid1_ItemCreated"
                                OnSelectedIndexChanged="RadGrid1_SelectedIndexChanged"
                                OnNeedDataSource="RadGrid1_NeedDataSource">
                            <ClientSettings AllowKeyboardNavigation="true"
                                EnablePostBackOnRowClick="false">
                                <Selecting AllowRowSelect="true" />
                                <ClientEvents OnRowSelected="RowSelected" />
                            </ClientSettings>
....
                function RowSelected(sender, args) {
                    window.open("propertyDetailsPopup.aspx?PropertyID=" + args.getDataKeyValue("Property_ID"), 'propertydetails', 'width=900, height=700');                
                }

----------------
test.cs

       if (e.Item is GridDataItem)
        {
            HyperLink editLink = e.Item.FindControl("EditLink") as HyperLink;
            editLink.Attributes["href"] = "#";
            editLink.Attributes["onclick"] = string.Format("return ShowEditForm('{0}','{1}');", e.Item.OwnerTableView.DataKeyValues[e.Item.ItemIndex]["Property_ID"], e.Item.ItemIndex);
        }


Yavor
Telerik team
 answered on 27 Oct 2008
1 answer
58 views
Hello,

It seems to be an error when you say in the first Troubleshooting paragraph that controls could be access in js with this code:
 var grid = $find(<%= RadGrid1.ClientID %>);

Shouldn't be  var grid = $find('<%= RadGrid1.ClientID %>'); ?

CS
Daniel
Telerik team
 answered on 27 Oct 2008
1 answer
131 views

I'm adding a RadContextMenu to a grid with:

  • ClientSettings-AllowRowSelect=true
  • AllowMultiRowSelection=true.

I'm trying to control the behavior of the selected state of the rows in the following way:

  1. If the context menu is activated over a row that was previously selected, then that row and any other selected row should remain selected.
    This works fine.
  2. If the context menu is activated over a row that was not previously selected, then select the row and deselect all others.
    This is the problem I'm having: If I right click on a grid row that is not selected, it selects that row and leaves all others selected. In the client-side context menu script, I'm trying to deselect all rows and then reselect the clicked row. Is this possible? I can't seem to figure out how to identify the row that was "right-clicked".

Thanks!

Rosen
Telerik team
 answered on 27 Oct 2008
1 answer
53 views
I have a DetailsView with a templateField that has a RadEditor in it.  When I enter edit mode in the DetailsView, if the DetailsView is in a RadAjaxPanel, or the RadScriptManager is set to activate the DetailsView, an error gets thrown in Internet Explorer.  Everything works fine in Firefox, but I need to use IE.  When the edit template loads, the Design, HTML, and Preview buttons at the bottom of the editor are out of place and the formatting on the above buttons is not correct.  Turning off AJAX enables everything to work without error.
Rumen
Telerik team
 answered on 27 Oct 2008
1 answer
121 views
Hi,

I have a page with several images. When I click on one of them, a radtooltip opens with a RadAjaxPanel+RadAjaxLoadingPanel and some buttons in it.

The tooltip position is defined like that : RelativeTo="BrowserWindow"

How can I make the RadAjaxLoadingPanel follow the tooltip when the main page is scrolled ?
Right now the tooltip follows the page when I scroll it but that's not the case for the RadAjaxLoadingPanel  when I fired a button on it (it always shows on the top of the page, where it was first loaded I guess).

EDIT : Problem occurs in firefox 3.0.3, not in IE 7


Svetlina Anati
Telerik team
 answered on 27 Oct 2008
1 answer
103 views
I am working with the RadMenu for ASP.NET AJAX Q2 2008, specifically with the Hay skin.  I tested the menu with IE 7 and FireFox 3.0.3 and the menu is displaying perfectly.  However, when I do the same test with Safari 3.1.2 for PC, I realize that the menu looks a little different.  For example some of the right borders of some items are not displayed.  I thought that maybe it was a mistake I did, so I decided to go to the demo site of telerik to check if I get the same results.
http://demos.telerik.com/ASPNET/Prometheus/Menu/Examples/Appearance/Skins/DefaultCS.aspx
When I select the Hay skin on the demo page, I see the same display errors. So I have the following questions:
- Are you able to reproduce the same problem?
- Has this bug reported before?
- If so, is there a workaround I can try... maybe create a custom skin and modify the css file?
I know it would be easier to explain the errors if I could send a screenshot of the problem, but I hope you understand my problem.
Thanks in advance for any help!
Yana
Telerik team
 answered on 27 Oct 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?