Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
100 views
 what are the Database will telerik support ?

will it Support Oracle?

Regards
Balagangadharan.R
Daniel
Telerik team
 answered on 11 Aug 2008
2 answers
123 views
Hi,

I've got a .Net 2.0 application that already implements ajaxpro (schwarz version) and has a whole host of code working well. 

I'm adding a radChart to this functionality, but dont really want to change (to radAjax) any of the ajaxpro code I've already got working.  I need to make the chart update / be called on through my already implemented ajaxpro callbacks.

The callbacks work and I can call the functions that will create the chart programatically, but I cant return this to the page mainly because its an object.  I can add it during normal postbacks / page loads through the page.controls.add method, but obviously the standard ajax method requires a string (bool / int etc.) variable.  I know that the control mainly returns an IMG html string which is what i need access to in order to integrate it with ajaxpro.

Are there any commands i can use to get access to this rendered string so i can update my page via my already implemented ajaxpro methods?  Is there anyway to access the rendered content of the control that i can then inject into my page?
Ves
Telerik team
 answered on 11 Aug 2008
1 answer
252 views
If a content region contains either a <strong> or <em> tag, when viewed in the editor, they are actually <b> and <i> (this can be determined by inspecting with Firebug), and also through the RadDomInspector.

However, if your style sheet purposely styles <strong>s and <em>s, these styles are obviously not reflected.

I have tested and <strong>s and <em>s are reflected correctly in the much older v6.5.0.

Is this something that you can implement again? I don't want to have to style <b> and <i> too.

Thanks

Matt


Rumen
Telerik team
 answered on 11 Aug 2008
1 answer
77 views

A page uses RadAjax to update a literal and submit/cancel button (both inside asp:panel's) when a dropdown selectiong changes. This works fine.
 


However, the button (that is an updated control) click that updates the message literal is not working any more. This used to work fine in Rad Controls for ASP.NET
 
I find that the only way to make it work is if I define AjaxSetting for the button and make the pnlMessage an AjaxUpdatedControl.
 
Please verify if this is a bug or advise what I need to change.
 
Code (sans code behind) included below for reproducing:





<%

@ Page Language="C#" AutoEventWireup="true" CodeBehind="AjaxTest.aspx.cs" Inherits="BPDashboardControlPanel.AjaxTest" %>

<%

@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %>

<!

DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<

html xmlns="http://www.w3.org/1999/xhtml" >

<

head runat="server">

<title>RadAjax Test</title>

</

head>

<

body>

<form id="form1" runat="server">

<asp:ScriptManager ID="ScriptManager1" runat="server">

</asp:ScriptManager>

<telerik:RadAjaxManager ID="ctlRadAjaxManager" runat="server">

<AjaxSettings>

<telerik:AjaxSetting AjaxControlID="ddlGalleries">

<UpdatedControls>

<telerik:AjaxUpdatedControl ControlID="pnlMessage" />

<telerik:AjaxUpdatedControl ControlID="pnlSubmitCancel" />

</UpdatedControls>

</telerik:AjaxSetting>

</AjaxSettings>

</telerik:RadAjaxManager>

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

<fieldset style="padding: 10px;">

<legend style="margin-bottom: 5px;">Message Area:</legend>

<asp:Panel ID="pnlMessage" runat="server">

<asp:Literal ID="litMessage" runat="server"></asp:Literal>

</asp:Panel>

</fieldset>

</div>

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

<fieldset style="padding: 10px;">

<legend style="margin-bottom: 5px;">Choose Galleries:</legend>

<asp:DropDownList ID="ddlGalleries" runat="server" AutoPostBack="True" CssClass="TextContent"

OnSelectedIndexChanged="ddlGalleries_SelectedIndexChanged">

<asp:ListItem Selected="True">Select Gallery</asp:ListItem>

<asp:ListItem>Gallery 1</asp:ListItem>

<asp:ListItem>Gallery 2</asp:ListItem>

</asp:DropDownList>

<telerik:RadAjaxLoadingPanel ID="ctlAjaxLoadPanelGallery" runat="Server" IsSticky="true">

<div style="margin-top: 5px;">

<asp:Image ID="Image2" runat="server" AlternateText="Loading" BorderWidth="0px" ImageAlign="Left"

ImageUrl="~/Skins/Default/AJAX/loading1.gif" /><br />

</div>

</telerik:RadAjaxLoadingPanel>

</fieldset>

</div>

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

<fieldset style="padding: 10px;">

<legend style="margin-bottom: 5px;">Submit:</legend>

<asp:Panel ID="pnlSubmitCancel" runat="server">

<asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_Click" Text="Submit" />&nbsp;<asp:Button ID="btnCancel" runat="server" OnClick="btnCancel_Click" Text="Cancel" />

</asp:Panel>

</fieldset>

</div>

</form>

</

body>

</

html>

Maria Ilieva
Telerik team
 answered on 11 Aug 2008
3 answers
214 views
Can someone tell me how to disable/enable a button that was created inside a GridTemplateColumn in the client-side OnRowSelected/OnRowDeselected events.

Basically when a row is selected, I want its button to be enabled and all other rows buttons to be disabled.

Thanks,
Blake
Yavor
Telerik team
 answered on 11 Aug 2008
1 answer
109 views
Hi, I'm hidding columns at clientside with the implementation of RadContextMenu, it's working fine, and I implemented the save the state of sorting, filter from here http://www.telerik.com/help/aspnet-ajax/grdsavingsettingsonperuserbasis.html.

But how I can get the state of client side for saving them too?

Best Regards,
Sebastián Reale
Vlad
Telerik team
 answered on 11 Aug 2008
1 answer
156 views

Hi,

First let me Explain .aspx code….

<table cellpadding="0" cellspacing="0" width="100%" style="text-align: center">

<tr> <td>

<telerik:RadGrid ID="rg_AddPorts" runat="server" AllowPaging="True" Skin="Default" GridLines="Horizontal" PageSize="10" Width="100%" OnNeedDataSource="rg_AddPorts_NeedDataSource"                                 OnInsertCommand="rg_AddPorts_InsertCommand" OnItemDataBound="rg_AddPorts_ItemDataBound"                                OnUpdateCommand="rg_AddPorts_UpdateCommand">

<MasterTableView CommandItemDisplay="TopAndBottom" AutoGenerateColumns="false" DataKeyNames="Port_PortNo"                                    EditMode="EditForms" CommandItemSettings-AddNewRecordText="Add Ports">                                    <Columns>

<telerik:GridBoundColumn ReadOnly="true" Visible="false" HeaderText="Port ID" DataField="Port_PortNo"                                            UniqueName="Port_PortNo" />                                        <telerik:GridBoundColumn ReadOnly="false" HeaderText="Name" DataField="Port_PortName"                                            UniqueName="Port_PortName" HeaderStyle-Width="20%" />                                        <telerik:GridBoundColumn ReadOnly="false" HeaderText="Type" DataField="Port_PortType"                                            UniqueName="Port_PortType" HeaderStyle-Width="20%" />                                        <telerik:GridBoundColumn ReadOnly="false" HeaderText="City" DataField="Port_City"                                            UniqueName="Port_City" HeaderStyle-Width="20%" />                                        <telerik:GridTemplateColumn HeaderText="Status" Visible="false" HeaderStyle-Width="7%">

<ItemTemplate>

<asp:Label ID="lblPlaceNo" runat="server" Text='<%#Bind("Place_No") %>'></asp:Label> </ItemTemplate>                                        </telerik:GridTemplateColumn>                                        <telerik:GridTemplateColumn HeaderText="Status" Visible="false" HeaderStyle-Width="7%">

<ItemTemplate>

<asp:Label ID="Label1" runat="server" Text='<%#Bind("Port_Status") %>'></asp:Label></ItemTemplate>                                        </telerik:GridTemplateColumn>                                       <telerik:GridTemplateColumn HeaderText="Status" HeaderStyle-Width="7%">                                            <ItemTemplate>                                                <telerik:RadComboBox ID="rcbxPorts" Skin="Default" Width="100Px" Text='<%#Bind("Lookup_Value") %>'                                                    OnSelectedIndexChanged="rcbxPorts_SelectedIndexChanged" runat="server" AutoPostBack="true">                                                </telerik:RadComboBox>                                            </ItemTemplate>                                        </telerik:GridTemplateColumn>                                        <telerik:GridEditCommandColumn HeaderStyle-Width="7%">                                        </telerik:GridEditCommandColumn>                                    </Columns>

<EditFormSettings EditFormType="Template">                                        <EditColumn UniqueName="EditCommandColumn1">                                        </EditColumn>

<FormTemplate>

<!-- Grid Table Designing->

<table cellpadding="0" cellspacing="0" width="100%" class="TblMaster">                                                <tr><td style="width: 15%" align="left" class="tbtextbold">                                                        Port Name</td><td align="left">                                                        <telerik:RadTextBox Text='<%#Eval("Port_PortName") %>' ID="txtPortName" runat="server">                                                        </telerik:RadTextBox>                                                    </td> <td style="width: 15%" align="left" class="tbtextbold">                                                        Port Type

</td><td align="left">                                                        </td><td align="left">                                                        <telerik:RadComboBox ID="rcbxPortsStatus" runat="server" MarkFirstMatch="True" Text='<%#Bind("Lookup_Value") %>'                                                            Skin="Default" EmptyMessage="Select Status" Width="130px" OnSelectedIndexChanged="rcbxPortsStatus_SelectedIndexChanged">                                                        </telerik:RadComboBox>                                                    </td></tr><tr><td align="left" class="tbtextbold">                                                        Address1</td>

<tr> <td colspan="6" align="center">                                                        <asp:Button runat="server" ID="btnAddPorts" Text='<%# (Container as GridItem).OwnerTableView.IsItemInserted ? "Insert" : "Update" %>'                                                            CommandName='<%# (Container as GridItem).OwnerTableView.IsItemInserted ? "PerformInsert" : "Update" %>'                                             CssClass="btn1" />&nbsp;&nbsp;&nbsp;                                                        <asp:Button runat="server" ID="Button1" Text="Cancel" CssClass="btn1" CausesValidation="false"                                                            CommandName="Cancel" />                                                    </td></tr></table><!-- End Grid page Designing->                                        </FormTemplate> </EditFormSettings>                               </MasterTableView></telerik:RadGrid></td></tr></table>

 

C#code:-

protected void rcbxPorts_SelectedIndexChanged(object o, RadComboBoxSelectedIndexChangedEventArgs e)

{

XYZ….

}

Prob:- when ever I try to Add/Edit a record/Refresh the Grid, all the times its firing

OnSelectedIndexChanged="rcbxPorts_SelectedIndexChanged" Event.

But this prob I am facing only in Few Systems not in all the systems.

Please help me in this regards.

Yavor
Telerik team
 answered on 11 Aug 2008
1 answer
70 views
Hi.

I am using am RadEditor inside a RadGrad  and want to set its Content to some text from the db.

There is an example on this page http://www.telerik.com/help/aspnet-ajax/edittemplateingrid.html

It is setting the Content attribute  -  that attribute is not even available for me  -  when I try to set it in the area betweent the <Content> tags it does not like the  <%# Eval("somefield") %> . 

thanks

-Barb
Rumen
Telerik team
 answered on 11 Aug 2008
2 answers
136 views
Hello,

What is the performance difference between Server-side and Web Services dynamic population? My belief is that Server-side is working  through the TreeView's internal AJAX panel, so if there are other processing-intensive operations on the page those will be still be executed even though that section of the page is not updated, just like they would be with any other update panel. Is this correct? In which case, loading on demand using a web service would be faster, correct?

Can the web service for the control be the new "Page method" variety instead of a traditional web service? So that the the method would exist on the same page (or control) as the TreeView control? If so, in the <WebServiceSettings Path="x" Method="y" /> would x just be parent name of the page or control hosting the TreeView?

Thank you!
Atanas Korchev
Telerik team
 answered on 11 Aug 2008
5 answers
257 views
Hi

I am using Visual Studio 2008, .NET 3.5 with Telerik 2008 Q2 controls.

I was reading in the below article that it is possible to add custom style sheets for the RadStyleSheetManager:

ms-help://MS.VSCC.v90/MS.VSIPCC.v90/telerik.aspnetajax.radcontrols.2008.Q2/telerik.aspnetajax.radcontrols.common.2008.Q2/radstylesheetmanager.html


My question is a similar approach with external Javascript files possible for RadScriptManager? This is already dropping the requests for Telerik controls making for a faster user experience, but it would be good to include custom external Javascript files as well.


Kind regards

Mark Eaton
Erjan Gavalji
Telerik team
 answered on 11 Aug 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?