Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
82 views
I have an aspx page that has some labels above a radgrid.  Is there a way I can export the page content to Excel including the labels and the radgrid vs. just exporting the grid to Excel?

Mike
Top achievements
Rank 1
 answered on 14 Jun 2011
1 answer
59 views
i have created a page with a grid and allowed paging on that grid.

when i click "next page", it goes to page 2, and when i click next again it goes back to page 1 and so on.

Please let me know how to handle this.
Vasil
Telerik team
 answered on 14 Jun 2011
3 answers
77 views

I have an issue where the RadListBox overlaps the buttons in IE6.  It's fine in IE7 and IE8.  Please see the attached screenshots. 

I have the width of the RadListBox control set to "280px", but it just seems to get ignored in IE6.  Does anyone know how to resolve this?

  

 

<telerik:RadListBox ID="RadListBox1" runat="server" Width="280px" Height="300px"
 SelectionMode="Multiple" AllowTransfer="true" TransferToID="RadListBox2" AutoPostBackOnTransfer="true"

 

  AllowReorder="true" OnDropped="RadListBox1_Dropped" OnTransferred="RadListBox1_Transferred"

 

AutoPostBackOnReorder="false" EnableDragAndDrop

="true">

 

 

Dimitar Terziev
Telerik team
 answered on 14 Jun 2011
1 answer
121 views
How can I  change the calendar  button size in RadDateTimePicker  because css not working on this control.
Please help me



Thanks
Jaichand Sahany
Princy
Top achievements
Rank 2
 answered on 14 Jun 2011
1 answer
88 views
Hello,

I have a question regarding data binding a RadGrid that is hosted in a "long" list of GridTableViews and RadGrids.

The scenarios is this:
1. We have hierarchy of 4 levels . All levels are representing by a business object that has a property holding a collection of the next level. (Let's say firstLevel->secondLevel and so on).

Example:
'class FirstLevel
{
type ID;
SecondLevel[] SecondLevels;
}'
2. The last level (forthLevel) has in it's signature 2 collections. (firstSubLevel, secondSubLevel).

Example:
'class ForthLevel
{
type ID;
FristSubLevel[] FirstSubLevels;
SecondSubLevel[] SecondSubLevels;
}'

Because displaying 5 levels as "successive" grids might be hard for a user to follow we decided the two sub-levels  to be displayed in a RadMultiPage control (just as in the RadGrid demo http://demos.telerik.com/aspnet-ajax/grid/examples/hierarchy/nestedviewtemplate/defaultcs.aspx ) . To do this,  after a long list of (DetailTables as GridTableView), we try to set the last one's  NestedViewTemplate.

The problem I am facing is that I don't seem to find a way to bind the two "sub-level" RadGrid controls to the right data. Please keep in mind that all this data is coming as a collection of business objects.

How can I achieve this ?

Thank you,
Stefan
Tsvetoslav
Telerik team
 answered on 14 Jun 2011
1 answer
66 views
every time i press a button, whatever which button in the page.
it always pop out a window for an error, I will attach the message pic to it, please have a look
 
I have register for the raduploadhandler oin the web config
Dimitar Terziev
Telerik team
 answered on 14 Jun 2011
1 answer
115 views
Hello,

I get the error that the Telerik.Web.UI.StyleSheetFolder application setting is required when adding a stylesheet that's not a telerik stylesheet or an embedded one.  My question is can I set this as a property right on the RadStylesheetManager control itself, instead of in application settings?

Thanks.
Simon
Telerik team
 answered on 14 Jun 2011
1 answer
119 views
Is it possible to add and remove a row in a RADGrid using the client-side API?

The row will contain four columns - a drag and drop column, a column with a row number, a column with a text box and a column with a remove button (which needs to remove the row)

I'd like a text link above the grid to add the row.
Daniel
Telerik team
 answered on 14 Jun 2011
1 answer
70 views
I have a RadMenu in Mega Drop Down mode.
A childitem is added, and a UserControl is added to the child.

Code for adding the UserControl dynamically:
e.Item.GroupSettings.ExpandDirection = ExpandDirection.Down
e.Item.GroupSettings.OffsetX = "-476"
 
childItem = New RadMenuItem()
childItem.CssClass="MenuSlide"
e.item.Items.Add(childItem)
 
Dim uc_Products As products = DirectCast(LoadControl("~/includes/products/products.ascx"), products)
childItem.Controls.Add(uc_Products)
In the userControl there is a Repeater which must be Ajaxified so that it can be updated while the menu item is expanded.
I try it like so:

<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" Skin="Default" />
 
<telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server" Width="600px" EnableAJAX="true"
LoadingPanelID="RadAjaxLoadingPanel1" EnablePageHeadUpdate="True"
HorizontalAlign="NotSet">
 
<asp:Button Text="productlines" id="btn_productlines" runat=server />
 
<asp:Repeater id="rpt_Footer" runat="server" OnItemCommand="UpdateProductGroups"
<HeaderTemplate><ul class="ProductFooter"></HeaderTemplate>
<ItemTemplate>
<li style="float:left;">
 
<asp:Literal runat=server id="ltl_rewrite" Text='<%# Container.DataItem("rewrite") %>' />
 
<asp:ImageButton
ImageUrl='<%#FormatThumbnail(Container.DataItem("foto"))%>'
Tooltip='<%#Container.DataItem("description")%>'
id="btn_Type" runat="server" />
</li>
</ItemTemplate>
<FooterTemplate></ul></FooterTemplate>
</asp:Repeater>
<asp:Label runat=server id="aa" Text="aaa" />
</telerik:RadAjaxPanel>
And in the CodeBehind:
Sub UpdateProductGroups(ByVal Sender As Object, ByVal e As RepeaterCommandEventArgs)
aa.Text = "bbb"
End Sub
When I click in the Repeater a full Postback is occuring instead of an Ajax update.

Any suggestions?

Thanks,
Marc
Kate
Telerik team
 answered on 14 Jun 2011
18 answers
381 views
Hi ,
I am using Rad AsyncUpload and to add additionla fields like Description  I am using the javascript :
function addTitle(radUpload, args) {
              
  var curLiEl = args.get_row();<br>
                var firstInput = curLiEl.getElementsByTagName("input")[0];               <br>
                var table = document.createElement("table");           <br>
<br>
                <br>
                //A new row for a Description field                <br>
                row = table.insertRow(-1);<br>
                cell = row.insertCell(-1);<br>
                input = CreateInput("Desc", "text");           <br>
                label = CreateLabel("Description", input.id);<br>
                cell.appendChild(label);<br>
                cell = row.insertCell(-1);<br>
                cell.appendChild(input);<br>
<br>
                //Add a File label in front of the file input<br>
                var fileInputSpan = curLiEl.getElementsByTagName("span")[0];<br>
                var firstNode = curLiEl.childNodes[0];<br>
                label = CreateLabel("File", radUpload.getID());<br>
                curLiEl.insertBefore(label, firstNode);<br>
                curLiEl.insertBefore(table, label);<br>
              }<br>
<br>
            function CreateLabel(text, associatedControlId) {<br>
                var label = document.createElement("label");<br>
                label.innerHTML = text;<br>
                label.setAttribute("for", associatedControlId);<br>
                label.style.fontSize = 12;<br>
                return label;<br>
            }<br>
<br>
            function CreateInput(inputName, type) {<br>
                var input = document.createElement("input");<br>
                input.type = type;<br>
                input.name = inputName;<br>
                input.style.height = "18px";<br>
                input.style.width = "130px";<br>
                input.style.fontSize = "12px";<br>
                input.style.fontFamily = "Calibri";               <br>
                return input;<br>
            }


for OnClientAdded="addTitle" event of RadAsync File Upload.I am able to display them in a row by row.But I need to display them in a same <td> of the AsyncUploadI tried out by changing the javascript but could not found a solution for it.
Please help me out with a suggestion

Thanks In Advance,
h@r!.
Peter Filipov
Telerik team
 answered on 14 Jun 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
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
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?