Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
107 views
Hi,

I am getting the following error as javascript alert window while uploading files with RadUploader :

RadUpload Ajax callback error. Source url returned invalid content :

< !DOCTYPE html PUBLIC "-//W  3C //DTD XHTML 1.0 Transitional  //EN " "http ://www.w3.org /TR /xhtml 1 /DTD  /xhtml 1 -transitional .dtd ">

< html xmlns  =" http ://www   .w 3 .org /1999  /xhtml " >
< head  >
<title> Untitled Page   < /title>
<script type  =" text /javascript " src="" originalAttribute="src" originalPath="" originalAttribute="src" originalPath="" >
if(top.showErrorPopup)
    top.showErrorPopup(window.frameElement)
else
    alert('A critical error occured in the system.Please contact support.);
</script>
< /head  >
< body  >
< /body  >
< /html >

                 Telerik .RadUploadProgressHandler.ashx  ?RadUrid   = 73 a59 d 1d -d4 da -4c 6a -a1 a1 -1eaf 178  eaa 59
Did you register the RadUploadProgressHandler in web.config ?

                Please  ,see the help for more details : RadUpload for ASP.NET Ajax    - Configuration    -RadUploadProgressHandler.

I have registered Telerik.RadUploadProgressHandler.ashx  in the web.config as instructed in the manual. And this error has almost random but frequent occurrance; I couldn't find out any specific reason for this error pop-up.

Any help regarding this matter would be highly appreciated.

~ Best Regards,
   Sadeka

Veselin Vasilev
Telerik team
 answered on 19 Sep 2008
3 answers
93 views
Can someone point me to a sample of how to skin the Rotator?
Tervel
Telerik team
 answered on 19 Sep 2008
2 answers
195 views
Hello

I am building a custom module for the RadEditor in which allows setting some attributes on the form fields. However setting the name attribute is not working in IE according to this bug: IE name attribute bug, and i can't find any good workaround for this. Seeting the name from the "Properties Inspector" module is working correctly. I want to know how can i do this. Can i know what function is used by the "Properties Inspector" module or what that function contains ?

Thank you
Ciprian
Top achievements
Rank 1
 answered on 19 Sep 2008
1 answer
76 views
Hi

I am trying rad tab strip in one of my application in that i have to add new Tabs at client side,which i am very much able to do and i these changes i am able to track server side.

But when ever i am adding a new tab to the tab strip i am also adding(Client side) a new page view to the MultiPageView . Which i also want to be accessible to the server.Which is not happening.

Can anyone please help me in this context.

Thanks
Animesh Misra



Atanas Korchev
Telerik team
 answered on 19 Sep 2008
0 answers
262 views
i'm having  a page with buttons and textboxes and requied field validators for validating..It is working fine with normal .net controls ,but once when i have added the Rad Form Decorator those validations are not working and it is making a round trip to sever...i think the problem is with configuring the AJAX manager..
could any one help me in this regard...
Ramakrishna
Top achievements
Rank 1
 asked on 19 Sep 2008
0 answers
60 views
If I have NodeTemplate and my nodes are block of HTML elements inside a table FireFox 2.0, 3.0 and Opera is not wrapping that block. IE 6 and IE 7 is rendering this blocks and wrapping it just fine. FF and Opera is rendering as this HTML block (unless there is a <br> in there ) as a huge long string. I have tried to look into View Source and something in the main TreeView.css that has the ".RadTreeView" class defined is causing this. It does not matter what Skins of Styles I use. Please help.

Thanks
Himadri
hbanerjee
Top achievements
Rank 1
 asked on 19 Sep 2008
3 answers
112 views
I've noticed that the SortedBackColor on my RadGrids does not clear when I toggle the sort to "None" when I have AutoGenerateColumns="False".  Does anyone know of a work around or fix for this?

Doug
Shinu
Top achievements
Rank 2
 answered on 19 Sep 2008
6 answers
505 views
Hello all
I'm new with telerik. What I want to do is basic but I just didn't find how to do it.
I have a radgrid with MasterTableView and one DetailTable. On each row of my detail table I have a linkbutton. What I want to do is to get the value of the first column on my detailtable of the row I just clicked on, on the code-behind. I tried many event but I couldn't find which one was the right one and how to get the value of my first column.
Please help
this is my code

<

telerik:RadGrid ID="RadGrid1" runat="server" AllowPaging="True"

AllowSorting="True" DataSourceID="CustomerSource" GridLines="None"

AutoGenerateColumns="False">

<MasterTableView datasourceid="CustomerSource" DataKeyNames="NO_FOURNISSEUR">

<RowIndicatorColumn Visible="False">

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

</RowIndicatorColumn>

<ExpandCollapseColumn Visible="False" Resizable="False">

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

</ExpandCollapseColumn>

<EditFormSettings>

<PopUpSettings ScrollBars="None"></PopUpSettings>

</EditFormSettings>

<Columns>

<telerik:GridBoundColumn SortExpression="NO_FOURNISSEUR"

HeaderText="NO_FOURNISSEUR"

DataField="NO_FOURNISSEUR"

UniqueName="NO_FOURNISSEUR"

ReadOnly="true"

Visible="true">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn SortExpression="NOM"

HeaderText="NOM"

DataField="NOM"

UniqueName="NOM"

ReadOnly="true"

Visible="true">

</telerik:GridBoundColumn>

</Columns>

<DetailTables>

<telerik:GridTableView DataKeyNames="No_fournisseur_produit" DataSourceID="PanierItemSource" >

<ParentTableRelation>

<telerik:GridRelationFields DetailKeyField="NO_FOURNISSEUR" MasterKeyField="NO_FOURNISSEUR" />

</ParentTableRelation>

<Columns>

<telerik:GridBoundColumn SortExpression="No_fournisseur_produit"

HeaderText="No fournisseur produit"

DataField="No_fournisseur_produit"

UniqueName="No_fournisseur_produit"

ReadOnly="true"

Visible="true">

</telerik:GridBoundColumn>

<telerik:GridButtonColumn ButtonType=LinkButton UniqueName="LkConfirmer" CommandName="ConfirmerUnItem" Text="Confirmer">

</telerik:GridButtonColumn>

</Columns>

</telerik:GridTableView>

</DetailTables>

</MasterTableView>

</telerik:RadGrid>

Thanks in advance

Shinu
Top achievements
Rank 2
 answered on 19 Sep 2008
8 answers
207 views
Hi,

I have a custom menu set up that works fine in IE7, but in firefox, the background graphic for the menu items does not get displayed behind each item, but just once in the middle of the menu.

Any idea what might be wrong?

My css file is a follows (copy of Web20 with changes for new background graphics)

/* r.a.d.menu Web 2.0 skin */

.RadMenu_Web20
{
 background: url(Menu/MenuItemBackground.gif);
 border-left: solid 1px #617fb5;
}

.RadMenu_Web20_Context
{
 background: none;
 border:0;
}

.RadMenu_Web20 .rmLink
{
 text-decoration: none;
 color: #fff;
 border-left: solid 1px #c2cfe3;
 border-right: solid 1px #617fb5;
 background: transparent;
}

.RadMenu_Web20 .rmLink:hover,
.RadMenu_Web20 .rmFocused,
.RadMenu_Web20 .rmExpanded
{
 color: #006;
 background: transparent url(Menu/MainItemBackgroundHover.gif) no-repeat center;
}

.RadMenu_Web20 .rmText
{
 /*background: transparent url(Menu/RootGroupArrowDown.gif) no-repeat right center;*/
 padding-left: 22px; /* should be adjusted to the size of the images, if they are larger than 16x16px */
 margin-right: 4px;
 font: bold 12px Arial, Verdana, Sans-serif;
 line-height: 28px;
 padding-right: 24px;
    background-image:none;
}

.RadMenu_Web20 .rmRootGroup .rmText .rmLeftImage
{
 margin: 3px 1px 0; /* should be adjusted to the size of the images, if they are larger than 16x16px */
}

.RadMenu_Web20 .rmHorizontal .rmExpandBottom, 
.RadMenu_Web20 .rmHorizontal .rmExpandTop 
{ 
  background: transparent url(Menu/RootGroupArrowDown.gif) no-repeat right center; 
}

.RadMenu_Web20 .rmVertical .rmExpandLeft,
.RadMenu_Web20 .rmVertical .rmExpandRight 
{ 
  background: transparent url(Menu/invertedGroupImage.gif) no-repeat right center; 
}

.RadMenu_Web20 .rmSlide
{
 margin-top:-1px;
}

.RadMenu_Web20 .rmGroup
{
 border: solid 1px #ffffff;
 background: transparent url(Menu/Flyout.jpg) no-repeat;
 color:#ffffff;
}

.RadMenu_Web20 .rmGroup .rmLink
{
 background: transparent url(Menu/Flyout.jpg) no-repeat;
 border: 0px;
 border-bottom: solid 1px #ffffff;
 color: #ffffff;
}

.RadMenu_Web20 .rmGroup .rmText
{
 font-weight: normal !important;
 background: none;
 margin-right: 0 !important;
 padding-left: 30px;
 padding-right: 40px;
 font-size: 11px;
}

.RadMenu_Web20 .rmGroup .rmLink:hover,
.RadMenu_Web20 .rmGroup .rmFocused,
.RadMenu_Web20 .rmGroup .rmExpanded
{
 background: transparent url(Menu/Flyout2.jpg) no-repeat;
 border: 0px;
 border-bottom: solid 1px #ffffff;
 color:#000000;
}

.RadMenu_Web20 .rmLeftArrow,
.RadMenu_Web20 .rmRightArrow,
.RadMenu_Web20 .rmTopArrow,
.RadMenu_Web20 .rmBottomArrow,
.RadMenu_Web20 .rmLeftArrowDisabled,
.RadMenu_Web20 .rmRightArrowDisabled,
.RadMenu_Web20 .rmTopArrowDisabled,
.RadMenu_Web20 .rmBottomArrowDisabled
{
 background: #e7f1ff url(Menu/left.gif) center center no-repeat;
 width: 15px;
 text-decoration:none;
 text-indent:-3000px;
 color:#e7f1ff;
 overflow:hidden;
}

.RadMenu_Web20 .rmTopArrow,
.RadMenu_Web20 .rmTopArrowDisabled
{
 background-image: url(Menu/top.gif);
 width: 100%;
 height: 15px;
}

.RadMenu_Web20 .rmBottomArrow,
.RadMenu_Web20 .rmBottomArrowDisabled
{
 background-image:url(Menu/bottom.gif);
 width: 100%;
 height: 15px;
}

.RadMenu_Web20 .rmRightArrow,
.RadMenu_Web20 .rmLeftArrow
{
 height: 100%;
}

.RadMenu_Web20 .rmRightArrow,
.RadMenu_Web20 .rmRightArrowDisabled
{
 background-image: url(Menu/right.gif);
}

.RadMenu_Web20 .rmVertical .rmSeparator
{
 padding-top: 2px;
 background: #6788be;
 font-size: 1px;
 line-height: 1px;
}

.RadMenu_Web20 .rmSeparator .rmText
{
 display: none;
}

.RadMenu_Web20 .rmExpandLeft,
.RadMenu_Web20 .rmExpandRight,
.RadMenu_Web20 .rmFocused .rmExpandLeft,
.RadMenu_Web20 .rmFocused .rmExpandRight,
.RadMenu_Web20 .rmExpanded .rmExpandLeft,
.RadMenu_Web20 .rmExpanded .rmExpandRight
{
 background: transparent url(Menu/invertedGroupImage.gif) right center no-repeat;
}

.RadMenu_Web20 .rmGroup .rmExpandLeft,
.RadMenu_Web20 .rmGroup .rmExpandRight,
.RadMenu_Web20 .rmGroup .rmFocused .rmExpandLeft,
.RadMenu_Web20 .rmGroup .rmFocused .rmExpandRight,
.RadMenu_Web20 .rmGroup .rmExpanded .rmExpandLeft,
.RadMenu_Web20 .rmGroup .rmExpanded .rmExpandRight
{
 background: transparent url(Menu/groupImage.gif) right center no-repeat;
}

/* mozilla only - disabled state */
.RadMenu_Web20 .rmLink.rmDisabled,
.RadMenu_Web20 .rmLink.rmDisabled:hover
{
 -moz-opacity: 0.8;
 opacity: 0.8;
 color: #ccc;
 background: none;
}

/*right-to-left support*/

.RadMenu_Web20_rtl,
.RadMenu_Web20_rtl *
{
    text-align:right;
}

.RadMenu_Web20_rtl .rmRootGroup .rmText
{
 padding-left: 24px;
 padding-right: 8px;
 margin-right: 0;
 margin-left: 4px;
}

.RadMenu_Web20_rtl .rmGroup .rmText
{
 margin-left: 0 !important;
 padding-left: 40px;
 padding-right: 30px;
}

.RadMenu_Web20 .rmLeftImage
{
 margin: 5px 2px 0;
}

.RadMenu_Web20_rtl .rmHorizontal .rmExpandBottom, 
.RadMenu_Web20_rtl .rmHorizontal .rmExpandTop 
{ 
  background-position:left center; 
}

.RadMenu_Web20_rtl .rmVertical .rmExpandLeft,
.RadMenu_Web20_rtl .rmVertical .rmExpandRight 
{ 
  background: transparent url(Menu/invertedGroupImageRTL.gif) no-repeat left center;
}

.RadMenu_Web20_rtl .rmGroup .rmExpandLeft,
.RadMenu_Web20_rtl .rmGroup .rmExpandRight 
{ 
  background: transparent url(Menu/groupImageRTL.gif) no-repeat 5px center; 
}

.RadMenu_Web20_rtl .rmVertical .rmLink:hover .rmExpandLeft,
.RadMenu_Web20_rtl .rmVertical .rmLink:hover .rmExpandRight,
.RadMenu_Web20_rtl .rmVertical .rmFocused .rmExpandLeft,
.RadMenu_Web20_rtl .rmVertical .rmFocused .rmExpandRight,
.RadMenu_Web20_rtl .rmVertical .rmExpanded .rmExpandLeft,
.RadMenu_Web20_rtl .rmVertical .rmExpanded .rmExpandRight
{
 background: transparent url(Menu/invertedGroupImageRTL.gif) left center no-repeat;
}

.RadMenu_Web20_rtl .rmGroup .rmLink:hover .rmExpandLeft,
.RadMenu_Web20_rtl .rmGroup .rmLink:hover .rmExpandRight,
.RadMenu_Web20_rtl .rmGroup .rmFocused .rmExpandLeft,
.RadMenu_Web20_rtl .rmGroup .rmFocused .rmExpandRight,
.RadMenu_Web20_rtl .rmGroup .rmExpanded .rmExpandLeft,
.RadMenu_Web20_rtl .rmGroup .rmExpanded .rmExpandRight
{
 background: transparent url(Menu/groupImageRTL.gif) 5px center no-repeat;
}

Rob
Top achievements
Rank 1
 answered on 18 Sep 2008
3 answers
247 views
Hi guys,$0$0$0$0I have created a small web application with your controls, and all my data displayed fine, I hand wrote the LINQ queries and had no problems at all. I then decided to enable the edit/delete modes for a couple of the grids I am making use of, and it visually seemed fine, so I presumed that it was working... how wrong I was!$0$0$0$0$0If you click "delete", it reloads the page, but nothing happens to the record.$0$0If you click "edit", you go into inline edit mode, make your changes, click "update", page reloads but all data is reset to what it was before your changes!$0$0$0$0$0I changed my LINQ query to a LINQ Database for one grid, just to test if that was perhaps the issue, and it seems that I am still having the same trouble. Could somebody help me figure out what exactly I am doing wrong here please?$0$0$0$0$0$0$0$0$0$0$0$0<fieldset> $0$0$0$0$0$0                        <legend>Service History<asp:LinqDataSource ID="LinqDataSource1" runat="server"  $0$0$0$0$0$0                                ContextTypeName="db_vmmDataContext"  $0$0$0$0$0$0                                Select="new (ServiceDate, ServicedBy, InvoiceNo, Mileage, ServiceType, DateTyresLastPurchased, NextServiceDueMiles, NextServiceDueDt, MOTd, WhatWasDone)"  $0$0$0$0$0$0                                TableName="vmm_ServiceHistories" Where="VehicleID == @VehicleID"> $0$0$0$0$0$0                            <whereparameters> $0$0$0$0$0$0                                <asp:ControlParameter ControlID="lstVehicleSelectByReg" Name="VehicleID"  $0$0$0$0$0$0                                PropertyName="SelectedValue" Type="Int32" /> $0$0$0$0$0$0                            </whereparameters> $0$0$0$0$0$0                            </asp:LinqDataSource> $0$0$0$0$0$0                        </legend> $0$0$0$0$0$0                        <div> $0$0$0$0$0$0                            <telerik:RadGrid ID="rpt_ServiceHistory" runat="server" skin="Hay"  $0$0$0$0$0$0                                GridLines="None" AutoGenerateDeleteColumn="True" DataMember="DefaultView"  $0$0$0$0$0$0                                DataSourceID="LinqDataSource1" AutoGenerateEditColumn="True"  $0$0$0$0$0$0                                AllowAutomaticDeletes="True" AllowAutomaticUpdates="True"> $0$0$0$0$0$0                                <MasterTableView AutoGenerateColumns="True" datamember="DefaultView" datasourceid="LinqDataSource1"  $0$0$0$0$0$0                                editmode="InPlace"> $0$0$0$0$0$0                                    <RowIndicatorColumn> $0$0$0$0$0$0                                        <HeaderStyle Width="20px"></HeaderStyle> $0$0$0$0$0$0                                    </RowIndicatorColumn> $0$0$0$0$0$0                                    <ExpandCollapseColumn> $0$0$0$0$0$0                                        <HeaderStyle Width="20px"></HeaderStyle> $0$0$0$0$0$0                                    </ExpandCollapseColumn> $0$0$0$0$0$0                             $0$0$0$0$0$0                                </MasterTableView> $0$0$0$0$0$0                                <FilterMenu EnableTheming="True"> $0$0$0$0$0$0                                    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> $0$0$0$0$0$0                                </FilterMenu> $0$0$0$0$0$0                            </telerik:RadGrid> $0$0$0$0$0$0                        </div> $0$0$0$0$0$0                    </fieldset> $0$0$0$0$0$0$0
Justin
Top achievements
Rank 1
 answered on 18 Sep 2008
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?