Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
102 views
Hi all,

I'm hoping someone can help with a problem I'm having concerning tabstrip, pageviews and ajax updates.

I have a MultiPage in place with several tabs, and each tab relates to a PageView that in turn contains UserControls.
I have a RadAjaxManager on the main page containing these tabs, and I'm also using a RadAjaxManagerProxy control on each of the UserControls.
I need to communicate between two of these pageviews and usercontrols but I'm having a problem with a particular piece of functionality.
To make it easier to understand I have a "Garment" tab/UserControl that allows customisation of a garment.  As a result of changes to the garment, I'd like to update a second tab/pageview ("Branding").  I currently have this working when an "Update" button is clicked on the garment tab that updates an ajaxed datalist on the branding tab (by calling a public subroutine).  It seems to work great.
This is based on using an @ Reference tag on the Garment usercontrol, casting an object to this control and then calling the subroutine. 

However, there is a situation where if a certain garment is selected, I'd like to be able to show/hide a placeholder on the Branding tab when a radcombobox selectedindexchanged event is fired.  I have a public sub on the Branding usercontrol that DOES get called (tested using ajaxpanel.alert), but the placeholders and other controls contained within it do not update.  This is doing my head in! :-)

Can anyone suggest why the datalist in the Branding usercontrol can be updated based on an event on the Garment usercontrol, and that a subroutine IS being called for the placeholder update, but the PH doesn't update?

I hope that makes sense and appreciate any insights you may have.

Cheers
Rich
Maria Ilieva
Telerik team
 answered on 30 Mar 2012
1 answer
90 views
I am trying to setup Google Author Attribution that requires me to have a link from my blog profile that is on a DotNetNuke site using RadEditor to my Google+ profile. And the link has to include a rel="me" parameter. But for some reason I cannot get the RadEditor to save the rel="me" parameter. When I put it in using HTML view and save it then it isn't there when I go back. I know how to edit the Editor settings in DNN but I don't know what I might change that would allow me to save the parameter. 
Rumen
Telerik team
 answered on 30 Mar 2012
2 answers
45 views
Hi All,

I have 2 RagGrids under a RadAjaxPanel. I need to update the 2nd RadGrid as per the selection in the first. I can't achieve this.

Note: I have used the above controls inside a content panel hold by a Master page.

Masterpage.master
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="Telerik" %>
<body>
  <form id="form1" runat="server">
  <Telerik:RadScriptManager ID="radScriptManager1" runat="server">
  </Telerik:RadScriptManager>
..
..

Default.aspx

    <radA:AjaxLoadingPanel ID="lp" runat="server" ...>
        <asp:Image ID="Image1" runat="server" ImageUrl="~/RadControls/Ajax/Skins/Default/loading.gif"
            BorderWidth="0px" AlternateText="Loading"></asp:Image>
    </radA:AjaxLoadingPanel>
    <radA:RadAjaxPanel ID="ajaxPanelSearch" runat="Server" ... />
     <div>
    
        <radG:RadGrid ID="RGrid1" runat="server" ... .... ... >
        .....
        .....
        </radG:RadGrid>

        <radG:RadGrid ID="RGrid2" runat="server" ... .... ... >
        .....
        .....
        </radG:RadGrid>

    </div>
    </radA:RadAjaxPanel>


Can anyone help on solving this.?

Thanks.
Chilambarasan
Top achievements
Rank 1
 answered on 30 Mar 2012
8 answers
265 views
Hello

I need to export a RadEditor to a RTF, but I need to do it silently on the server and not popup a saveas window to the user. How can I achieve this please ?

Regards
Mihai
Rumen
Telerik team
 answered on 30 Mar 2012
2 answers
221 views
HI,

recently we have upgraded RadControls

for ASP.NET AJAX Q1 2010 to ASP.NET AJAX Q1 2012.

 


i am trying

to open Tooltip on a button click in RadToolBar in javascript. the Tooltip is showing relative to the element. the problem is when page is posted back and i try to open the tooltip it is not showing relative to element (RadToolBar) even though i am setting the targetcontrol on client side.

need some help to resolve this issue.

please find the code below

Contentpage javascript:

 

function

 

 

OnToolbarClientButtonClicking(sender, args) {

 

 

 

var button = args.get_item();

 

 

 

var sCommandName = button.get_commandName();

 

 

 

//alert(button.get_commandName());

 

 

 

 

 

 

 

 

if (sCommandName == 'add') {

 

 

 

var hidManage = '<%=hidManageId.ClientID %>'

 

 

 

 

 

ShowToolTip(document.getElementById(hidManage).value);

args.set_cancel(

 

true);

 

}

 

 

 

 

}


User Control:

<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="SearchUploadContainer.ascx.cs"
    Inherits="AppWeb.ControlLibrary.SearchUploadContainer" %>
<%@ Register Assembly="WebControlLib" Namespace="WebControlLib" TagPrefix="ccl" %>
<%@ Register TagPrefix="telerik" Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" %>
<link rel="stylesheet" type="text/css" href="../StyleSheet.css" />
<ccl:WTToolTip runat="server" ID="wtToolTip" IsClientID="true" TargetControlID="ManageToolbar" AutoCloseDelay="0"
    ShowEvent="FromCode" HideEvent="FromCode" RelativeTo="Element" Position="MiddleRight"
    EnableTheming="true" Modal="true" Width="230px" Height="400px" OnClientShow="SetFocus" >
    <div class="contentBlock" style="width: 220px">
        <telerik:RadScriptBlock ID="rsb" runat="server">
function ShowToolTip(manage, appttype, dtDate, slotId) {
                   
                    var tooltip = $find("<%=wtToolTip.ClientID%>");
                    var txt = $find("<%=txtContainer.ClientID%>");
                   

                    tooltip.set_targetControlID('');
                    tooltip.set_targetControlID(manage);

                  

                    if (appttype != null && appttype != undefined) {
                        document.getElementById("<%=hdnApptType.ClientID%>").value = appttype;
                    }

                    if (dtDate != null && dtDate != undefined) {
                        document.getElementById("<%=hdnDate.ClientID%>").value = dtDate;
                    }

                    if (slotId != null && slotId != undefined) {
                        document.getElementById("<%=hdnSlotSchedule_id.ClientID%>").value = slotId;
                    }

                    EnableDisableControls();
                   
                    //setTimeout(function () {
                        tooltip.show();
                    //}, 1000);

                    //tooltip.show();
                    SetFocus();

                }
</telerik:RadScriptBlock>
        <h2 class="contentBlockTop" style="text-align: left; width: 210px;">
            <ccl:WTLabel ID="lblContentTopText" runat="server" Width="210px"></ccl:WTLabel>
            <asp:HiddenField ID="hidManageId" runat="server" />
            <asp:HiddenField ID="hdnApptType" runat="server" />
            <asp:HiddenField ID="hdnDate" runat="server" />
            <asp:HiddenField ID="hdnSlotSchedule_id" runat="server" />
        </h2>
</ccl:WTToolTip>

Jay
Top achievements
Rank 1
 answered on 30 Mar 2012
1 answer
118 views
Hello all,

am using Rad Scheduler control in VS 2010 to display meetings on each day in monthly view. But there seems to be a problem with width settings as the meetings scheduled only on current date(i.e today) is shown in correct form. Please find the attached screenshot of the page. Meeting is correctly showing on 29th (today), but there are meetings on other days (eg: 28th, 30th) and it's not getting displayed in the expected format.

Requesting help to fix the issue.

Ivana
Telerik team
 answered on 30 Mar 2012
1 answer
78 views
Background:
I have an ASP.NET page that contains a RadScheduler control. When I browse to the page, it displays appointments that are stored in a SQL Server table. When I double-click an appointment, I can edit the text, click [Save], and the appointment is successfully updated. The update is reflected in 2 places; the appointment within the scheduler shows the update that was entered, plus the row in the database table reflects the update as well. The row in the database table is updated by some code that resides within the AppointmentUpdate event associated with the scheduler control.

Problem:
If I double-click on an appointment, and click [Options] to open the advanced form, change some text or date/time values, and click [Save], the advaned form is closed, but nothing happens. The appointment that was edited retains its previous settings and the AppointmentUpdate event is not fired.

After researching this issue, I decided that maybe I needed to apply some customized tweaks to the advanced form, so I applied the example Customizing the Advanced Insert and Edit Forms. But in the end, I have the same problem; whenever the advanced form is used, no changes are made to the appointments, and the AppointmentUpdate event is never executed.

What should I be looking for in order to resolve this problem?

Thank you,
Steven
Ivana
Telerik team
 answered on 30 Mar 2012
1 answer
55 views
Hi

I am trying to use PanelBar for a set of FAQ, where the top level items are Categories and the child items are Individual pairs of Questions and Answers drawn from a database. Items are added to the panelbar in code behind in the page load event.

The answer text may contain hyperlinks to websites, so I want these links clickable and not the whole child item. How do I prevent the whole child item being a live link, which seems to block the function of the embedded links?

Thanks for any help you can give me

I am using Q2 2010 version

Thanks

Clive
Kate
Telerik team
 answered on 30 Mar 2012
1 answer
92 views
I have a radgird with 3 sub levels, what they want is 3 drop down menus on the page that will open to the level of the radgrid.  So the frist drop down shows the information that they want. then the second drop down will open the radgrid and show the second level and so on.  Is there a way to do this.
Antonio Stoilkov
Telerik team
 answered on 30 Mar 2012
8 answers
374 views
Hi,

I am currently using "RadListBox1.AllowDelete = false" which removes the delete button. Instead, I would like the delete button to be grayed out -- as when deletion is allowed but no item is selected. Is this possible to set server side?

Sean
Dimitar Terziev
Telerik team
 answered on 30 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?