Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
123 views
Hi, I have a problem in which it has an area within the external editor that is gettingstraight and could not find any configuration to remove. Anyone know how?
Rumen
Telerik team
 answered on 29 Mar 2011
1 answer
314 views
I have a radgrid that i populate in the following way:

Button_Click Event
  - Create a Dataview called dvData
  - RadGrid1.DataSource = dvData
  - RadGrid1.DataBind()
End Sub

Radgrid1_NeedDataSource_Event
  - RadGrid1.DataSource = dvData
End Sub

Radgrid_PageIndexChange_Event
  - Radgrid.CurrentPageIndex = e.NewPageIndex
End Sub


When i click on "Next" or on another page's number, the grid still shows me page 1.
Can you please help?
The "Allow Paging" property is set to true for both the grid and the mastertableview.
"Allow Custom Paging" is also set to true.
Page size = 20.

Also the grid is not performing any other function than displaying data (no sorting, no filtering, no paging of course etc)
Pavlina
Telerik team
 answered on 29 Mar 2011
2 answers
122 views
Hello,

I'm trying to dynamiccly add usercontrols to my RadPageView. See exmaple

ASCX
 <telerik:RadTabStrip ID="tabstripContactPerson" runat="server" MultiPageID="mpContactPersonen"
                SelectedIndex="0">
</telerik:RadTabStrip>
<telerik:RadMultiPage ID="mpContactPersonen" runat="server" SelectedIndex="0" CssClass="multipagecontainer">
</telerik:RadMultiPage>

CODEBEHIND
List<WS_RetailerPerson> personen = oRetailer.WS_RetailerPerson.ToList();
  
 foreach (WS_RetailerPerson item in personen)
 {
      using (RadTab tab = new RadTab())
      {
            tab.Text = item.WS_Person.FullName;
            tabstripContactPerson.Tabs.Add(tab);           
      }          
            
      using (RadPageView pageView = new RadPageView())
      {
                PersonEditControl ucPersonEdit = (PersonEditControl)LoadControl(PERSONEDITCONTROL_PATH);
 
                using (DynamicControlsPlaceholder phDynamic = new DynamicControlsPlaceholder())
                {
                       ucPersonEdit.ID = "ucPersonEdit" + item.PersonId.ToString();
                       ucPersonEdit.PersonId = item.PersonId;                  
                       pageView.Controls.Add(ucPersonEdit);
 
                       mpContactPersonen.PageViews.Add(pageView);                                      
                }
            }
        }
}


This works fine but then I want to call the save-methods on each individuel loaded usercontrol in the RadPageViews.

foreach (RadPageView pageView in mpContactPersonen.PageViews)
        {
            foreach (PersonEditControl ucPersonEdit in pageView.Controls)
            {
                ucPersonEdit.Save();
            }
        }

The problem is that it can find the PageView controls in RadPageView but each pageView.Cotrols is empty. It loses my dynamic add usercontrols.

I hope someone can help me out.

Thanks in advance.

Kind regards Patrick
Patrick
Top achievements
Rank 1
 answered on 29 Mar 2011
1 answer
100 views
Hi Telerik team,

I need to develop a Dynamic View where the user can add filters and new columns to data result set.
To show the data result set i am using a radgrid, and want to use the "drag and drop" feature to develop the "add columns" functionality (the columns are addeds in the grid from another control).
But when the user try to put a new column in the grid, I need that user can locate the new column where he/she want (between other columns).
Could I develop this requirement with the current Telerik ASP.NET AJAX functionality?  or I need develop additional routines to do this.

Thanks for the help.

Marin
Telerik team
 answered on 29 Mar 2011
1 answer
143 views
Hi

I am using the ASP.Net Ajax RadGrid control in a new web application. For this grid I need to apply conditional cell formatting while user should be able to sort the grid. The example I found in RadGrid documentation (http://www.telerik.com/help/aspnet-ajax/grid-appearance-conditional-formatting.html) works using ItemDataBound event hanlder but only when the grid loads firs time but as soon as I click on a column header to sort a column, grid loads with new set of data without calling ItemDataBound even handler and cells lose their formatting.

I hook up the ItemDataBound event handler in Page_Load as below:

protected void Page_Load(object sender, EventArgs e)
{
    if (!IsPostBack)
    {
        SummaryGrid.ItemDataBound +=new GridItemEventHandler(SummaryGrid_ItemDataBound);
        ...
    }
}


Is there another way to keep the conditional formatting while allowing to sort, group, etc.?

I appreciate your help in advance.
Thanks
Ron Farko
Daniel
Telerik team
 answered on 29 Mar 2011
5 answers
119 views
Hello,

one more thing regarding RadEditor in Opera. When switched to fullscreen mode, the editor scrolls whole page instead of editor content (maybe Opera problem? I had similiar issues with fulscreen google maps which were scrollable), however when user clicks on HTML tab the fullscreen mode is lost and editor'ssize is preserved, with it's half somewhere out of the window.

Again this can be easily reproduced at Telerik's Editor demo site and Opera 10.53.

With this behavior the editor is not usable under Opera. Please help.

Thanks,
Robert
Lini
Telerik team
 answered on 29 Mar 2011
1 answer
157 views

Hi, I get the error 'Telerik.Web.UI.RadListBox' is null or not an object when I have a RadListbox present on my .ascx control firstable with visible as false, but when I try to show this control, this error occurs. It is not exclusive for this control on my sharepoint application, I have the same error with others Telerik controls that have the same behavior ( starting are hide, and then I need to show them).

I followed this post, but I'm sure that all the entries and configurations are done on my application config. The version of telerik that I'm using is the 2010.3.1109.35

Thanks.

Kalina
Telerik team
 answered on 29 Mar 2011
1 answer
79 views
I am using a combination of 2 demos under your RadPanel demos.  I am using the Templates and then I am using the Accessing Nested Controls demo within it.  

http://demos.telerik.com/aspnet-ajax/panelbar/examples/functionality/templates/defaultcs.aspx

http://demos.telerik.com/aspnet-ajax/panelbar/examples/applicationscenarios/accessingnestedcontrols/defaultcs.aspx

I cannot set the RadPanel.Items[].Expanded property in code behind or inline for the Template demo.  I am trying to set the inital panel to be expanded.  I realize that the Panel that I am trying to wowk with has a HeaderTemplate and a ContentTemplate, and using a radMenu within the HeaderTemplate, and that this may be part of the problem, according to this issue on the forum.
http://www.telerik.com/community/forums/aspnet-ajax/panelbar/can-t-collapse-or-expand-panel-bar-w-itemtemplate.aspx

I have tried what this article suggests but this breaks everything.

I appreciate your help.
Helen
Telerik team
 answered on 29 Mar 2011
1 answer
219 views
Hi there,

I am starting to use the RadRibbon control and have set this to the top of my masterpage. I want this control to always stay at the top and possibly use some sliding panes. I have the following code:

<table align="center" cellspacing="0" class="style1">
    <tr>
        <td class="style2">
            <telerik:RadRibbonBar ID="MainRibbon" runat="server" Tabs-Capacity="4" Skin="Default" />
        </td>
    </tr>
</table>
<table style="height: 100%; width: 100%;">
    <tr>
        <td style="background-color: Blue;">
        <telerik:RadSplitter id="Splitter1" runat="server" Width="100%" Height="100%">
            <telerik:RadPane id="MainPane" runat="server" Width="100%" Height="100%">
                <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server"/>
            </telerik:RadPane>
        </telerik:RadSplitter>
        </td>
    </tr>
</table

The problem is the pane only seems to use half of the webpage that remains. I plan to impliment a tree view on certain pages So I was thinking that this would be the best way to go about it. Please let me know if I should look at using another control.

thanks!

Jonathan
Niko
Telerik team
 answered on 29 Mar 2011
1 answer
101 views
I think I requested this a long time ago, but I need it again, so I thought I'd re-ask since it's been a few releases :)

I want a view "like" timeline except it's just aggregates all the upcoming events in a list...so there's no empty days in between

Monday Jan 1st 2010
 - Event
 - Event
 - Event

Friday Jan 17th 2010
 - Event

Tuesday Jan 30th 2010
 - Event
 - Event
 - Event
 - Event


...problem with all the views now is that there's a lot of paging though days to find events...so it's kind of more like a schedule\task view...
Peter
Telerik team
 answered on 29 Mar 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?