Telerik Forums
UI for ASP.NET AJAX Forum
5 answers
149 views
Can you please list, for both RadWinbdow and RadWindowManager, the properties that have the ThemeableAttribute attribute set as these properties aren't specifically identified in the docs.

TIA,

-- 
Stuart
Stuart Hemming
Top achievements
Rank 2
 answered on 07 Sep 2010
12 answers
218 views
I have a RadScheduler and a RadToolTipManager that I use to show a custom hover over the events.  Following an example I used this code to add the tooltips to the events:

    protected void rsCalendar_AppointmentCreated(object sender, Telerik.Web.UI.AppointmentCreatedEventArgs e)
    {
        if ((e.Appointment.Visible) && (!IsAppointmentRegisteredForTooltip(e.Appointment)))
        {
            string strId;
            if (e.Appointment.RecurrenceState != Telerik.Web.UI.RecurrenceState.Occurrence)
                strId = e.Appointment.ID.ToString();
            else
                strId = e.Appointment.RecurrenceParentID.ToString();

            foreach (string strDomElementId in e.Appointment.DomElements)
                RadToolTipManager1.TargetControls.Add(strDomElementId, strId, true);
        }
    }
    private bool IsAppointmentRegisteredForTooltip(Telerik.Web.UI.Appointment Appt)
    {
        foreach (Telerik.Web.UI.ToolTipTargetControl ttControl in RadToolTipManager1.TargetControls)
            if (Appt.DomElements.Contains(ttControl.TargetControlID))
                return true;
        return false;
    }

Here is the .aspx side

    <telerik:RadToolTipManager ID="RadToolTipManager1" runat="server" OnAjaxUpdate="RadToolTipManager1_AjaxUpdate"
        Width="300px" Height="80px" Text="Loading..." OnClientBeforeShow="clientBeforeShow"
        HideEvent="LeaveToolTip" Animation="None">
    </telerik:RadToolTipManager>

  The OnClientBeforeShow simply centers the tooltip.

  If I let the tooltip come up and then double click on an event it open the event and shows no error.  Likewise, if I double click quickly after I move the mouse onto the event I receive no error.  However, if I hesitate and do something in between the following error is shown:

RadToolTipManager response error:
 Exception=Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 0

  The double click is processed and the event's details are shown, but now under the error pop-up.  This only appears to be happening in Firefox and Chrome.

Thanks!
Alex Occhipinti
Top achievements
Rank 1
 answered on 07 Sep 2010
4 answers
211 views
Hi,

In which cases do I need RADScriptManager on my page?
Is there any specific control which needs RADScriptManager on a page?
Shawn Krivjansky
Top achievements
Rank 1
 answered on 07 Sep 2010
2 answers
117 views
Is there a performance difference between the the controls from 2.0, to 3.5 to 5? 
John Giblin
Top achievements
Rank 1
 answered on 07 Sep 2010
4 answers
222 views
I am trying to control the format that excel chooses for my cells when I do an ExportToExcel() of my grid.

I have a column that holds percentage values.   In the column declaration, I have the following: 

DataFormatString

 

="{0:N1}%"  FooterAggregateFormatString="{0:N1}%"

 


But although both format strings are the same, in the excel sheet that is generated, the data rows are formatted with the "Number" category, and so they have values like "0.36", while the footer is formatted with the "Percentage" category and has values like "36.4%" (which is what I want).

I have tried at least a dozen things and I can't get the data rows to display in a percentage format.   Is there any way to control the format of data rows when you use ExportToExcel?
Tab Alleman
Top achievements
Rank 1
 answered on 07 Sep 2010
2 answers
184 views
Hello,

I am using RadControls for ASP.NET AJAX (v20091.527.20) and I am experiencing different display rendering in IE8 and IE8 Compatibility Mode.  Please see the attached screen shot.

As you can see, the columns widths are different depending on the browser mode.  I have also tried using IE7 but it renderes the same as IE8 Compatibility Mode.

Also, I have three custom filtering columns based on the GridTemplateColumn class.  The second one is set to stretch over five adjacent columns.  You can see it works fine in IE8 but gets clipped in IE8 Compatibility Mode (and also in IE7).

How can I fix this display issue?

Thanks,

Randall Price
Virginia Tech - Microsoft Implementation Group
Randall
Top achievements
Rank 2
 answered on 07 Sep 2010
4 answers
123 views
where can we find the client-side documentation for your objects? specifically for the TimePicker
Jeff
Top achievements
Rank 1
 answered on 07 Sep 2010
7 answers
171 views
I have so many different UserControls and RadControls on my page that it seems to be conflicting with the RadFilter.  I am trying to open a RadWindow with the RadFilter in the Content Template.  Four problems arise for me when doing this.

1. Clicking the Add Expression button does nothing on first click, a second click does what is expected.
2. Showing an expression based on a DateTime field throws off the style. The textbox width is very small, the images do not show up, and the alternate text shows up.
3. Any skin other than Default does not show correctly.
4. When clicking Apply, I get "Microsoft JScript runtime error: '_events' is null or not an object".  When I click Continue in Visual Studio, the filter does get applied.

I think a lot of this could be solved if I were able to put the RadFilter on a seperate page.  I understand how the RadFilter interacts with the FilterContainer, in my case a RadGrid but I am hoping that there is a solution as our setup is very complicated.

We use dynamic tab loading using the RadTabStrip control.  Each tab contains a UserControl which have a myriad of RadControls including RadSplitter, RadGrid, RadToolbar, RadWindow.

<telerik:RadAjaxManagerProxy ID="rampDomestic" runat="server">
     <AjaxSettings>
         <telerik:AjaxSetting AjaxControlID="btnApply">
             <UpdatedControls>
                 <telerik:AjaxUpdatedControl ControlID="rgDomestic" LoadingPanelID="ralpDomestic" />
             </UpdatedControls>
         </telerik:AjaxSetting>
         <telerik:AjaxSetting AjaxControlID="rfAdvanced">
             <UpdatedControls>
                 <telerik:AjaxUpdatedControl ControlID="rfAdvanced" LoadingPanelID="ralpDomestic" />
             </UpdatedControls>
         </telerik:AjaxSetting>
     </AjaxSettings>
</telerik:RadAjaxManagerProxy>
<telerik:RadAjaxLoadingPanel ID="ralpDomestic" runat="server"></telerik:RadAjaxLoadingPanel>
<telerik:RadWindowManager ID="rwmDomestic" runat="server">
     <Windows>
         <telerik:RadWindow ID="rwAdvancedFilter" runat="server" Behaviors="Move, Resize, Close" Title="Advanced Shipment Filter" Modal="true" Width="400" Height="400">
             <ContentTemplate>
                 <telerik:RadFilter ID="rfAdvanced" runat="server" FilterContainerID="rgDomestic" ShowApplyButton="false" Style="margin:10px 0 0 10px;">
                 </telerik:RadFilter>
                 <asp:Button ID="btnApply" runat="server" Text="Apply" OnClientClick="HideAdvancedFilter" /><asp:Button ID="btnCancel" runat="server" Text="Cancel" OnClientClick="HideAdvancedFilter" />
             </ContentTemplate>
         </telerik:RadWindow>
     </Windows>
</telerik:RadWindowManager>


Thanks for any help.
Seth
Top achievements
Rank 1
 answered on 07 Sep 2010
4 answers
227 views
Hi..
I'm using the following code. WHen a user clicks a Save button at the bottom of the page.

 

 

string scriptstring = "radalert('Information Added!',300, 100);";

 

 

 

ScriptManager.RegisterStartupScript(this, this.GetType(), "radalert", scriptstring, true);

 


How can I position the RadAlert at the top of the page? So the user can begin to enter a new record? I tired

txtLastName.Focus()

but it doesn't seem to work...

thanks
Jon
Top achievements
Rank 1
 answered on 07 Sep 2010
0 answers
96 views
If I wanted to change the default min date for RadDatePickers for our entire site, would I simply change the value in Telerik.Web.UI.xml?


<member name="P:Telerik.Web.UI.RadDatePicker.MinDate">
            <summary>
            Gets or sets the minimal range date for selection.
            Selecting a date earlier or equal to that will not be allowed.
            </summary>
            <remarks>
            This property has a default value of <strong>1/1/1980</strong>
            </remarks>
        </member>
Greg
Top achievements
Rank 1
 asked on 07 Sep 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?