Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
1.0K+ views
RadAjax for ASP.NET AJAX is the successor of RadAjax for ASP.NET. The next generation of RadControls is built entirely on top of ASP.NET AJAX, utilizing its common client-side framework and programming model. RadControls for ASP.NET AJAX introduce a number of new features and performance optimizations, which are hard or impossible to implement in the regular ASP.NET suite. The integration and API models of the controls are also better, due to the common framework they share (RadControls for ASP.NET AJAX are shipped as a single assembly - Telerik.Web.UI.dll.) It is important to note that this new generation of RadControls will work only on ASP.NET 2.0 and 3.5 because of the underlying ASP.NET AJAX framework.

Although there are a lot of new features in RadAjax for ASP.NET AJAX some of the functionality from the “classic” ASP.NET version is still the same.  The forum threads in the RadAjax for ASP.NET forum are still relevant if they are in the following areas:
  •  DesignTime work with the control - AjaxSettings are still defined in the same user friendly way, through two treeviews (one for initiating controls and one for updated controls).
  • Server-side event AjaxRequest is still handled in the same way and requires you to have the AjaxManager/AjaxPanel set as initiator.
  • defining AjaxSettings programatically - still uses the same syntax.
  • Updating the <head> tag, so that styled controls can properly register their stylesheets (EnablePageHeadUpdate=true)
  • The ResponseScripts collection is still at your disposal for triggering custom actions after ajax request.
  • The queuing mechanism is implemented as well. Only difference here is that it is triggered by a property (RequestQueueSize) and not by a method (SetMaxRequestQueueSize())
If you upgrade your projects from RadAjax for ASP.NET to RadAjax for ASP.NET AJAX we encourage you to refer to this online help article, which highlights the most important steps in the migration process.

We hope this is helpful. If you need any assistance in the upgrade process or you have any other questions, please contact us.

Best Regards,
Telerik Team
Telerik Admin
Top achievements
Rank 1
Iron
 asked on 14 Apr 2008
1 answer
92 views
Just a quick questions?


I am using the following grid for the user to select an article from a list.  
Currently the "hovered" row is changing color based on the skin.  What  is the class name for the "Hovered" grid item so I can change the color and the cursor.  If you could provide an example I would appreciate it. 

  <telerik:RadGrid ID="RadGrid1" runat="server"  Skin="Web20" GridLines="None"
                                                                        ShowHeader="False" AutoGenerateColumns="False"
                                                                        onselectedindexchanged="RadGrid1_SelectedIndexChanged">
                                        <ExportSettings>
                                            <Pdf FontType="Subset" PaperSize="Letter" />
                                            <Excel Format="Html" />
                                            <Csv ColumnDelimiter="Comma" RowDelimiter="NewLine" />
                                        </ExportSettings>
                                        <MasterTableView DataKeyNames="monthyear">
                                            <RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                                                Visible="False">
                                                <HeaderStyle Width="20px" />
                                            </RowIndicatorColumn>
                                            <ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"
                                                Resizable="False" Visible="False">
                                                <HeaderStyle Width="20px" />
                                            </ExpandCollapseColumn>
                                                                            <Columns>
                                                                                <telerik:GridTemplateColumn >
                                                                                    <ItemTemplate>
                                                                                        <asp:Label ID="LinkButton1" runat="server" 
                                                                                            Text='<%#   (DataBinder.Eval(Container.DataItem,"article1title")).ToString() %>'
                                                                                            Width="50" >
                                                                                        </asp:Label>
                                                                                    </ItemTemplate>
                                                                                      <ItemStyle HorizontalAlign="Center"  Width=200 Height=75/>
                                                                                </telerik:GridTemplateColumn>
                                                                            </Columns>
                                                                            <EditFormSettings>
                                                                                <EditColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType">
                                                                                </EditColumn>
                                                                            </EditFormSettings>
                                                                        </MasterTableView>
                                                                        <ClientSettings EnablePostBackOnRowClick="True" EnableRowHoverStyle="True">
                                                                            <Selecting AllowRowSelect="True" />
                                                                        </ClientSettings>
                                                                    </telerik:RadGrid>
Sebastian
Telerik team
 answered on 14 Apr 2008
1 answer
153 views

I have 3 items and after the 3rd menu item the menu just stops.  It should be a giant blank line until the table width is full.  My Skin is Telerik.  If I set my skin to Default2006 it works.

<

table width="960" border=0>

<

tr><td>test</td></tr>

<

tr><td>

<

telerik:RadMenu ID="RadMenu1" runat="server" Skin="Telerik"

DataSourceID="XmlDataSource1" DataTextField="Text" EnableOverlay="true"

DataNavigateUrlField="Url" Width="100%">

<

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

</telerik:RadMenu>

</

td></tr>

</

table>

Peter
Telerik team
 answered on 14 Apr 2008
4 answers
188 views
I have a Prometheus Menu control with a custom skin using a an xml data source which works well.  My next step is to change the css so that each menu option is a different color.  Does any one know how to set about donig this, to I add attibutes to teh nodes in teh XML if so what would the be.

Thanks
Paul



Simon
Telerik team
 answered on 14 Apr 2008
2 answers
151 views
In the folder

Program Files\Telerik\RadControls 'Prometheus' for ASPNET Q3 2007

there are 2 folders called scripts and skins. What is the relevance of these folders?
Julian Roberts
Top achievements
Rank 1
 answered on 14 Apr 2008
3 answers
298 views
Dear all

I use RadGrid "Prometheus" for ASP.NET 
in  CommandItemTemplate i drag linkbutton that has proprity CommandName="UpdateEdited"

however when click this link when editig row it throw an exception
 
Only items with IsInEditMode set to true can be updated

what is this ? and hoe to solve this ?

<

telerik:RadGrid ID="RadGrid1" AllowMultiRowSelection="True" AllowMultiRowEdit="False"

Skin="WebBlue" runat="server" AllowAutomaticDeletes="True" AllowAutomaticInserts="True"

Width="500px" PageSize="14" AllowAutomaticUpdates="True"

AllowPaging="True" AutoGenerateColumns="False"

DataSourceID="dsCountry" ShowStatusBar="True"

AutoGenerateEditColumn="True" AutoGenerateDeleteColumn="True"

GridLines="None" style="margin-right: 8px">

<ExportSettings>

<Pdf PaperSize="Letter" FontType="Subset"></Pdf>

<Excel Format="Html"></Excel>

<Csv RowDelimiter="NewLine" ColumnDelimiter="Comma"></Csv>

</ExportSettings>

<PagerStyle Mode="Slider" />

<ClientSettings>

<Selecting AllowRowSelect="true" />

</ClientSettings>

<MasterTableView CommandItemDisplay="Top" DataKeyNames="CountryID" DataSourceID="dsCountry"

EditMode="EditForms" Width="100%">

<CommandItemTemplate>

<div style="padding: 10px 0px;">

<asp:LinkButton Style="vertical-align: bottom" ID="btnEditSelected" runat="server"

CommandName="EditSelected" CausesValidation="false" Visible='<%# RadGrid1.EditIndexes.Count == 0 %>'><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Edit.gif" />

Edit Selected

</asp:LinkButton>

<asp:LinkButton ID="btnUpdateEdited" runat="server" CommandName="UpdateEdited" Visible='<%# RadGrid1.EditIndexes.Count > 0 %>'><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Edit.gif" />

Update Country

</asp:LinkButton>

&nbsp;

<asp:LinkButton ID="btnCancel" runat="server" CommandName="CancelAll" CausesValidation="false"

Visible='<%# RadGrid1.EditIndexes.Count > 0 || RadGrid1.MasterTableView.IsItemInserted %>'><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Cancel.gif" /> Cancel editing</asp:LinkButton>

&nbsp;

<asp:LinkButton ID="LinkButton2" runat="server" CommandName="InitInsert" Visible='<%# !RadGrid1.MasterTableView.IsItemInserted %>'><img

style="border:0px;vertical-align:middle;" alt=""

src="../Images/Grid/AddRecord.gif" /> Add new Country

</asp:LinkButton>

&nbsp;

<asp:LinkButton ID="LinkButton1" OnClientClick="javascript:return confirm('Delete all selected Country?')"

runat="server" CommandName="DeleteSelected" CausesValidation="false"><img

style="border:0px;vertical-align:middle;" alt="" src="../Images/Grid/Delete.gif" />

Delete Selected Country

</asp:LinkButton>

&nbsp;&nbsp;&nbsp;

<asp:LinkButton ID="LinkButton4" runat="server" CommandName="RebindGrid"><img

style="border:0px;vertical-align:middle;" alt=""

src="../Images/Grid/Refresh.gif" /> Refresh Countries

</asp:LinkButton>

</div>

</CommandItemTemplate>

<RowIndicatorColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"

Visible="False">

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

</RowIndicatorColumn>

<ExpandCollapseColumn CurrentFilterFunction="NoFilter" FilterListOptions="VaryByDataType"

Visible="False" Resizable="False">

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

</ExpandCollapseColumn>

<Columns>

<telerik:GridBoundColumn CurrentFilterFunction="NoFilter" DataField="CountryID" DataType="System.Guid"

FilterListOptions="VaryByDataType" ForceExtractValue="None" HeaderText="CountryID"

ReadOnly="True" SortExpression="CountryID" UniqueName="CountryID"

Visible="False">

</telerik:GridBoundColumn>

<telerik:GridTemplateColumn ColumnEditorID="0" CurrentFilterFunction="NoFilter"

DataField="ENLongDescription" EditFormHeaderTextFormat="New {0}:"

FilterListOptions="VaryByDataType" ForceExtractValue="None"

HeaderText="Engish Long Name" SortExpression="ENLongDescription"

UniqueName="ENLongDescription">

<EditItemTemplate>

<asp:TextBox ID="ENLongDescription" runat="server"

Text='<%# Bind("ENLongDescription") %>'></asp:TextBox>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ENLongDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn ColumnEditorID="0" CurrentFilterFunction="NoFilter"

DataField="ARLongDescription" EditFormColumnIndex="1"

EditFormHeaderTextFormat="New {0}:" FilterListOptions="VaryByDataType"

ForceExtractValue="None" HeaderText="Arabic Long Name"

SortExpression="ARLongDescription" UniqueName="ARLongDescription">

<EditItemTemplate>

<asp:TextBox ID="txtArabicLongName" runat="server"

Text='<%# Bind("ARLongDescription") %>'></asp:TextBox>

<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"

ControlToValidate="txtArabicLongName" ErrorMessage="*"></asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ARLongDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn ColumnEditorID="1" CurrentFilterFunction="NoFilter"

DataField="ENShortDescription" EditFormHeaderTextFormat="New {0}:"

FilterListOptions="VaryByDataType" ForceExtractValue="None"

HeaderText="English Short Name" SortExpression="ENShortDescription"

UniqueName="ENShortDescription">

<EditItemTemplate>

<asp:TextBox ID="txtEnglishShotName" runat="server"

Text='<%# Bind("ENShortDescription") %>'></asp:TextBox>

<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"

ControlToValidate="txtEnglishShotName" ErrorMessage="*"></asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ENShortDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridTemplateColumn ColumnEditorID="1" CurrentFilterFunction="NoFilter"

DataField="ARShortDescription" EditFormColumnIndex="1"

EditFormHeaderTextFormat="New {0}:" FilterListOptions="VaryByDataType"

ForceExtractValue="None" HeaderText="Arabic Short Name"

SortExpression="ARShortDescription" UniqueName="ARShortDescription">

<EditItemTemplate>

<asp:TextBox ID="txtarabicShortName" runat="server"

Text='<%# Bind("ARShortDescription") %>'></asp:TextBox>

<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"

ControlToValidate="txtarabicShortName" ErrorMessage="*"></asp:RequiredFieldValidator>

</EditItemTemplate>

<ItemTemplate>

<asp:Label runat="server"

Text='<%# DataBinder.Eval(Container, "DataItem.ARShortDescription") %>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

</Columns>

<EditFormSettings ColumnNumber="2" CaptionDataField="">

<FormTableItemStyle Wrap="False"></FormTableItemStyle>

<FormCaptionStyle CssClass="EditFormHeader"></FormCaptionStyle>

<FormMainTableStyle GridLines="Horizontal" CellSpacing="0" CellPadding="3" BackColor="White"

Width="100%" />

<FormTableStyle CellSpacing="0" CellPadding="2" CssClass="module" Height="110px"

BackColor="White" BorderColor="#9966FF" BorderStyle="Solid"

BorderWidth="1px" />

<FormTableAlternatingItemStyle Wrap="False"></FormTableAlternatingItemStyle>

<EditColumn ButtonType="ImageButton" UpdateImageUrl="../Images/Grid/Update.gif"

EditImageUrl="../Images/Grid/Edit.gif" InsertImageUrl="../Images/Grid/Insert.gif"

CancelImageUrl="../Images/Grid/Cancel.gif" InsertText="Insert Order" UpdateText="Update record"

UniqueName="EditCommandColumn1" CancelText="Cancel edit">

</EditColumn>

<FormTableButtonRowStyle HorizontalAlign="Right" CssClass="EditFormButtonRow"></FormTableButtonRowStyle>

</EditFormSettings>

</MasterTableView>

</telerik:RadGrid>

Konstantin Petkov
Telerik team
 answered on 14 Apr 2008
2 answers
107 views
I use a modal radwindow on a page. I also use shortcuts ("AccessKey") on main page and on radwindow page. If you press a short cur on radwindow this affects also the shortcuts on main page. Means if you have a shortcut "A" on both pages and you press "Alt+A" on radwindow it happens that the control on main form weill be selected. This is not a very helpful behaviour and should be corrected.
Markus
Top achievements
Rank 1
 answered on 14 Apr 2008
9 answers
248 views

I have recommended my company to purchase RadControls "Prometheus" When I browse to the link to buy it, it takes me to RadControls for ASP .NET.

I guess this is because RadControls "Prometheus" is a beta release.

When will RadControls "Prometheus" be available for purschase?

If my company buys the RadControls for ASP .NET now, will it be upgradable or upgraded to RadControls "Prometheus" when it is released? 
 
Thanks,
Tal
Erjan Gavalji
Telerik team
 answered on 14 Apr 2008
2 answers
165 views
Hi i'm trying to insert a loading Image instead of just plain text for my TreeView LoadinStatusTemplate. The image shows but doesn't animate like it normally would in a browser window. Has anyone tried this and got it to work?

<telerik:RadTreeView ID="RadTreeView1" runat="server"   
                        style="height:expression((document.documentElement.offsetHeight - 20).toString() +'px');overflow:auto" 
                        CausesValidation="false" 
                        OnClientNodeClicking="onNodeClicking">  
                    <CollapseAnimation  Type="none" /> 
                    <ExpandAnimation   Type="none"/>  
                    <LoadingStatusTemplate> 
                        <img id="load" runat="server" src="/sims/Skins/Default/Ajax/loading4.gif" /> 
                    </LoadingStatusTemplate> 
</telerik:RadTreeView> 
Veselin Vasilev
Telerik team
 answered on 14 Apr 2008
3 answers
168 views

Telerik controls are unavailable to javascript when the page's startup script runs. I tried adding the startup script in Page_Load using the following methods:

1.    //Page.ClientScript.RegisterStartupScript(typeof(Page), "addScript", "SetReadOnly();", true);

2.    //RadAjaxPanel1.ResponseScripts.Add("SetReadOnly();");

3.    //RadAjaxManager1.ResponseScripts.Add("SetReadOnly();");

Please let me know what I need to do to access the page's Telerik controls in the startup script.

Pavel
Telerik team
 answered on 14 Apr 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?