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

I'm a laymen to teleriks. I have requirement like user needs to enter some data in a row like data1, data2,data3, etc in textbox fields. If he wants one more row of data he should click some 'Add row' button and then enter the text fields. So like this he can enter the as many rows he wish and finally he then need to click the some 'save' button to save data of all the rows entered.

Also when adding the rows he should have an option to 'Copy row' so that the same row will get copied as second row with the same first row data.

So for the above 2 requirements, pls let me know how I can achieve the requirement through the RadGrid. Plz provide me with relevant code snippetts of the RadGrid events to achieve the above.
Shinu
Top achievements
Rank 2
 answered on 29 Mar 2011
1 answer
104 views
Currently , In my Media manager when someone posts the video the video automatically starts by default  that is when the page loads .  The User who is entering the video has to enter at that time weather it starts automatically or not . What I want is somehow by default the video is not started @ page load.. I hope u r getting my problem ..
Rumen
Telerik team
 answered on 29 Mar 2011
3 answers
78 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
281 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
101 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
77 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
130 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
99 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
139 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
59 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
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
Iron
Iron
Sergii
Top achievements
Rank 1
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?