Telerik Forums
UI for ASP.NET AJAX Forum
8 answers
142 views
If you look at the documentation for RadPanelBar, you will find:

All server controls located in the templates are directly accessible by their IDs on Page-level. Instead of using the common syntax
        RadPanelBar1.Items[0].Header.FindControl("RadMenu1") //inside a HeaderTemplate
        RadPanelBar1.Items[0].FindControl("RadMultiPage1") //inside a ContentTemplate
    
you can use RadMenu1 or RadMultiPage1 to reference the control located inside the respective template of the first root Item of a PanelBar.
 

However, trying to actually use this functionality, it seems like controls within a RadPanelBar are not accessible without using the FindControl(). In a RadMultiPage though, it seems possible. Other post by Telerik personel here in the forum seem to confirm this. Or am I missing something here?

http://demos.telerik.com/aspnet-ajax/panelbar/examples/functionality/templates/defaultcs.aspx
Kate
Telerik team
 answered on 26 Apr 2012
1 answer
101 views
Hi,

       In my page I have to popup the radconfirm on a button click.  Depends upon the value return by radconfirm I have to perform some actions that is if it is false or null  then cancel the click event action. If it is true then I donot perform no operation because  i have written the server side button click event handling function so it will call. My problem is if i click button radconfirm is popuped and it doesnt wait for  the value return by the radconfirm it postbacks and perform the server side action.

Thanks
Velkumar.
rdmptn
Top achievements
Rank 1
 answered on 26 Apr 2012
1 answer
60 views
hi,

i have use radgrid in my project. and also mouse over in radgrid (radgrid heght changed automatically)
i  need  to fix height in mouse over in radgrid.
and also i have attached radgrid image.

pls help me.

Regards
Padmanaban thirunamam

Pavlina
Telerik team
 answered on 26 Apr 2012
3 answers
242 views
will the code below work? but if it does, then every time i add new content page and want to
have a post back on a control, i have to add that into master page? can't i just have the
manager in content page?


below code is in master.master
<
telerik:RadScriptManager ID="RadScriptManager1" runat="server">
</telerik:RadScriptManager>
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
    <AjaxSettings>
        <telerik:AjaxSetting AjaxControlID="btnDecrease">
            <UpdatedControls>
                <telerik:AjaxUpdatedControl ControlID="TextBox1" />
            </UpdatedControls>
        </telerik:AjaxSetting>
    </AjaxSettings>
</telerik:RadAjaxManager>

below code is in default.aspx
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <asp:Button ID="btnDecrease" runat="server" Text="Increase" OnClick="btnDecrease_Click" />
    <asp:textbox ID="TextBox1" runat="server" Text="0"></asp:Label>
</asp:Content>

Maria Ilieva
Telerik team
 answered on 26 Apr 2012
1 answer
174 views
i have a radbutton inside radajax panel. on button click i want a page "mypage.aspx" to be opened in a new window. How can i achieve this ? page.open doesnt work since the button is inside ajaxpanel.. Please help!!
Princy
Top achievements
Rank 2
 answered on 26 Apr 2012
1 answer
72 views
How can I do to start my chart into <div> tag? Example: In my webpage I have 3 div tags:
1) Topo
2) Conteudo
3) Rodape

I want to start my Chart into Conteudo div. How do I do?
Ves
Telerik team
 answered on 26 Apr 2012
3 answers
131 views
I have a hierarchical Radgrid with Vertical and horizontal scrolling. When I added the scrolling it seems to have created the addition of a blank column. The first column of the grid contains the BtnExpand item. The second column is blank and when you view the page source it appears like this:

<td class="rgResizeCol">&nbsp;</td>

I don't know why this column exists?

Has anyone seen this type of behavior before?
Galin
Telerik team
 answered on 26 Apr 2012
1 answer
122 views
Hi All,

Markup of my radcombobox looks like the following. Even with the following configuration, users are able to paste invalid data into RadComboBox. Can someone please let me know a way to prevent that?

Regards,
Prasad
<telerik:RadComboBox ID="rcbDepartment" runat="server"  Width="200px"
           EmptyMessage="Any Department"  DataTextField="text" DataValueField="value"
           AutoCompleteSeparator=";"  AllowCustomText="false"
           MarkFirstMatch="true"  > </telerik:RadComboBox>        
Ivana
Telerik team
 answered on 26 Apr 2012
1 answer
50 views
Hi there,

 In the FormCreated event of RadScheduler I added a event handler for ResourceType combo box. Here is the code.
What I am trying to achieve is that when I select an item in the combo box it will automatically populate other textbox on the Advanced form.
protected void rsSchedules_FormCreated(object sender, SchedulerFormCreatedEventArgs e)
   {
       if ((e.Container.Mode == SchedulerFormMode.AdvancedEdit) || (e.Container.Mode == SchedulerFormMode.AdvancedInsert))
       {
          
 
           RadComboBox cboItinerary = (RadComboBox)e.Container.FindControl("ResItinerary");
           cboItinerary.SelectedIndexChanged += new RadComboBoxSelectedIndexChangedEventHandler(cboItinerary_SelectedIndexChanged);
           cboItinerary.AutoPostBack = true;
 
           
       }
   }


 This issue is that when I use SelectedValue to retrieve the value in SelectedIndexChange event it returned something like /wECAQ==
I am not sure where this value from. There is nothing wrong with the data binding. The expected value should be integer.

I also tried to use client API to retrieve the value. I got same result.

How could I retrieve the value from the combo box?

Thanks





























Plamen
Telerik team
 answered on 26 Apr 2012
3 answers
137 views

Hi,

I'm trying to use chart Zoom event in Asp.net. How can I obtain x-y values from Chart Zoom event args ?

First of all I  bind a data to my chart after user zooms, according to the zoom args I want to bind another data source to chart because of performance issue. How can I manage my plan ?

tnx.

Petar Marchev
Telerik team
 answered on 26 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?