Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
309 views
Hello,

I'm using the RadGrid with the default empty message that appears when no record are returned.  However, the message appears only in the first cell (I have the header appear whenever no records returned).  But I was wondering if there was a possibility to have the message stretch across all of the cells, and not just appear in the first cell.  This way, the message wraps and it doesn't look as nice.

Does using a custom no records message resolve this, or is it only in the first cell too?

Thanks.
Brian Mains
Top achievements
Rank 1
 answered on 28 Jan 2009
3 answers
115 views
How do I ajaxify the postback after I close the the popup window. I have a code that update a hidden field in the parent window after I click ok from the popup and it close the popup window, the problem is it postback and I want a silent postback like ajaxifying the postback how can I do that. I use the Radwindowmanager to open the popup.
Sebastian
Telerik team
 answered on 28 Jan 2009
1 answer
103 views
hi,

Is there an example of operating in manual mode on recurrence field in a RadWindow?

I visualize a radwindow with my appointments, and use another for  insert/modify an appointment in manual mode... and I havetrouble for setting the recurrence.

Thank.
Alessio.
Peter
Telerik team
 answered on 28 Jan 2009
3 answers
134 views
Afternoon guys,

I have been having fun with RadToolTips but have run into a completely bazaar situation... I am not even really sure how to debug this, i do not quite know how this is happening... Let me try explain:

 First of all, i am building a SiteFinity website so there are no aspx pages, just ascx controls that make up my site...

Ok so i have two controls FlightPassengers.ascx and ReservationDetails.ascx.

FlightPassengers.ascx has a form on it where a user can enter data, it has RadDatePickers and RadAjaxPanel and performs partial page updates when certain actions are performed...

ReservationDetails.ascx is where i have my RadToolTipManager control... the control is built to LoadOnDemand and i have EXPLICITLY told it to NOT AutoTooltipify anything... OnAjaxUpdate it loads up my user control and displays data based on the parameter i pass it... The control looks like this and works like a charm...

<rad:RadToolTipManager ID="ttmAirportInfo" OnAjaxUpdate="ttmAirportInfo_OnAjaxUpdate" SkinID="sknRadToolTipManager_AirportInfo" AutoTooltipify="false" runat="server" /> 
 
Now all is well until FlightPassengers.ascx performs a partial page update of itself. After which anything on this control that has a tooltip (like the RadDatePicker) from then on out runs the RadToolTipManager (ttmAirportInfo) that i have on my other control (ReservationDetails.ascx)

Why? and how do i make it stop doing this?

Duncan

Mike
Top achievements
Rank 1
 answered on 28 Jan 2009
3 answers
206 views
I'm trying to use Frozen columns with static headers and non-specified column widths and are seeing some strange results.

In your example: http://demos.telerik.com/aspnet-ajax/Grid/Examples/GeneralFeatures/FrozenColumns/DefaultCS.aspx if you deleted HeaderStyle.Width;

In Firefox 3.0.5, Internet Explorer 7.0.5730.13, Safari 3.2.1 and Google Chrome 1.0.154.43
- The grid headers overlap in a couple of places
- The last visible column when scrolled to the right is NOT really the last column.  2-5 are missing (IE looses the most)
- When you scroll to the right, random columns are hidden/visible.  This is more obvious if you scroll slowly to the right.

If you use that same example and change the HeaderStyle.Width from 200px to 150px the above problems do not exist, but in FF & Chrome & Safari the Manager column is missing.

It seems like all of the planets have to be aligned to make everything render properly, can you shed some light on this?
Rosen
Telerik team
 answered on 28 Jan 2009
0 answers
144 views
How do I add the rel="nofollow" tag to the link that is generated by the tab?

I need this for seo purposes
ZacharyD
Top achievements
Rank 2
 asked on 28 Jan 2009
1 answer
384 views
Dear Teleriks,
I have  an application that has a RadAjaxManager in a page that has a couple telerik controls (I will call this page parent.aspx). Parent dynamically populates a <DIV> via ajax call (jquery). The resulting <DIV>, once populated, contains another RadAjaxManager and a TabStrip (I will call this page 'child.aspx').
The child requires the RadAjaxManager to avoid parser/compiler errors. The controls inside the child work just fine with its RadAjaxManager. But once the child is loaded into the parent, it looks as if the parent's controls are calling the child's RadAjaxManager's javascript because the parent's controls events no longer work when I load the child with the AjaxManager

Here is some of my code of parent.aspx:

// parent.aspx 
 <telerik:RadScriptManager ID="RadScriptManager" runat="server"></telerik:RadScriptManager> 
 
// several telerik controls in the page 
// ... 
// ... 
 
<div id="childWindow" /> 

Which then executes the following javascript:

// Parent.aspx uses jquery 
// What this function does is POST an ajax call to child.aspx and uses the  
// response to populate the "childWindow" DIV  
 
$j.ajax({ 
    type: 'POST', 
    data: '', 
    url: /child.aspx', 
    success: function(msg) { 
        $j("#childWindow").html(msg); 
    } 
}); 

child.aspx contains a scriptmanager for more telerik controls, notably, chart, tabstrip, and grid.
example of child.aspx:

// child.aspx 
 
<telerik:RadScriptManager ID="RadScriptManager_Child" runat="server"></telerik:RadScriptManager> 
 
<telerik:radtabstrip id="radTabs" runat="server" Skin="Summary" .... /> 
 
// ... 

After the child page is loaded. In all my attempts to get these two pages to work together, the parent's controls give either 1.) strange errors, which referenced the inserted javacsript from the ajaxmanager of the child or 2.) events of the parents controls work almost as if they're no longer firing (ex. postback from an onchange event), however, no error is shown.

Any ideas? Are the scriptmanagers safely encapsulated from each other if added at runtime?  Could the parent's teleriks changing mode into ajax calls once the second manager is added?
Any suggestions would help, otherwise I will need to abandon telerik (as this app is javascript heavy).

Thanks. If I come to a solution I will post it; I will gladly return the favor in exchange for some ideas.
-Tim

Iana Tsolova
Telerik team
 answered on 28 Jan 2009
2 answers
175 views
Hi there,
Any instructions and sample code on how to open a radwindow when clicked the default edit and new link buttons of a formview
will be greatly appreciated.
Thanxs
Panayiotis Pelekanos
Top achievements
Rank 1
 answered on 28 Jan 2009
3 answers
58 views
Hi,

I have a genric list that i bind to the Scheduler it just has the min StartDate, EndDate etc... no Recurrence
but when i have an item that is over more then one day it's getting Displayed as an all day event for both daysand it doesn't strech to show that it's the Same item Please help.
Peter
Telerik team
 answered on 28 Jan 2009
1 answer
242 views
Hi,

I have the following AJAXManager:

        <telerik:RadAjaxManager ID="radAjaxManager" runat="server" EnableEmbeddedScripts="true" EnableAJAX="true" UpdatePanelsRenderMode="Block"
            <AjaxSettings> 
                <telerik:AjaxSetting AjaxControlID="pnlCheckingSystem"
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="pnlCheckingSystem" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
                <telerik:AjaxSetting AjaxControlID="btnLogin"
                    <UpdatedControls> 
                        <telerik:AjaxUpdatedControl ControlID="pnlLoggingIn" /> 
                    </UpdatedControls> 
                </telerik:AjaxSetting> 
            </AjaxSettings> 
        </telerik:RadAjaxManager> 
 
 

... and I am trying to "find" it using code I lifted from http://demos.telerik.com/aspnet-ajax/Ajax/Examples/Manager/ClientSideAPI/DefaultCS.aspx using the $find() function: (this is just before the BODY close tag)

    <telerik:RadCodeBlock ID="RadCodeBlock1" runat="server"
     
        <script type="text/javascript" language="javascript"
            function InitiateAsyncRequest(argument) { 
                var ajaxManager = $find('<%= radAjaxManager.ClientID %>'); 
                if (ajaxManager) ajaxManager.ajaxRequest(argument); 
                else alert('Could not get control \'<%=radAjaxManager.ClientID %>\''); 
            } 
 
            InitiateAsyncRequest('clientCheck'); 
        </script> 
     
    </telerik:RadCodeBlock> 

Instead, radAjaxManager keeps coming back null (therefore displaying the alert). For your information, the control ID it displays is indeed 'ctl00_contentPlaceHolder_radAjaxManager', which does map to the rendered HTML:

    <div id="login"
        <h1>Login</h1> 
        <!-- 2008.3.1125.35 --><div id="ctl00_contentPlaceHolder_radAjaxManagerSU"
    <span id="ctl00_contentPlaceHolder_radAjaxManager" style="display:none;"></span> 
</div> 
 
 

By the way, what's the purpose of the RadCodeBlock? I got an exception suggesting I should add it.
Iana Tsolova
Telerik team
 answered on 28 Jan 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?