Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
72 views
Hi, is there a way to change the item "main" (the one in the middle, don't know how to call it) content?

E.g.:
I have soccer teams pictures in the coverflow, but when an image goes to the middle, I want to change its content.

Probably OnClientItemShown event should be used, right? But I want to show some data from DB, so is there a way how to do this on server side so I can code it in C#?

Thank you
Niko
Telerik team
 answered on 29 Mar 2011
9 answers
63 views

 

When my grid opens up in Iexpore 7 or 8 in compatibility mode it looks all squished.  It appears to be ignoring the widths I setup.  Anyone else see this?
Pavlina
Telerik team
 answered on 29 Mar 2011
1 answer
256 views
Hi!  Is there a way to prevent the RadEditor from wrapping lines in the HTML tab? 

When text is pasted into the Design tab of the editor it goes all the way across the width of the editor.  However when clicking on the HTML tab the lines appear to be wrapped, that is only going partially across the width of the editor, even though I do not see any actual <br> tags or line feeds.

Is it perhaps due to the width of the editor?  I notice on another page where the editor is used, the editor is much smaller and doesn't appear to behave this way.

Thanks!

Rumen
Telerik team
 answered on 29 Mar 2011
1 answer
53 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
103 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
77 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
262 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
99 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
76 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
126 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
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?