Telerik Forums
UI for ASP.NET AJAX Forum
0 answers
81 views
**** Update ****

Never mind, another sad case of user error. I had not noticed that I was on the DataBound event and not the ItemDataBound event.

Works as expected now.
..............................................................................

I have a PanelBar which is bound to a SQL datasource.

Based on database content I would like to set the ImageUrl for certain top-level nodes.

I am familiar with this process with TreeView, where I can access "e.node.imageurl"

I don't see any "node" options for PanelBar items, and maybe I need to do a CType or similar operation that I have done for toolbar items.

Prefer VB example, thanks.

Tomica
Top achievements
Rank 2
 asked on 21 Mar 2013
0 answers
73 views
I have a RadGrid with EditForm popups.

The EditForm contains a RadTabStrip.

Within the tab strip's main tab, I have a RadCombo box inside a RadAjaxPanel.

What I would like to do is on certain index changes, is load an ASCX into a second tab panel.

On other changes I would like to remove it.

Any demos like that?

I may have found it.  http://demos.telerik.com/aspnet-ajax/ajax/examples/common/loadingusercontrols/defaultcs.aspx
But I'm having problems I'll post elsewhere.  Thanks.
Boris
Top achievements
Rank 1
 asked on 21 Mar 2013
1 answer
132 views
I have a 3-tier RadTreeView and I've managed to use javascript to cascade an "onNodeClick" to the children but it's missing the grandchildren.  Can someone please help?

function onNodeClick(sender, args)

              {

                   var node = args.get_node();

                  if (node.get_value() == 0)

                       {

                        var childNodes = node.get_nodes();

                        for (var i = 0; i < childNodes.get_count(); i++)

                        {

                             var childNode = childNodes.getNode(i);

                             childNode.select();

                        }

                        }

              }

Kevin
Top achievements
Rank 2
 answered on 21 Mar 2013
1 answer
137 views
I'm currently using Radupload control in my asp.net application, and it works. However, I was wondering of it was possible to do the following:
  1. Display just the select button for displaying the file system without the textbox
  2. After picking a file, return the file selected to the server immediately without clicking a  submit button.

Are these possible?

Thanks.
Kevin
Top achievements
Rank 2
 answered on 21 Mar 2013
4 answers
202 views
Hi I have a RadGrid that I'm exporting to pdf but the rows in the pdf are not sorted the same way they are in the grid. Do I need to do something additional to export the sorting settings of the grid?
This is the code I'm using to export the grid:

grid.MasterTableView.ExportToPdf();
Thanks!

Eddy
Top achievements
Rank 1
 answered on 21 Mar 2013
0 answers
92 views
We use classic asp pages for our secure portal sites. 3-4 weeks ago a user indicated that a button (to be able to upload documents) on the page was greyed out and not accessible. The user was using Win7 and IE9. After some initial troubleshooting, we determine that using the compatibility mode in IE9 resolved the issue. Now yesterday 5 more users have reported the issue. The are using Win7 IE9 as well. We have setup test workstation and it is working fine on those workstations. All have upto date MS patches. Everything works fine in Firefox and IE8. The same is true of the users workstations. We use Telerik.Web.Design.dll and the Telerik.Web.UI.dll in this area of the page. Is there any known issue with these and IE9.

FYI-I am not a developer, but merely assisting our support department.
Mathew
Top achievements
Rank 1
 asked on 21 Mar 2013
1 answer
188 views
I am driving my RadMenu from a table in SQL and would like to utilize the image column type to store the icon for my menu items rather than store the images in the project. Once I pull in the binary data and convert it to an Image object type, is there a way to set the Image of a RadMenu Item to that image? Currently, I am using the ImageURL property but this doesn't offer the flexibility that I need. Any help is appreciated.
MasterChiefMasterChef
Top achievements
Rank 2
 answered on 21 Mar 2013
1 answer
301 views
hi,
I load the radupload in a radwindow that is loaded with a ContentTemplate ... now that happens to me after you upload the file, the radwindow closes by itself, the aspx page runs a refresh being completely white and then view the new main page from which I drew the radwindow .. The file upload is successful.
I just wish the radwindow after upload does not shut but I have to close the exit button

How can I do? I use inside radwindow un'updatepanel is correct or not?
 this is my code:
<telerik:RadWindowManager ID="RadWindow_Conferma" runat="server" Modal="True" Skin="Office2010Silver">
                   <Windows>
                       <telerik:RadWindow ID="RadWindowLoadprofile" runat="server"
                           ShowContentDuringLoad="false" Width="452px" Height="280px" Style="z-index: 8000"
                           Title="Caricamento immagine profilo" Behaviors="None" Modal="True" AutoSize="true"
                           Behavior="None" Font-Names="Verdana" Font-Size="Small" IconUrl="/image/iconlogo.png"
                           Skin="Office2010Silver" ReloadOnShow="false" VisibleStatusbar="False"
                           RestrictionZoneID="NavigateUrlZone" EnableViewState="False">
                           <ContentTemplate>
                               <div class="Divloadprofile">
                                   <div id="upload" class="Divloadprofile1">
                                               <table style="border: 0px; margin: 0px; padding: 0px; width: 395px; text-align:center">
                                                   <tr>
                                                       <td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; padding-top: 5px; text-align: center; height:23px">
                                                           <asp:CustomValidator ID="CustomValidator1" runat="server" ClientValidationFunction="validateRadUpload"
                                                           ErrorMessage="File errato" ValidationGroup="carica"></asp:CustomValidator>
                                                       </td>
                                                   </tr>
                                                   <tr>
                                                       <td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; padding-left:60px; vertical-align: top;">
                                                           <telerik:RadUpload ID="RadUpload1" Runat="server" Width="280px" InputSize="35"
                                                               AllowedFileExtensions=".jpg,.jpeg,.png,.gif" OverwriteExistingFiles="True"
                                                               TargetFolder="image/image_utenti" ControlObjectsVisibility="None"
                                                               Height="22px" style="text-align: left" Skin="Sunset"
                                                               MaxFileSize="3000000">
                                                               <Localization Select="Cerca" />
                                                           </telerik:RadUpload>
 
                                                       </td>
                                                   </tr>
                                                   <tr>
                                                       <td style="border-style: none; border-color: inherit; border-width: 0px; margin: 0px; vertical-align: top; height: 50px">
                                                           <div class="Divinfoupload">
                                                               Il file deve avere le seguenti estensioni: jpg, jpeg, png, gif<br /> Il file
                                                               deve avere una grandezza massima di 3 Mb.<br /> Risoluzione ottimale
                                                               consigliata: 128x128 pixel.                           
                                                           </div>
                                                       </td>
                                                   </tr>
                                               </table>           
                                               <div style="width:395px; padding-top: 10px">
                                                   <table style="width: 100%;">
                                                       <tr>
                                                           <td style="text-align:center">
                                                               <asp:ImageButton ID="Imgbtncarica" runat="server" ImageUrl="~/Image/Upload.png"
                                                                   ValidationGroup="carica" />
                                                           </td>
                                                           <td style="text-align:center">
                                                               <asp:ImageButton ID="Imgbtnesci_6" runat="server" ImageUrl="~/Image/esci1.png" />
                                                           </td>
                                                       </tr>
                                                   </table>
                                               </div>
                                           </div>
                                               <div id="conferma" class="Divloadprofile1" style="padding-top:10px;display:none">
                                           <div>
                                               <asp:Image ID="Imgprofile_2" runat="server" ImageUrl="~/Image/avatar.png" Height="250px" Width="250px" CssClass="AnteprimaImgmaxsize"/>
                                           </div>
                                           <div style="width:395px; padding-top: 10px">
                                               <table style="width: 100%;">
                                                   <tr>
                                                       <td align="center">
                                                           <asp:ImageButton ID="Imgbtnesci_7" runat="server" ImageUrl="~/Image/esci1.png" />
                                                       </td>
                                                   </tr>
                                               </table>
                                           </div>
 
                                       </div>
                                   </div>                           
                           </ContentTemplate>                        
                       </telerik:RadWindow>                                   
                   </Windows>
       </telerik:RadWindowManager>


MasterChiefMasterChef
Top achievements
Rank 2
 answered on 21 Mar 2013
1 answer
124 views
I have a Tabstrip set up with MultipageViews displaying the tab contents. Some of my MultipageViews contain links that cause the page to postback. Everything works fine except the selected tab always returns to index 0. How can I set the selected tab on the server-side after a postback casued by a link on the MultipageView?

Thanks.
Nencho
Telerik team
 answered on 21 Mar 2013
2 answers
98 views
Hi

Please forgive me if this has already been answered in a previous post, I have searched but could not find the answer.

My editor has all its icons missing!!  I think it maybe something to do with a missing style sheet.
I have attached a screen shot of my problem.

Hope someone can help.

Many Thanks
Qball
Top achievements
Rank 1
 answered on 21 Mar 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?