Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
174 views
 I am trying to creat an AdvancedEditTemplate using the IBindableTemplate property.I coundn't succeed in creating AdvancedEditTemplate or AdvancedInsertTemplate using IBindableTemplate and i could not bind the values like subject,start and End and also im going to add custom attributes to it.So, it ll be helpful for me if u provide me a example or an layout on creating AdvancedEditTemplate using IBindableTemplate.

                    Thanks.
A. Koster
Top achievements
Rank 1
 answered on 24 Feb 2009
0 answers
111 views
I have used morethan one Radslider in a page . I am working with ASP.NET  Ajax 2.0 with VS2005 . I have used the sample coding which u have posted in the telerink website.But that example containd onlu one RadSlider. But how can i use the multiple Radsliders within a page. Based on the selection done in the RadSlider the value must be updated in the RadGrid control. Actually i have no idea about Ajax controls and now i am learning . I need to know how to use the multiple sliders within a page.
prakash
Top achievements
Rank 1
 asked on 24 Feb 2009
1 answer
101 views
I am creating a project with a slider in an update panel.  On load of the initial page the content (including the slider) is invisible.  Once data is entered by the user, the update panel is then refreshed and shown.  All of the controls and data show, except for the slider. The slider has the following properties "EnableEmbeddedSkins="false" Skin="TestSkinToday".    If I set the "EnableEmbeddedSkins="true" Skin="Vista", the slider will show up as planned.  Any thoughts?
Tervel
Telerik team
 answered on 24 Feb 2009
1 answer
130 views
Hi all

i have a issue relative to export to excel. i tried export to excel button outside the grid its working pretty.
but i want an example inside grid and functionality should work .so i approached with follwing methods
(Keeping radajaxpanel with ClientEvents-OnRequestStart outside grid)
<telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" ClientEvents-OnRequestStart="conditionalPostback"
                                                                                            <telerik:RadGrid ID="grdAccounts" GridLines="Vertical" runat="server" Skin="WebBlue" 
                                                                                                Width="100%" PageSize="5" AutoGenerateColumns="False" AllowSorting="true" AllowPaging="true" 
                                                                                                OnNeedDataSource="grdAccounts_NeedDataSource" OnItemCommand="grdAccounts_ItemCommand" 
                                                                                                ClientSettings-Resizing-AllowColumnResize="true" ClientSettings-Resizing-EnableRealTimeResize="true" 
                                                                                                AllowMultiRowSelection="true" ClientSettings-Selecting-AllowRowSelect="true" 
                                                                                                AllowAutomaticInserts="true"
                                                                                                <PagerStyle Mode="NextPrevAndNumeric" /> 
                                                                                                <ExportSettings FileName="AccountsGrid" OpenInNewWindow="true" ExportOnlyData="true" 
                                                                                                    IgnorePaging="true"
                                                                                                </ExportSettings> 
                                                                                                <%--<ClientSettings><Scrolling ScrollHeight="100px" AllowScroll="true" SaveScrollPosition="true" UseStaticHeaders="true" /></ClientSettings>--%> 
                                                                                                <MasterTableView Width="100%" DataKeyNames="pkid" HierarchyLoadMode="Client" HorizontalAlign="NotSet" 
                                                                                                    CommandItemDisplay="Top"
                                                                                                    <NoRecordsTemplate> 
                                                                                                        <asp:Label ID="lblAccountNoRecordmsg" runat="server" Text="No accounts available"></asp:Label> 
                                                                                                    </NoRecordsTemplate> 
                                                                                                    <SortExpressions> 
                                                                                                        <telerik:GridSortExpression FieldName="accountname"></telerik:GridSortExpression> 
                                                                                                    </SortExpressions> 
                                                                                                    <RowIndicatorColumn> 
                                                                                                        <HeaderStyle Width="20px" BackColor="White"></HeaderStyle> 
                                                                                                    </RowIndicatorColumn> 
                                                                                                    <ExpandCollapseColumn Visible="True"
                                                                                                        <HeaderStyle Width="20px"></HeaderStyle> 
                                                                                                    </ExpandCollapseColumn> 
                                                                                                    <Columns> 
                                                                                                        <telerik:GridBoundColumn Display="false" DataField="pkid" HeaderText="pkid" UniqueName="pkid"
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn DataField="accounttype" HeaderText=" Type" UniqueName="accounttype"
                                                                                                            <HeaderStyle Width="13%" HorizontalAlign="Center" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn DataField="accountname" HeaderText=" Name" UniqueName="accountname"
                                                                                                            <HeaderStyle Width="13%" HorizontalAlign="Center" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn DataFormatString="{0:##-#######}" DataField="taxid" HeaderText="Tax ID" 
                                                                                                            UniqueName="taxid"
                                                                                                            <HeaderStyle Width="10%" HorizontalAlign="Center" /> 
                                                                                                            <ItemStyle HorizontalAlign="Left" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn DataField="primarycontact" HeaderText="Contact" UniqueName="primarycontact"
                                                                                                            <HeaderStyle Width="29%" HorizontalAlign="Center" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn Visible="false" DataField="isactive" HeaderText="isactive" 
                                                                                                            UniqueName="isactive"
                                                                                                            <HeaderStyle HorizontalAlign="Center" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn Visible="false" DataField="accounttypeid" HeaderText="accounttypeid" 
                                                                                                            UniqueName="accounttypeid"
                                                                                                            <HeaderStyle HorizontalAlign="Center" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn DataFormatString="{0:(###)###-####}" DataField="PhoneNo" 
                                                                                                            HeaderText="Phone" UniqueName="PhoneNo"
                                                                                                            <HeaderStyle Width="13%" HorizontalAlign="Center" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                        <telerik:GridBoundColumn DataFormatString="{0:(###)###-####}" DataField="MobileNo" 
                                                                                                            HeaderText="Mobile" UniqueName="MobileNo"
                                                                                                            <HeaderStyle Width="13%" HorizontalAlign="Center" /> 
                                                                                                        </telerik:GridBoundColumn> 
                                                                                                         
                                                                                                        <telerik:GridTemplateColumn HeaderText="Delete" HeaderStyle-ForeColor="White" ItemStyle-Width="8%" 
                                                                                                            ItemStyle-HorizontalAlign="Center" HeaderStyle-Width="8%" HeaderStyle-HorizontalAlign="Center"
                                                                                                            <ItemTemplate> 
                                                                                                                <asp:ImageButton CommandName="Delete" ImageAlign="Middle" runat="server" ID="Delbudget" 
                                                                                                                    OnClientClick="return ProgramDelete();" src="../App_Themes/images/DeleteGrid.gif" 
                                                                                                                    Height="14" Width="13" alt="Delete" /> 
                                                                                                            </ItemTemplate> 
                                                                                                        </telerik:GridTemplateColumn> 
                                                                                                    </Columns> 
                                                                                                    <EditFormSettings UserControlName="~\ProgramConfiguration\UserControls\AddProgramAccount.ascx" 
                                                                                                        EditFormType="WebUserControl"
                                                                                                        <EditColumn UniqueName="EditCommandColumn1"
                                                                                                        </EditColumn> 
                                                                                                    </EditFormSettings> 
                                                                                                    <CommandItemTemplate> 
                                                                                                        <div> 
                                                                                                            <table width="100%" border="0" cellpadding="0" cellspacing="0"
                                                                                                                <tr> 
                                                                                                                    <td align="left"
                                                                                                                        <asp:Image ID="imgadd" runat="server" Height="13" ImageUrl="~/App_Themes/images/add.gif" /> 
                                                                                                                        <asp:LinkButton OnClientClick="return ProgramAdd();" CommandName="InitInsert" ToolTip="Add" 
                                                                                                                            ID="lnkbtnadd" runat="server" ForeColor="black" Text="Link Account"></asp:LinkButton> 
                                                                                                                    </td> 
                                                                                                                    <td align="center"><asp:Image ID="imgexport" runat="server" Height="13" ImageUrl="~/App_Themes/images/Excel-16.gif"  /><asp:LinkButton CommandName="exportExcel" ID="exportGrid" Text="Export" runat="server"></asp:LinkButton></td
                                                                                                                    <td align="right"
                                                                                                                        <asp:Image ImageUrl="~/App_Themes/images/Refresh.gif" runat="server" ID="imgRefresh" /> 
                                                                                                                        <asp:LinkButton CommandName="Refresh" ToolTip="Refresh" ID="lnkRefresh" Text="Refresh" 
                                                                                                                            runat="server" ForeColor="Black"></asp:LinkButton> 
                                                                                                                    </td> 
                                                                                                                </tr> 
                                                                                                            </table> 
                                                                                                        </div> 
                                                                                                    </CommandItemTemplate> 
                                                                                                    <%--<CommandItemSettings AddNewRecordText="Link Account" AddNewRecordImageUrl="../App_Themes/images/add.gif" />--%> 
                                                                                                </MasterTableView> 
                                                                                                <HeaderStyle ForeColor="White"></HeaderStyle> 
                                                                                                <ClientSettings> 
                                                                                                </ClientSettings> 
                                                                                                <FilterMenu Skin="WebBlue" EnableTheming="True"
                                                                                                    <CollapseAnimation Type="OutQuint" Duration="200"></CollapseAnimation> 
                                                                                                </FilterMenu> 
                                                                                            </telerik:RadGrid> 
                                                                                            </telerik:RadAjaxPanel> 

By above  without page postback export to excel opening in new window . but if i click to add or
edit page is getting postback and usercontrol which i m expecting to open is opening but i don't want page
to postback.


if i keep radajaxpanel in between export link (mean inside <CommandItemTemplate>)

<telerik:RadAjaxPanel ID="RadAjaxPanel2" runat="server" ClientEvents-OnRequestStart="conditionalPostback">
<asp:Image ID="imgexport" runat="server" Height="13" ImageUrl="~/App_Themes/images/Excel-16.gif"  />
<asp:LinkButton CommandName="exportExcel" ID="exportGrid" Text="Export" runat="server"></asp:LinkButton>
</telerik:RadAjaxPane>


export to excel link is getting postback and remaining add ,edit is working fine.

and i tried with triggers, due to control inside the radgrid not able to assign id for controlid.

How to approach any help from leads.

Yavor
Telerik team
 answered on 24 Feb 2009
1 answer
81 views
We are belatedly upgrading a fairly extensive website from ASP.NET 1.1 to 2.0, and all of the Telerik Ajax pages are broken. The correct DLL versions are referenced (e.g. RadAjax.Net2) and the ASP.NET for the virtual directory 2.0.50727.

Many of the RadAjax elements (e.g. GroupHeaderItemStyle) are "not supported" and some elements are "unknown" (e.g. AjaxLoadingPanel).  VS2005 also does not like uppercase element names when validating XHTML 1.0 transitional.

Is there an upgrade Wizard that Telerik provided that needs to be run against the project, or do we need to recode those pages?

Thanks


Pavlina
Telerik team
 answered on 24 Feb 2009
1 answer
80 views
<%@ Register TagPrefix="radg" Namespace="Telerik.WebControls" Assembly="RadGrid" %>  -- ERROR ON THIS LINE
<%@ Register TagPrefix="rada" Namespace="Telerik.WebControls" Assembly="RadAjax" %>
<%@ Register TagPrefix="radi" Namespace="Telerik.WebControls" Assembly="RadInput" %>

The first line has this error:

<VERBATIM>
ASP.NET runtime error: There is no build provider registered for the extension ". You can register one in the
<compliation><buildProviders> section in machine.config or web.config.  Make sure is [sic] has a BuildProviderAppliesToAttribute
attribute which includes the value 'Web' or 'All'.
</VERBATIM>

The extension, as you can see, is not given, and the quotation marks are unpaired.

I don't know what is being asked for here. Any help would be appreciated.

Thanks


Sebastian
Telerik team
 answered on 24 Feb 2009
1 answer
146 views
Hi, is it possible to give the OnClientNodeClicked event more values?

thanks
Shinu
Top achievements
Rank 2
 answered on 24 Feb 2009
2 answers
94 views
Hello,
I went through one problem.Actually I m using RadChart(Bar Chart), and I have bind series there through
code behind,How many Series are bind there,that number of markup keys are displayed in Legend.
I want that that  markup key will be disabled there,So that we can't perform there any click operation.
  can we deactivate the key so that the cursor doesn’t change when the user hovers over it.  ?

I hope I'll get my solutions soon.

Thanks
Rahul Khinvasara
Top achievements
Rank 1
 answered on 24 Feb 2009
1 answer
55 views
Hello,

I have a Sharepoint Designer (SPD) workflow set up that send an Email. The content of the email does a lookup to a column that use the RadTools Editor in list. The content that get pulls out always add an additional line break to the content. For example: in the columen I have:

Hello <br> World!

In the E-mail that I receive, I will get:

Hello <br><br> World!
Lini
Telerik team
 answered on 24 Feb 2009
1 answer
53 views
Hi All,
I have  Made RadGrid AJAX enabled by using AjaxManager.
Right now Iam showing Loading image while it is doing asynchronous postback.
Now I want to perform last action(Insert/Update/Delete) on grid,if user tries to clicks on  'Add new record' or Delete or Update Button continuously.
Is there any way to do it.

Thanks,
Umesh
shivraj
Top achievements
Rank 1
 answered on 24 Feb 2009
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?