Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
79 views
Hello, I have successfully programmatically ajaxified many composite controls, using the following steps:

1. Inside MyCompositeControl.OnInit: subscribe to Page.PreRender event
2. Inside Page.PreRender event: call AddAjaxSetting on desired child controls

Good!

Now I have a problem because one of my child controls is a FormView and inside I have a ITemplate derived class with many controls.
I’m not able to ajaxify these controls inside ITemplate.
The problem comes from the page lifecycle, that is:

1. MyCompositeControl.OnInit
2. Page.PreRender
3. ITemplate.InstantiateIn

So, during Page.PreRender it’s too early to ajaxify ITemplate subcontrols, because they are not yet created.
But Ajaxifing them at the end of ITemplate.InstantiateIn throws a System.ArgumentNullException.
Maria Ilieva
Telerik team
 answered on 04 Feb 2014
8 answers
99 views

When i sort a column in IE 11 i get a extra column in the header. How do i remove that?


Pavlina
Telerik team
 answered on 04 Feb 2014
1 answer
39 views
Hello,

We have recently updated our Telerik dll's from 2012.1.411.40 to the latest and found out the riDisplay class for Numeric Textbox is missing becuase of which our UI customizations got messed up.

Attached are screenshot when viewed in Chrome's inspect element.

Can someone please let me know if there is a way we can get back the riDisplay class to be used for Numeric Textbox as we dont want to spend our time again in customizing the UI.

Thanks
Viktor Tachev
Telerik team
 answered on 04 Feb 2014
1 answer
23 views

Present we are using 2002-2007 version
now we are plan to move 2007-2013 version
please explain how to do it.
Shinu
Top achievements
Rank 2
 answered on 04 Feb 2014
5 answers
930 views

Hello,

I have a tabstrip with four tabs, linked to four pageviews.

A button on the first tab (Basket), activates the second tab (Shipping).
A button on the second tab (Shipping), activates the thirth tab (Payment).

After a click on the first button, the code-behind is run, the properties of the tabstrip (SelectedIndex) and pageviews (enabled, selected) are OK, but nothing is updated on screen !
After a click on the second button, everything runs fine and the thirth tab is activated and the thirth pageview is correctly displayed...

I'm new to telerik controls, and such behaviour surprises me...

Here my code-behind:

protected void btnShipping_Click(object sender, EventArgs e)
{
    // First first to second tab
    tabShipping.Enabled = true;
    tabShipping.Selected = true;
    pvShipping.Selected = true; // DOES NOT WORK. Nothing updates on screen...
}

protected void btnPayment_Click(object sender, EventArgs e)
{
   // From second to thirth tab
   tabPayment.Enabled = true;
   tabPayment.Selected = true;
   pvPayment.Selected=true;            // Everything is OK...
}

Any idea ?
Thank you in advance...

Philippe
Shinu
Top achievements
Rank 2
 answered on 04 Feb 2014
3 answers
114 views
In the RadEditor, if I have  a text selection which spans partial words, how can I programatically expand it that so that the selection includes only full words?

Example (Square brackets represent the selection).

Start with this:   THIS IS MY SENTEN[CE IN THE RAD]EDITIOR

Change to this: THIS IS MY [SENTENCE IN THE RADEDITIOR]
Princy
Top achievements
Rank 2
 answered on 04 Feb 2014
2 answers
179 views
Hi, 

I am creating a Confirm Window via a WindowManager I have in my page :

in aspx :
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableShadow="true">
</telerik:RadWindowManager>

in code behind :
RadWindowManager1.KeepInScreenBounds = true;
RadWindowManager1.RadConfirm("Test", "OkButtonSave_fn", 330, 180, null, "Test");

But I am having some trouble with the property that shoud display the RadWindon in the screen bounds.
Most of the time the confirm Window is displayed way out of the screen limit, at the top of the page.

Is there any trick I should use in order to have it displayed properly ?

Thanks,
Guillaume
Top achievements
Rank 1
 answered on 03 Feb 2014
5 answers
113 views
Hello to everyone.

I'm facing the following issue using RadTooltip from Aspnet Ajax 2009 Q3 controls suite.

The issue happens just in Google Chrome Browser (last version included). Even the RadToolTip is set to Sticky="true", when i try to move mouse pointer on, the Tooltip disappear; in Firefox and IE it works correctly.

Here's the code i use:

<telerik:RadToolTip runat="server" ID="EditPhotoToolTip" EnableEmbeddedSkins="False"
                ShowEvent="FromCode" HideEvent="LeaveToolTip"  Sticky="true" Animation="None"
                Position="BottomCenter" RelativeTo="Element" Width="340" Height="150" Skin="Default" ShowCallout="False" ContentScrolling="None" OffsetX="0" OffsetY="0" HideDelay="0" AutoCloseDelay="0">
... Content...
</telerik:RadToolTip>
 
 function ShowEditToolTipBox(pTarget, pFotoId, pComment, pName, pShow) {
         
        toolTipCtr.set_targetControl(pTarget);
        if (pShow) {
        
              toolTipCtr.show();
 
        }
David
Top achievements
Rank 1
 answered on 03 Feb 2014
6 answers
200 views
The "Configuring the axes" section of the HtmlChart documentation seems to suggest that a YAxis DataLabelsField should exist however I can't seem to find one on the control (found the XAxis)? I'm using the bar chart type and need to show a different label value on the y axis then the incoming data (the label value is provided by my data source). Example, y value (data field) is productive days out in decimal form, while the data label needs to be a properly formatted string of productive days out (ex. Days, Hours, Minutes). Thanks.
Danail Vasilev
Telerik team
 answered on 03 Feb 2014
1 answer
88 views
Hi, i have a problem with a RadGrid, when I want to edit some row this happend (attached file).
what cai I do?
Pavlina
Telerik team
 answered on 03 Feb 2014
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?