Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
108 views
Hi,

I have a scenario where a treeview is a dynamically populated user control placed on to a masterpage.
On the click of a node, content holder on right loads up a new page
1. Tree state should be maintained in between pages
2. Whole master page should not refresh

Please advice.
Nikolay Tsenkov
Telerik team
 answered on 16 Nov 2010
3 answers
116 views
Hi Telerik team

I have an Issue in the rad dock ,when the page posts back it causes the content of the dock to disappear
please check the following images to have more information about the page

Before Post back 
After Post back

thanks in advance

Remarks
I'm using the following tools and technologies
  • rad controls for asp.net ajax  2009 - Q3
  • Micrososft windows 7
  • sql server 2005
  • asp.net with framework 3.5
Pero
Telerik team
 answered on 16 Nov 2010
1 answer
65 views
I have a PanelBar that I dynamically load data in the ItemTemplates when the user expands the PanelBarItem.  This was working fine until the new skins came out that added the expand/collapse button to the PanelBarItems.  It doesn't seem that a Server-Side event gets fired when this button is used.  I was triggering off of the ItemClick event to perform my databinding, but this no longer works.  Are there any suggestions on how to handle the action of a user clicking on this button?

TIA
Nikolay Tsenkov
Telerik team
 answered on 16 Nov 2010
5 answers
108 views


I have a RadTextBox defined like this:

<telerik:RadTextBox ID="newNoteTextArea" Runat="server" EmptyMessage="Enter new note here." Skin="Office2007" TextMode="MultiLine" Rows="4" width="99%" ShowButton="false" style="border: none;" ValidationGroup="undr_AddNote" MaxLength="2000000" ></telerik:RadTextBox>

When the user types a lot of text into the RadTextbox, the texbox will scroll back toward the top of the textbox and bounce back between the top and the typing line in-between typing.  This is happening in IE7, but dos not seem to in Chrome.  I have not tested Firefox or any other browsers.  I have confirmed that this same thing happens in the online demo found here: http://demos.telerik.com/aspnet-ajax/input/examples/radtextbox/firstlook/defaultcs.aspx


To see it copy this into the multi-line input:

;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk ;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk ;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk;sdlgj s;lkfjg ;slkgj;lskgj;lksdfg;skfg;lsfjg;sfgsfjglksfjd;kf;lksjd ; dfgks dfg;lksj dfg;jsf ;lksdf g;slkfg ;slkgj s;lfk


Then type, you’ll see it bounce up and down.  This become VERY annoying for the user. 

Dimo
Telerik team
 answered on 16 Nov 2010
5 answers
130 views
We have a RadGrid with a NestedViewTemplate

Setting the Grid GroupHeaderItemStyle.CssClass = "groupbyheader";  affects the first td in the NestedViewTemplate..
Dimo
Telerik team
 answered on 16 Nov 2010
2 answers
93 views
I have a RadComboBox1 that I want to show nothing in until the RadComboBox2 above it has a selected value.  I do this by not setting a data source on RadComboBox1.  Once a value is selected in RadComboBox2 on the server side I am setting a new datasource and loading the RadComboBox1.  This works the first time I have selected an option in RadComboBox2 that has associated data.  When I select an item in RadComboox2 that does not have associated data, RadComboBox1 will not clear. 

I have tried the following to clear RadComboBox1:

                RadComboBox1.ClearSelection();
            RadComboBox1.Text = string.Empty;
            RadComboBox1.Items.Clear();
            RadComboBox1.DataSource = null;
            RadComboBox1.DataBind();
  
            while (RadComboBox1.Items.Count > 0)
            {
                RadComboBox1.Items.Remove(0);
            }

However nothing seems to allow me to remove the items from RadComboBox1.  I have tried this code on RadComboBox2 selected index changed, on RadComboBox1 items requested and elsewhere.  Any help would be appreciated.
JD Emmert
Top achievements
Rank 1
 answered on 16 Nov 2010
1 answer
179 views
hi,

i tried lots of solution but i hevent been  solved my problem yet.

i write 1.250,50 in radnumerictextbox then i get the value from codebehind like this txtPrice.Value but it shows me 1250.50
i need 1250,50 because my db collation is turskih_ci_as.

 

 

 

 

 

 

<telerik:RadNumericTextBox ID="txtPrice" Runat="server" Culture="tr-TR" Width="125px">
<NumberFormat AllowRounding="False" KeepNotRoundedValue="True" DecimalSeparator="," GroupSeparator="." GroupSizes="3" DecimalDigits="2" />
</telerik:RadNumericTextBox>

 

 

 


Maria Ilieva
Telerik team
 answered on 16 Nov 2010
4 answers
69 views
Hello,

I am working on a scheduler web part and have recently added the custom tooltip capability using the RadTooltipManager.  I have followed this demo pretty my to the t: http://demos.telerik.com/aspnet-ajax/scheduler/examples/radtooltip/defaultcs.aspx  It's working great in Sharepoint 2010, but when I add my web part to the Sharepoint 2007 environment, I get this nasty error and my page crashes:
"

The control with ID 'RadToolTipManager1RTMPanel' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.

"

I know for a fact that Sharepoint web parts have a script manager on the page, and just in case we're checking for its existance in the OnInit event:

protected override void OnInit(EventArgs e)
        {
            base.OnInit(e);
  
            Page.ClientScript.RegisterStartupScript(typeof(Adapter20), this.ID, "_spOriginalFormAction = document.forms[0].action;_spSuppressFormOnSubmitWrapper=true;", true);
            if (this.Page.Form != null)
            {
                string formOnSubmitAtt = this.Page.Form.Attributes["onsubmit"];
  
                if (!string.IsNullOrEmpty(formOnSubmitAtt) && formOnSubmitAtt == "return _spFormOnSubmitWrapper();")
                    this.Page.Form.Attributes["onsubmit"] = "_spFormOnSubmitWrapper();";
            }
  
            // Register the ScriptManager
            ScriptManager scriptManager = ScriptManager.GetCurrent(Page);
            if (scriptManager == null)
            {
                scriptManager = new ScriptManager();
                scriptManager.ID = "CWScriptManager";
                scriptManager.EnablePartialRendering = true;
                Controls.AddAt(0, scriptManager);
            }
            //scriptManager.EnablePartialRendering = true;
            scriptManager.LoadScriptsBeforeUI = false;
        }

Due to procedure limitations we're currently forced to use the 2010.1.309.35 version of telerik controls.

Any ideas what could be going wrong?
Dasha
Top achievements
Rank 1
 answered on 16 Nov 2010
1 answer
200 views

Hello,

My question is pretty same as the following one:

http://www.telerik.com/community/forums/aspnet-ajax/tabstrip/rad-tab-click-event-not-firing-the-first-time.aspx

I followed the demo "TabStrip / Load on Demand RadPageView" and i can say that most of the code is missing so i had to combine the code from the other demoS in order to achieve what i want (please refer the code below).

However the thing is that i can't make it loads the very first pageview when tabs are created. After you click another tabpage it works as expected.

It is something similar to windows button control which has a "PerformClick" event. 

Thanks

ASP.NET (HTML)

<telerik:RadMultiPage ID="RadMultiPage1" runat="server" SelectedIndex="0"  CssClass="multiPage" />
 
<telerik:RadTabStrip OnClientTabSelecting="onTabSelecting" ID="RadTabStrip1" SelectedIndex="0" CssClass="tabStrip" runat="server" MultiPageID="RadMultiPage1" Skin="Office2007" Orientation="HorizontalBottom" />

CODE BEHIND (VB.NET)

Imports Telerik.Web.UI
 
Public Class _Default
    Inherits System.Web.UI.Page
 
    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Not Page.IsPostBack Then
            AddTab("Corporate")
            AddTab("Personal")
        End If
    End Sub
 
    Private Sub AddTab(ByVal tabName As String)
        Dim tab As New RadTab
        tab.Text = tabName
        tab.Value = tabName & ".ascx"
        tab.PageViewID = tabName.Replace(" "c, "") & ".ascx"
        RadTabStrip1.Tabs.Add(tab)
    End Sub
     
    Private Sub AddPageView(ByVal pageViewID As String)
        Dim pageView As New RadPageView()
        pageView.ID = pageViewID
        RadMultiPage1.PageViews.Add(pageView)
    End Sub
 
    Protected Sub TabStrip1_TabClick(ByVal sender As Object, ByVal e As RadTabStripEventArgs) Handles RadTabStrip1.TabClick
        AddPageView(e.Tab.Value)
        e.Tab.PageView.Selected = True
    End Sub
 
    Private Sub MultiPage1_PageViewCreated(ByVal sender As Object, ByVal e As Telerik.Web.UI.RadMultiPageEventArgs) Handles RadMultiPage1.PageViewCreated
        Dim userControlName As String = e.PageView.ID
        Dim userControl As Control = Page.LoadControl(userControlName)
        userControl.ID = e.PageView.ID + "_userControl"
        e.PageView.Controls.Add(userControl)
    End Sub
 
End Class

El
Top achievements
Rank 1
 answered on 16 Nov 2010
5 answers
272 views
Greetings,

I have an application with a RadSplitter and two RadPane, one with a RadTreeView and other with diferent forms which are loaded depending on which level of the RadTreeView is selected. In those forms, the user could create or delete nodes from the tree.

The question is how can I manage those forms to reload the RadTreeView each time an update or insert is perfomed.

Kind Regards,

Francisco Cruzado
Dobromir
Telerik team
 answered on 16 Nov 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?